Error when building for iOS on Mac OS

Hi guys. I’m having trouble building my game to iOS on Mac OS, whereas the project built to iOS just fine on Windows 11. I have provided a screenshot of the errors I am getting in the console, and I’m hoping someone can point me in the right direction for a fix. I have tried to dissect the error and attempt to fix, but no luck.

Really do appreciate any help on this one :slight_smile:

Thanks!

First, make a blank project with a single blank scene and prove that it builds successfully.

If it does NOT build, then go fix your Unity installation and check your Xcode installation.

Until you can build a blank project to the target platform, don’t fiddle with anything else.

Once you can build a blank project, now bisect the problem by bringing over parts of your current project and building it one subsystem at a time, perhaps stubbing things out that might trigger compiler errors.

Most often things that prevent building are third-party libraries such as Firebase.

Once you identify the subsystem, go to the documentation for it and make sure you are doing it correctly.

It may also be helpful to work through a tutorial or two for that subsystem.

Thanks for your reply. Building a blank project builds successfully and generates no errors. I’ll do what you recommend. Thank you!

1 Like

Found the problem. Issue now fixed. Thanks for your time Kurt!

1 Like

Sweet! If you get a moment can you post a basic “the problem was X, I fixed it by doing Y” blurb?

(You never know, it might be the holy grail some future reader needs!)