I double-click it, and it doesn't install. I drag it to the provisioning profile folder, and it gets deleted immediately. It's an Apple Developer problem. I've already wiped my Mac clean twice and reinstalled everything, and I'm still having this problem.
OK, let’s break this down into two parts:
- Build time
- Run time
Lemme tackle these in reverse.
There’s no need to explicitly install a provisioning profile on your device for use at runtime. Rather, your build system should embed the provisioning profile within your app and the system will pick it up from there.
That’s certainly how Xcode builds app. If you’re building your app with third-party tooling, it’s possible that they have different advice. In that case I recommend that you escalate this with the vendor for that tooling. DevForums is primarily focused on Apple APIs and tools, and we can’t offer definitive answers about third-party stuff.
Oh, and this is true on all Apple platforms, including the Mac.
When it comes to build time, my general advice is that you use Xcode and enable automatic code signing. That will take care of all of this for you. Specifically, Xcode will automatically manage all the stuff in ~/Library/Developer/Xcode/UserData/Provisioning Profiles.
Note This is the current location for build-time provision profiles. Older versions of Xcode used ~/Library/MobileDevice/Provisioning Profiles.
If you’ve downloaded a profile and you want to make it available for use by Xcode, you can simply double click it in the Finder. Xcode will then install it in that location.
And, again, if you’re using third-party tooling, you should follow the advice from the tool’s vendor, and then escalate any follow-up questions with that vendor.
Finally, if you have any follow-up questions, please post them as replies rather than in the comments; see Quinn’s Top Ten DevForums Tips for this and other titbits. I didn’t reply here earlier because I never saw those comments )-:
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"