Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2018.4.X, 2019.4.X, 2020.1.X
Votes
0
Found in
2018.4
2020.2
2020.2.0a10
Issue ID
1247033
Regression
No
[iOS] using Xcode recommended settings throws "This function declaration is not a prototype" warnings when deploying the App
Reproduction steps:
1. Create an empty project
2. Switch the platform to iOS
3. Build the project and open it in Xcode
4. Go to warnings tab in Xcode
5. Press on "Update to recommended settings" warning
6. Press "Perform Changes" in the window that appeared
7. Try deploying the project to an iOS device and inspect the warnings tab
Unexpected behaviour: thousands of "This function declaration is not a prototype" warnings are thrown
Reproducible with: 2018.4.22f1, 2020.2.0a13
Tested with Xcode Versions 11.4.1 (11E503a), 11.3.1 (11C504)
Couldn't test with tvOS build because switching to recommended settings removes deployment targets
Notes:
1. The deployed Application seems to work fine
2. The user suggested a workaround: Replacing () with (void) in the function prototypes resolves the warnings
3. A video is attached
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
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
Resolution Note (fix version 2020.2):
We have fixed the -Wstrict-prototypes warning, but there are other warnings in Xcode's "recommended settings" that will still be triggered by IL2CPP generated code so some errors are still expected when using recommended settings in Xcode.
Fixed in: 2020.2.0a17
Resolution Note (fix version 2020.1):
Fixed in 2020.1.5f1.4487
Resolution Note (fix version 2019.4):
Fixed in 2019.4.10f1 (d9ef6fd7d683)
Resolution Note (fix version 2018.4):
Fixed in 2018.4.27f1 (4e283b7d3f88)