简体   繁体   中英

Getting tenthousands of warnings in a Unity Xcode project

I made an app in Unity and when I build for Iphone and open the generated folder in Xcode, I get tenthousands of warnings. The most I see at the top are "This function is not a prototype" on the file UnityRendering.h. Despite of all these warnings, the app builds and plays fine so far on IOS.

I found something on Google where someone said to add the line #include <stdbool.h> to the top of UnityRendering.h and UnityInterface.h. Just tried this and no effect at all.

I found it weird to get this many warnings, is it OK or am I doing something wrong?

You can try to disable warnings for c++ source files. That worked for my project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM