I'm trying to configure an Azure devops build, to build an xcode project, rendered from a Unity build for iPhone.
I'm able to import a publishing profile and my apple certificate, as part of the build yml, but I cannot get the build and sign step complete. Azure devops doens't provide much detail about the error.
To debug, I'm running the xcodebuild commands, generated by the pipeline, locally.
xcodebuild -sdk iphoneos -configuration Release -scheme Unity-iPhone -target "Unity-iPhone" build CODE_SIGN_STYLE=Manual CODE_SIGN_IDENTITY="Apple Distribution: MyCompany, Inc. (1234512345)" PROVISIONING_PROFILE=my-profile-guid PROVISIONING_PROFILE_SPECIFIER=
If I specify a build profile, as shown above, I receive an error "UnityFramework does not support provisioning profiles." If I leave the PROVISIONING_PROFILE parameter empty, I get an error "Unity-iPhone requires a provisioning profile."
Note: I can't be certain that the error I'm seeing on my local is the same as occurs when using Azure devops. Our developers currently build the application manually, using xcode, using the same provisioning profile and certificate that I am using in the Azure devops build.
Any help or tips appreciated!
↧