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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0b1