Reputation: 2771
XCode for some reason refuse to download freshly created provisioning profile.
I downloaded it manually from iTunes Connect, but how do I install it now? (Moving to its folder doesn't work).
Any tips?
Upvotes: 4
Views: 26595
Reputation: 22717
This worked for me on macOS, not sure about other platforms: Open an Xcode project for an app that you will use with the provisioning profile. Select the app target and the "Signing and Capabilities" tab. Open the Provisioning Profile pop-up menu, and select the menu item "Import Profile...". Select your downloaded profile file, and then you should be good to go.
Upvotes: 1
Reputation: 2636
I too struggled when Xcode didn't even show me the regenerated profile in the accounts section and i was not able to find anywhere how to manually import. Then after a lot of trials i found the solution.
Manually Download you provisioning Profile from developer.apple.com, then right-click on the provisioning profile file and choose "Open with..." XCode. Profile will automatically be added and will be reflected as downloaded in your screenshot above.
Upvotes: 4