Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2019.3.15f1
2019.4
2020.2
Issue ID
1267931
Regression
No
[iOS] [Xcode] Exported UnityAppController.h throws 2 "This block declaration is not a prototype" warnings
Reproduction steps:
1. Download and extract "ContainingProject.zip" into "ContainingProject" folder
2. Create a new project
3. Go File -> Build Settings
4. Switch platform to iOS and click build
5. Set build location to ".../ContainingProject" and name the build folder "UnityAppController-Warnings-iOS" (image attached)
6. Build and navigate to ".../ContainingProject/ContainingProject" in file explorer
7. Open ContainingProject.xcodeproj
8. Set the build target to ContainingProject
9. Deploy the project to an iOS device
Unexpected behaviour: 2 "This block declaration is not a prototype" warnings are thrown in Xcode
Reproducible with: 2019.4.8f1, 2020.1.2f1, 2020.2.0a20
Could not test with 2018.4.26f1 because of build errors in Xcode
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0b1