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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0b1