Follow

I am having problems with iOS Cloud Build during XCode export

Symptoms

  • I am getting build errors when building my iOS project in Unity Cloud Build appearing in the Xcode project.

Cause

You are building a iOS project on Unity Cloud Build and the project uses a 3rd Party Plugin.

Resolution

Build errors can occur if the post process is not finding the Xcode project and cannot add the appropriate libraries. That path should be passed to OnPostProcessBuild, but your plugin probably does not use this path in their post build process. You need to do this manually with the XCode API.

Some 3rd party plugins, or your own code, require a way to modify the XCode project to add libraries or files, which can be done using post process attributes and the XCode manipulation API.

You can read more about the XCode manipulation API here. You can also see how to add frameworks there.

There are several Forum posts available, which can help to solve different issues related to iOS projects.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.