On a Mac, using the command line, without access to the Unity editor, and with an XCode project that was built on a Windows machine, how do I create a .ipa that can be uploaded to the app store?
Since this is related to Apple, I assume it's more complicated than just getting the right command line arguments.
**Assumptions**
You may assume the following:
* Certificate and provisioning profile are already installed on the Mac CI machine. (Already worked through the errors from not having that)
* XCode 10
* The profile is of type "App Store". (just verified)
* I am able to compile and deploy a simulator build via the same path (build Xcode project on my Unity machine, compile and package on a hosted Mac).
**Background**
I've been beating my head against this wall for too long, so I'm asking for help.
I currently do all my Unity builds on a Windows machine I manage. Then I try to convert it to a working application on a hosted Mac. Both of these things are happening in CI.
I don't have a Mac. There is a bug in the unity.setup PowerShell package that makes it specifically *not* work on Azure DevOps hosted Macs. Because of those things, I have to do the Unity build on my windows build server and compile the IPA on another machine.
I have been struggling with xcodebuild for a week, now. I cannot seem to get it to build and sign my IPA.
I got as far as a "signed" .ipa file but it was unable to upload it because it was missing an embedded.mobileprovision.
↧