Unity Cloud Build - Including iOS frameworks/libraries
Hi guys
You guys are probably familiar with Unity's Cloud Build service. I have been using it to build my web and android version (super easy). But I can't ignore the iOS market.
Basically I am getting an error when Cloud Build is trying to build my iOS version. I have done some research and it is caused by missing iOS frameworks. e.g. EventKit & EventKitUI.
Keep in mind I DON'T have access to a Mac and build is done via Unity Cloud Build.
Do you guys have any ideas? or something to push me in the right direction?
Ref :
Unity Cloud Build : https://build.cloud.unity3d.com
Google Mobile Ads for iOS : https://github.com/googleads/googleads-mobile-plugins/tree/master/unity
You guys are probably familiar with Unity's Cloud Build service. I have been using it to build my web and android version (super easy). But I can't ignore the iOS market.
Basically I am getting an error when Cloud Build is trying to build my iOS version. I have done some research and it is caused by missing iOS frameworks. e.g. EventKit & EventKitUI.
Keep in mind I DON'T have access to a Mac and build is done via Unity Cloud Build.
Do you guys have any ideas? or something to push me in the right direction?
Ref :
Unity Cloud Build : https://build.cloud.unity3d.com
Google Mobile Ads for iOS : https://github.com/googleads/googleads-mobile-plugins/tree/master/unity
Comments
Is there some sort of scripting or file-inclusion interface for the second part of the build?
....under the Xcode Tab there is a Xcode Manipulation API link and a bitbucket project. I had a look but with no luck.
...Sometimes I wish iOS builds were as easy as Android builds.
"Is there some sort of scripting or file-inclusion interface for the second part of the build?" No... Unity Cloud Build is linked with my BitBucket account. Once I push the Master branch it will do the configured platform builds (Android, iOS and Web). I had a look through the iOS Cloud Build settings..and I have no options for iOS Frameworks/Libraries.
If you get a hint somewhere please keep me posted. I am still busy strolling the interwebs.
To create the provisioning profile you will need to have a certificate which gets generated from your mac. I've only done this from a mac, so I'm not sure if its even possible on windows.
The Unity cloud build setup will need both the cert and provisioning profile.
I have signed up, and have the mobileprovision and p12 etc.set up in Cloud Build... the only issue is adding xCode libraries :(
If you get something going please let me know...coz yes, the documentation is very shitty and it feels like I lost my Google skills coz I can't find anything in the same direction.
It's actually quite easy. You just need the DLL from the example, plus the post build script that pulls in the frameworks or bundles and config that as necessary for your app. If you need external native scripts you include that in a folder and the script will deal with those also.
I'm not using it to build for iOS because I don't have a mac, however it should work. It provides a properly signed IPA that can be uploaded to itunes connect with the right tool.