I update my provision profile with new device id in apple account. I downloaded new provision profile but in new built my new provision profile was not updated. Can any one give some process by which I can update my provision profile.
You need to select the Provisioning profile in both Target as well as Project section. Follow the below mention steps :
You logged in to Apple Developer "Member Center"
You added the UDID of device
You went to provisioning profile section and edited your profile. Selected a check mark next to it
You refereshed your page and downloaded the new profile
Now you selected this new profile in both Project and Target.
It's important to select provisioning profile in both Project and Target.
Hope this helps.
you can open Xcode Organizer->Provisioning profiles in Devices Tab Section and delete all the profile and refresh it, and new profiles will appear, don't forget to see if they have status valid profiles. Make sure you clean the keychain also for old profile requests. you could follow this tutorial to step by step provisioning profile
First delete old profile from your xCode. Now double click on the new profile and that profile will updated in the xCode
All the best !!!
Related
I have a Watch-App and by creating a Distribution provisioning profile a few weeks ago, there was an option to enable HealthKit.
Now it turns out that I do not need HealthKit in the Watch App.
(and therefore did not activate it inside WatchKit Extension's - Target's - Capabilities as the following picture shows):
So far so good.
But now Xcode keeps giving me these 2 Warning messages (obviously since the original provisioning profile includes HealthKit but the settings in Xcode don't)...
Code Signing Warning: Provisioning profile "iOS Team Provisioning Profile:
bundleID.watchkit.extension" for "MyApp WatchKit Extension" contains
entitlements that aren't in the entitlements file:
com.apple.developer.healthkit.access. To use these entitlements, add them to
your entitlements file. Otherwise, remove unused entitlements from your
provisioning profile.
I tried to follow the Apple manual and there is says that under The developer portal (Certificates) one should be able to change the options a provisioning profile consists of.
So I did go there and pressed "Edit" on my provisioning profile of choice:
But here the bad surprise:
Unless the explanation in the manual - THERE ARE NO LONGER ANY SETTINGS-SWITCHES THERE ANYMORE WHERE TO CHANGE THE HealthKit ENABLE/DISABLE STATE !!
What is there to do in order to disable HealtKit ?
Also: Removing the old provisioning profile and trying to create a new one does not work - SINCE THIS PROVISIONING PROFILE CREATION MASK DOES NOT SHOW ANY ENABLE/DISABLE SWITCHES ANYMORE (NOT LIKE A COUPLE OF WEEKS AGO....!!!)
Delete the provisioning profile in the Apple Developer Portal then create a new one
On Apple Developer Account > Identifiers section, select your app bundle ID, then here you can untick HealthKit-related capabilities. Once this is done, you can regenerate the matching Provisioning Profile, and it should no longer have HealthKit.
I am going to send a demo of my project through TestFlight to someone.
To do so, I followed this answer: https://stackoverflow.com/a/11917884/555690, but I did something else as well: I asked for his device UDID and then added the device on my Apple Developer portal. After that, I created my distribution provisioning profile selecting such device...
... now someone else is probably going to test too. And other people as well.
I fear that I might have to add their devices to my Apple Developer portal, re-configure the provisioning profile, and then re-create the archive all over again.
Is this correct, or is it unnecessary to add their devices to my portal (and thus creating a new archive would also be unncessary)?
You dont have to update a build every time you want to add new tester. It is quite easy to add new tester for the existing build, all you have to do is add the device to your provisioning profile in ADC for your app. Then, download the profile to your computer. Now, comes the moment of truth. Go to the build, in testflight, to which you want to add tester. Then, in the left hand side you will see Permission tab,click there and then it will show you the profile and all the tester who currently have access to the build. Now, update the build with the one you downloaded earlier and then you will see the device in your list. Click on checkbox to turn the permission for the device and voila you're done. You could now distribute the same build to the tester.
Yes you have to add them to the profile in the dev portal each time, however testflight has a button, under Permissions, to update the profile for a build.
You can try uploading your new provisioning profile without having to archive and upload a new build.
You could follow any of the following steps whichever suits you but in my experience I would recommend Process 1 as I have found this more reliable.
Process 1:
You have the UDID of the tester.
Using ADP, add the UDID in the devices list and create a new provisioning profile.
Download the profile and update the same in you project.
Build and archive a new ipa.
Upload it to testflight.
Process 2:
Using ADP, create a new provisioning provile.
Download the profile and upload it in your testflight account in permissions tab.
refresh and you would receive an updated list of usrs on your provisoning profile.
Select the users and Voila you are ON.
What i have experienced while trying Process 2 is that sometimes when you try to download the app, it displays " you dont have permission to download" or "unable to download at this time" even though the user is present in the provsioning profile.
A work-around fix for this issue is that whenever you upload a new build or a provisioning profile, always clear the cahce or in exterme cases, logout and log back in.
Hope this helps.
I archived my app and then put it through validation. a window came up titled "Choose an application record and an Identity to sign with" and then a yellow triangle and the message "No identities are available for signing" was displayed and options for Downloading Identities and Import Developer Profile.
I chose Download Identities and received the message after it logged into my IOS Dev Center account "An administrator must request identities before they can be Downloaded".
codesigning error warnig http://imageshack.us/a/img824/4080/validate2.gif
I then chose the "Import Developer Profile" and it and was also unsuccessful.
I checked the code signing and got noticed the error warning no profiles currently match and that and that the application identifier com.jarrahbridges...... profile doesnt match application identifier com.jarrahBridges........
In organiser my provisioning profiles state they are Valid Profiles all my certificates in my key chain (numbering 6) are all valid.
Any direction on this would be most appreciated
I was having the same problem and the problem was my Distribution Certificate was created it on another Mac. Here are more details:
http://spacetech.dk/ios-development-error-no-identities-are-available-for-signing.html
Create AppStore provision profile at the Developer Portal, then update xCode profiles (xCode -> Preferences... -> Accounts).
Create an achieve and press "Validate"
You now are able to validate the archive agains you Distribution Certificate and AppStore Provision profile
Don't know is it a bug or feature, though.
Try following these instructions. Basically there are multiple places where you have to tell Xcode what your bundle identifier is and what the provisioning profile is. I can't believe this stuff is totally overlooked in the iOS Developer Distribution Guide by Apple.
http://anthonytietjen.blogspot.com/2012/08/overcoming-trouble-validating-your.html
Also, go into Build Settings for your project and go to Code Signing. Make sure the Code Signing Identities are all set to the iDevice Distribution App ID you created in iTunes Connect as well as the Provisioning Profile set to the Provisioning Profile you painstakingly created in the iOS Development Center as well (that Ad Hoc provisioning profile file you created and downloaded into Xcode.)
Apple was great at walking you through creating the Distribution Certificate and Ad Hoc Provisioning Profile, but when it comes down to getting things bundled up in Xcode, they left a lot out.
https://developer.apple.com/library/IOs/documentation/IDEs/Conceptual/AppDistributionGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40012582-CH1-SW1
I would say that if you still can't get it working with an Ad Hoc provisioning profile, try generating an App Store Distribution Provisioning Profile within the "Certificates, Identifiers, and Profiles" portion of the Development center , import it into Xcode (by refreshing the provisioning profile list under Xcode->preferences->accounts->details->refresh button) and go through the validation process of your archive again. I'm not sure if it's because Xcode can't validate an Archive with an Ad Hoc profile or what, but it seems to pick up the Distribution Provisioning Profile just fine and allows you to validate. Don't worry, even if you don't validate the archive with the Ad Hoc provisioning profile, you can still create the .ipa for your archive by hitting the Distribute button in Organizer->Archives and choosing the Ad Hoc profile so that you can beta test it.
I have developed an app in xcode. Now I need to install it in iphone device so that I can test it. But I am not getting any idea how to do that as i am very new to this field. I want to install it creating provisioning account in apple developer's site (As by instruction). Please I need a step by step guidance how to do that. I stuck here for a long time. Please refer if you have any link or tutorial. Thanx in advance.
Everything explained in detail
Hope this helps you
http://www.raywenderlich.com/8003/how-to-submit-your-app-to-apple-from-no-account-to-app-store-part-1
http://www.raywenderlich.com/8045/how-to-submit-your-app-to-apple-from-no-account-to-app-store-part-2
Always try to read and use the Apple developer website to do it.
You can start from here
However I'm writing down the steps in detail.
Here are the details that you must do for deploy an IPA to IPhone/IPAD.
Create Developer account and Developer Certificate
Create Key-chain certificate
Adding a Device
Create App IDs
Create Provisioning profiles
Build your App using the created Developer Certificate & Provisioning profiles.
Create Developer account and Developer Certificate
Step1: go to the site http://developer.apple.com/iphone/program/
Step2: Please click on the ‘Enroll Now’ button
Step3: A window will appear with some info and a Continue button.Click Continue button
Step4: Another window will appear that ask "Are you new or a registered Apple developer?" .
Step5: Please choose the proper option (let consider we registered Apple developer earlier).
Step6: There is another window which will ask your role. it may be a Individual or Company.
Step7: Select proper option and Sign-In with your Apple ID.
Create Key-chain certificate
Step8: After Signed up , you have to use the ‘Keychain Access’ tool.
You can search "Keychain" in the Finder search location and double click the displayed file.
This will be used to authenticate your computer.
Step9: Click on the Keychain Access menu-->Certificate Assistance -->Request a certificate from Certificate Authority.
Step10: A new window will appear with the Email address,common name etc.. sections.
Step11:Type in the email address you used for your apple developer certificate in the ‘user email address’ field.
Step12: Use any one name as Common Name.
Step13: Click ‘Saved to disk’ button.
Step14:Another widow will appear with two combo boxes.they are Key size and Algorithm.
Step15:Select 2048 as Key Size and RSA for the Algorithm
Step16:Hit Continue button. This will generate the key and save it to the location you specified.
Step17:Click ‘Done’ in the next window.
Step18: Please visit http://developer.apple.com/iphone/manage/overview/index.action
Step19:You can see a Table of contents as Home,Certificates,Devices, App IDs,Provisioning, Distribution on left side of the window.
Step20:Click on Certificates and click on the ‘Add Certificate’ button.
Step21:Click on the ‘Choose File’ button and locate your certificate file that you saved earlier, and hit the submit button.
Step22:after you hit submit, an email will be sent to the email address you specified in the Certificate Authority (CA) request form from Keychain Access.
Step23: Open you mail account and approve the request.
Step24:The Approval status will display in the developer site Certificates section.
Step25: After your approval, download the certificate using download button and save the certificate to a location
Step26:Double click on the file and you will see a dialog window which will ask a permission to add the certificate to the key chain..
Step27:Click ‘OK’. This will install your iPhone Development Certificate in your Keychain.
Adding a Device
Step28: iPhone developer program allow you to have up to 100 devices per team.
To register a device you have the Uniques Device Identification (UDID) number. This can be found in Xcode.
Step29:Connect your device with machine, and then open XCode-->Window-->Organizer.
Step30:A window will appear with the name of your device in the ‘Devices’ list on the left.
Step31: Click on the device name and copy the identifier string from the Summary tab.
Step32: Now we are going to add a device.Go to the Developer.Apple site which we signed-in earlier.
Step33: Click on ‘Devices’ and click on ‘Add Devices’.
Step34:Provide you device name and Device ID that you have copied identifier string from XCode-->Window-->Organizer .
Step35: In order to obtain provisioning profiles, you will first need to create an App ID. The App ID allows an application to communicate It can also be used to share
keychain information, such as passwords, between a suite of applications.
Step36:To create a new App ID, click on the ‘New App ID’ button in the ‘App ID’ section of the program portal.
Step37:An App ID consists of a 10 character “Bundle Seed ID” prefix generated by Apple and a “Bundle Identifier” suffix that is created by the Team Admin in the Program Portal. An App ID could look like the following example: 9F456G1234.com.apple.YourApplication or 9F456G1234.com.YourApplication.
Step38: Fill all required info and click Submit button.
Create Provisioning profiles
There are three types of provisioning profiles
They are:
Ad Hoc
Development
Distribution.
Note: The Ad Hoc and Distribution provisioning profiles are not available when running the trial version . If you are running the trial version, you should build with the Developer's provisioning profile.
Step37:To create it,Click on the "iPhone Developer Program Portal" in the Developer.Apple site, on the right side of the page, under "iPhone Developer Program".
Step38:Click on "Provisioning" on the left side of the page.
Step39:Click on the "New Profile" button on the top right, while under the development tab.
Step40:Enter a profile name, pick the certificate you would like to verify the profile with, select the App ID for this profile to be associated with and then choose which devices you'd like the profile to support.
Step41: Click submit.
Build your App using the created Developer Certificate & Provisioning profiles.
Here is the details to install the Provisioning profile after added new devices.
Step 1: Go to the Developer.Apple site URL: https://developer.apple.com/devcenter/ios/index.action
Step2: Log - in with your User Name and Password
Step3: Click iOS Dev Center tab .You can see the iOS Developer Program section on right side of the window.
Step4: You can see a tab named as "iOS Provisioning Portal" under the iOS Developer Program section.
Step5: Click the tab.You can see a Table of contents as Home,Certificates,Devices, App IDs,Provisioning, Distribution on left side of the window.You can see the newly added devices under Devices -->Available Devices section.
Step6: Go to Provisioning Tab-->Profiles. You can see the Provisioning profile there Status as Active.
Step7: Click the download button corresponding to the Provisioning profile name and the file will be in your Downloads folder after downloaded successfully.
Step8: Open Your Xcode interface and go to Window-->Organizer.
Step9:Click the Organizer and you can see the Organizer window appeared.
Step10: Double click the downloaded provisioning file. You can see the Profining profile in Organizer window Developer profile tab.
Step11: Also you can see Include number of device in Provisioning Profiles-->Included Devices section.
Step12: Close the Organizer window and go to the Xcode-->Project-->EditActiveTarget "Your Project" tab.
Step13: Switch to the Build section and serach "Code Singing Identity" in the search area.
Step14: You can see the Code signing section in the window and set the Code Signing Identity and Any IOS as your provisioning profile name.
Step15: Close the Window ,go to Build menu and clean all Targets of your project using the Clean All Target Option.
Step16: Build and Run the Application.
Steps to Create an IPA from Xcode 4.3
Step1: set your project bundle Identifier name and deployment target in build settings.
to do this,please click on your project and click target-->summary tab.
Step2: Navigate to the Build tab from the same above window and set your Base SDK ,IOS deployment target,target device family.
Step3: In the scheme drop-down on the top right of the IDE ,select iOs device.
Spep4: In the scheme editor window , select the "Archive" scheme in the left and change the build configuration settings to release.
to do this,please click on X-code menu:Product -->Edit Schema
Step5: Then go to X-code menu:Product and select Archive.
Step6: Application will start building when done the above action and will appear a Organizer window when the build process is get done.
if the Organizer window doesn't appeared, please go to X-code menu: Window -->Organizer
Step7: Organizer window will appear with the Application name and created date &time. please enter the proper comment .
Step8:Click Distribute button.
Step9:A window will appear and choose the "Save for Enterprise or Ad-Hoc Deployment" option.
Step10: Click Next button.
Step11: Choose your Code signing identity and click Next button.
Step12: A save window will appear after teh Next buton clicked. Choose your location and Enter your IPA name .
Step13: Click Ok. You should able to see the IPA in system saved path.
Step14:Install the IPA to your device through iTunes
There is step by step instructions on the apple developer site.
you need to create and app id, create a provisioning profile based of that id, install that onto your device with your developer certificate and make sure the app id matches the one in the app itself.
Then build the app for release, take the app and place it into itunes and sync with your device
My app's provision profile expired 2 days back, i created a new one and now it gives me the error:
Code Signing Entitlements Do Not Match Provisioning Profile
EveryThing is same,jus the profile name is changed..
Anyone here knws wat's the problem??
It can happen that you have not created your provisioning profile for the same application id.
The easiest is to create a provisioning profile for the app id "*" (in case you are not using special things, like push) - and you can use this provisioning profile for every application of yours.
Also - you can delete your provisioning profile from the apple developer website and your xcode organizer, and you click on the refresh button in organizer then xcode will talk to the apple dev website and download a new one for you.
Hope this helps, Moszi