Search Issue Tracker

Fixed in 2020.2

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

iOS

-

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

  1. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed in 2020.2.0b1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.