I'm using a remote mac machine as a build machine, I don't have root permissions on it.
I'm trying to use a provisioning profile by copying my file into the folder: ~/Library/MobileDevice/Provisioning Profiles
with it's UUID as the file name (and .mobileprovision as the extension)
When I run the build and specifying the UUID as the PROVISIONING_PROFILE
parameter I get:
Code Sign error: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID “xxx”, however, no such provisioning profile was found.
I saw a thread in here that solves it by copying to either "/Library/MobileDevice/Provisioning Profiles"
or /Library/Server/Xcode/Data/ProvisioningProfiles
but since I don't have root access I can't do it.
I'm using xcode-5.0.2.
The build command I'm issuing is:
xcodebuild -configuration Distribution SDKROOT=pathTo/iPhoneOS7.0.sdk SYMROOT=somePath DSTROOT=somePath INSTALL_PATH=somePath 'CODE_SIGN_IDENTITY[sdk=iphoneos*]=iPhone Distribution: someName' OTHER_CFLAGS=-DINHOUSE_DEPLOY=1 PROVISIONING_PROFILE=xxx
Is there any known work around for it? How can I get the xcodebuild tool to know about this profile?
Thanks