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
- PlayerPropertiesChanged event fires before Player Properties are applied
- Opening Media Pop-out in “Before You Start” Tutorial throws “Styles” and “Styles_Dark” messages in the Console window
- Play Mode Scenario selection/highlight is too long and out of its bounds when the Play Mode Scenario window is opened after maximizing
- Duplicated groups and incorrect grouping in UI Builder when using UxmlElementAttribute: libraryPath
- Asset name is not shown in the Undo History window when a sprite is modified
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0b1