I've followed the iphone provisioning assistant to step 3 where I'm supposed to see my installed iphone provisioning profile under provisioning on the Organizer. I currently am unable to see that. I've tried the following guide too.
http://developer.apple.com/iphone/library/documentation/Xcode/Conceptual/iphone_development/128-Managing_Devices_and_Digital_Identities/devices_and_identities.html
Under "Provisioning Profiles" I can see both my originally created & installed profile whilst following the assistant and the generic "Team Provisioning Profile". However under "Included Devices, my iphone's "Installed" status is blank. Does anyone know why does my provisioning profile not show up on under "Provisioning" on my iphone's Summary tab when both guides say that the profile should automatically be there?
After dragging/dropping the provisioning profiles into the Organizer, did you sync your device using iTunes so it will install them onto it?
Check in Settings>General>Profiles if its there.
Also try restarting the iphone provisioning assistant.
Related
I followed the stepped to create a ad hoc carefully:
Added the testers team devices to the devices list in iOs Provisioning profile page
Created a new distribution profile for ad-hoc
In xcode I chose the project and clicked on product->archive.
I sent both the archive (ipa file) and mobile provision to the testers team.
The application failed to install.
I saw an answer of a developer to set in build settings the provisioning file to Code Signing Identities to the distribution profile here
In the list I can see only iOS Team Provisioning Profile that was created by xcode.
This is probably not the distribution profile.
What is missing? How can I set the build settings to the distribution ones?
In the IOS Provisioning Portal, in the Provisioning page, click the 'Download' button by your new distribution profile and it should get added to XCode.
To check you have it, go to XCode Organizer, Devices, then Library / Provisioning Profiles on the left.
You may also use https://testflightapp.com.
This is a free service and works very reliably - you can manage your testers and test ipa's easily.
First I also tried testing my app without such a service - but I ended up using this, since it's also very easy for the testers.
Create Distribution certificate and Provisioning profile.
You should have the Distribution certificate in key-chain.
Download Distribution Provisioning profile and double click on that profile.
Confirm you are having the profile in XCode -> Organizer.
In case the Add-Hoc deployment won't install on a testing device, and you have the device added to the profile, and the app signed correctly ...
Ok, what I did is to add an Entitlements.plist file and set the Can be debugged option to NO and set it on the target as the Code Signing Entitlements, but actually I don't know if this was the fix because I won't try again and again, now that it worked.
Then, actually I didn't archive the app and save the .ipa file from Organizer - Archives, but instead I've sent the .app file from the build/Release-iphoneos as it is, together with the profile downloaded from dev account. It will install in iTunes and it just worked, after couple of hours of frustration.
Following the instructions at MusicalGeometry.com, I've archived and created the .ipa file. However, whenever I try to install it to my iPhone through iTunes, it gets about 3/4ths of the way done before it stops and tells me the app failed to install. How can I go about finding out why it failed to install?
I'm using xCode 4.2
Thanks~
EDIT
I am trying to install an app that I currently have on the market. I do have a valid developer account, and the app is code signed.
The first thing to check is whether the device you are trying to install to is added to a list of development devices in the Provisioning Portal.
Then please check if your device is in a list of devices your provisioning profile supports (Review your Ad Hoc profile in Provisioning Portal).
Here's how you can do it:
Go to Provisioning Portal, navigate to Provisioning -> Distribution
Edit your Ad Hoc profile and make sure your target devices are selected:
Do you have a paid developer account and is the app codesigned?
I accidentally deleted the Team Provisioning Profile:* in the Provisioning Portal, what should I do now? :/
I have a MacBook with Xcode 4.2 installed.
I also, in the course of "getting acquainted" with the iOS Provisioning Portal and Xcode, removed the iOS Team Provisioning Profile:*. I wasn't having any success getting it back, either by removing the device from Xcode Organizer and plugging it back in, or by removing and again creating the Provisioning Profile for my test app. Here's what I did.
With the device connected to the computer, Ctrl-Click the device in Xcode Organizer, and select the option Add Device to Provisioning Profile.
Once this was complete, the iOS Team Provisioning Profile:* appeared in Xcode Organizer, it appeared on my device (Settings > General > Profiles), and it appeared in the iOS Provisioning Profile area on the developer.apple.com site.
Create it again by unlinking and relinking your device to the Xcode Organizer. Or better yet, create another profile manually in the provisioning portal.
Whichever you do, remember to check that the new profile appears on your device (Settings > General > Profiles) and that your apps are signed with it.
In Xcode 4.6, Organizer > Teams > Refresh did it for me. None of the answers above seemed to help. Specifically, refreshing in the Profiles section or Add to Portal in the device section did not work.
This also, finally, managed to add devices to the Team profile that I had entered manually.
Just ran into the same problem. Mine expired and Renew doesn't work because it looks like the day it expires its gone from the provisioning portal. But, good news, just go to the Organizer with the device connected, right click "Provisioning Profiles" and do "Add device to Provisioning Portal" and it will do all the necessary steps to recreate the profile and all your previously provisioned apps are up and running again. All the other devices you have to do "Add" and it will just put the new profile on those devices without having to recreate anything else.
I searched everywhere and tried everything and I still could not get Xcode to generate me a new team provisioning profile. Finally I read something in the Apple documentation that said something like:
"When you add a new device to the portal [through Xcode] Xcode will generate a wild card app ID and an iOS Team provisioning profile, if it does not already exist"
Re-registering my existing devices did not work. I had to find a device that was not already registered. Once I added this new device it did, finally, re-generate the profile. Here were the steps I took to recreate my team provisioning profile (NB: You should probably be the team agent)
In the provisioning portal delete your iOS Team Provisioning Profile, if it already exists.
In the provisioning portal delete your Wildcard App ID, if it already exists.
Open Xcode and go to the Organiser.
Plug in a new device that you have never registered before.
Right click on the device and select "Add Device to Provisioning Portal"
Hope that helps someone waste less time than I did.
None of these answers worked for me. I had deleted my iOS Team Provisioning Profile from my computer and when I went to the Apple Developer Portal, the iOS Team Provisioning Profile was there but invalid and I couldn't edit or download it. Deleting devices and re-adding devices didn't work and I didn't have a new device(!?) to register again with. This is what I had to do:
Go to the Apple Developer Portal and then click on Provisioning Profiles
Find the old iOS Team Provisioning Profile and delete it
Go to Xcode -> Organizer -> Devices -> Provisioning Profiles and double check there is no reference to an iOS Team Provisioning Profile
If you have a device plugged in, check the Provisioning Profiles under that device and double check there is no reference to an iOS Team Provisioning Profile
This is the magic step I was missing. From the Organizer, go to the Editor menu and select 'Refresh From Developer Portal'.
Magically a new iOS Team Provisioning Profile was created in the Apple Developer Portal which I could just download and use again with my test apps to get them on device. I had to delete any reference to old provisioning profiles from my projects, restart Xcode etc. to get it be recognized again but that's standard practice right?
Hope that helps someone. I finally found that information here in the docs under one of the troubleshooting sections:
To create the team provisioning profile using assets already in your account, open the Devices organizer in Xcode and select "Refresh from Developer Portal” from the Editor menu.
As mentioned in one of the answers in Refresh devices in team provisioning profile managed by Xcode 7? , you can just delete and re-add the Apple ID in the Preferences->Accounts panel, which should regenerate the xcode-managed team provisioning profiles in the Developer Center. (Other answers here and elsewhere suggest to right-click provisioning profiles, which doesn't work for me, or apply to older versions of XCode for which the answers no longer apply.)
In September 2015, I fixed this by launching Xcode 6 and creating a new project. I followed this guidance from Apple's troubleshooting documentation, and it fixed my problem:
If a warning message and Fix Issue button appear below the Team pop-up
menu in the General pane or in a section of the Capabilities pane in
the project editor, read the message and click the Fix Issue button.
I now have a wildcard team provisioning profile back in the developer portal.
I am university student, and i received from school an invitation to apple developer which i created an account and joined the group. I downloaded and installed the "WWDR intermediate certificate" and installed it, also noticed that they added my device in the provisioning profile.
From here I am lost, were I am not sure what is the next steps I should do
Login to the Member Center
Go to the provisioning portal
Create a developer certificate (different from a distribution cert, which you'll need for AppStore release)
Create an App ID (and add a device, if you're doing an ad hoc app)
Create, download, and install a provisioning profile
Plug your iPhone into your Mac
Build your Xcode project for the device (instead of for the simulator)
In the developer portal you should:
Enter your app and give it a name.
Add the app to a provisioning file.
Download the provisioning file
Drag that file into Xcode.
In the organizer-window in Xcode - add the provisioning file to your phone. This might not be necessary since Xcode can automatically download a team provisioning file.
That was from the top of my head. Try search for a guide or tutorial for it, there's plenty of them :)
I'm working with iPhone application and i want put it in my iPhone.
In xcode there is a overview "device - 3.1.3 | debug" but when i "build and go" the project there is an certificate error.
I have download a certificate "mobileprovision" with a correct "Identifier" but i don't know how put it in my xcode project.
First, you need to have a subscription with apple to develop iPhone applications. I assume you do. That said, once you generate a certificate (through key chain) and upload it to the apple developers site, you can generate a provisioning profile and input the identifier of your iPhone: download that provisioning profile and installing it is as easy as dragging it to xcode. If everything matches, you can select device and build and go and it will download to your device
After downloading your provisioning profile on your mac, you first install it. Then check your installed profile in : admin/Library/MobileDevice/Provisioning Profiles folder. If it exists, it automatically attached to your xcode project. Open XCode> Window > Organizer > On left-side of Organizer, select "Provisioning Profiles" tab. There, you can find list of profiles you have.