I have been working on iPhone application development when i try to use my already existing provisioning profile that is working well in Xcode 5 will misbehave.
My development provisioning profile replace with production and it will automatically chose Xc:....
type provisioning profile
and also become production release.
Any Idea what is going on?
Go to Apple Developer Page and find the distribution provisioning profile you want to use.
Select it, click Edit, re-name the profile, and click Generate.
Download the provisioning profile to the Desktop and drag it onto the Xcode 6 icon.
Re-start Xcode 6.
Open the organizer window and click Submit on the archive you built. Xcode will automatically pick your explicit profile instead of the generic one.
Download the iPhone Configuration Utility:
http://support.apple.com/kb/DL1465
Close xCode.
Open iPhone Configuration Utility and click on Provisioning Profiles on the left side.
Delete the autogenerated ones and make sure your existing one is downloaded.
Restart xCode.
When you build again, it should use your old one.
Related
I'm trying to get my first app on the app-store and have been following the instruction of my teacher (creating certificate, app-id and provisioning profile.) When I double click my mobile provisioning file, xcode opens but it just doesn't show up.
When I click the provisioning profile-box in build settings it just shows me a blank space to type into (see screenshot)
After trying to uninstall and reinstall xcode, redo the certificate, app ID and mobileprovision-file and trying to load the mobile provisioning file via window-devices(rightclick my mac) add provisioning profile (It doesn't work. The mobileprovision-file is grayed out)
I don't know what to do.
Even my teacher said he had no idea what the problem is or how to fix it.
I'm running xcode ver 7.1.1
Editor -> Show values (the problem was not the keys but simply that I could not see them in xcode)
I have created an iOS application, and wanted to submit it to the App Store.
I saw a tutorial on how to do that, and understood that I need to create a Distribution profile and replace it with the Development profile. So I did that but before sending it to the App Store. I want to check it last with that profile on it (the distribution profile).
Can I run Xcode project when I add a distribution profile?
because when I tried running it on a real device, an error popped up: "the provisioning profile "XXXXX" was not found".
So i went to the Devices tab and tried adding the file of the provisioning profile, and it didn't allow me to.
What should I do?
You can't use distribution profile to run the app on your device directly from your device.
Now Apple provides beta testing of apps using iTunes Connect. So you can opt for that option as an alternative.
Refer Beta Testing Your iOS App for more details
Yes, you can do by applying small tweak.
Open you Xcode project
click on your target.
choose edit scheme from list.
choose Run tab from left.
select info tab from top.
select Build Configuration and choose release from drop-down list.
Now delete your existing app, from device if exist.
And run the app from Xcode.
After completion of compiling for app, it would show some error dialog and will stop execution, ignore it.
Now app is installed on your device with distribution profile.
Re-run the app.
Cheers!
To distribute the app we are using Xcode 6.0.1, where we encountered some issues by using the following process:
Added App-Id and distribution provision profile under developer program.
Chose provision profile under build settings and Archive application.
Chose Export option to do Ad-HocDistribute.
But with Xcode 6.0.1, this workflow was changed a bit. I couls still select the Ad-Hoc distribution option, but I cannot select the provisioning profile which I have created under developer program against my App-ID. There were no listing of provisional profile as we use to do in Xcode 5 version.
The Xcode 6.0.1 has tried to match the provisional profile from the dev-program and it returns message as no matching certificate and it automatically created identity as XC Ad Hoc * profile. Once I chose the Export option the XC Ad Hoc* profile has been created automatically under the distribution provision profile option in dev-program.
Under the provision profile all devices has been selected which I have added and listing total devices under my testflight application. Please assist me how to choose my provision profile which I have already created specifically for my application. Its really consume my whole day.
Xcode wanted to automatically sign with the default "XC com.*" wildcard provisioning profile instead of the explicit profile that already had.
To fix this, I just re-generated the profile on the Apple Developer Portal:
1) Go to developer.apple.com and find the distribution provisioning profile you want to use.
2) Select it, click "Edit", re-name the profile, and click "Generate".
3) Download the provisioning profile to the Desktop and drag it onto the Xcode 6 icon.
4) Re-start Xcode 6.
5) Open the organizer window and click "Submit" on the archive you built. Xcode will automatically pick your explicit profile instead of the generic one.
In Xcode 7 try to select "Use local signing assets" when selecting team. In my case it automatically selected custom Ad-Hoc profile, instead of XC Ad-Hoc*
It's quite tricky but in your app build settings, you don't have the good provisioning and/or the good code signing identity for the archive mode (RELEASE) and maybe be the bad team too. You have to re set all this things and re archive. You know it's good when Xcode show the good certificate.
Hope you will export your application.
Organizer -> Export worked for me as Organizer -> Upload to App Store and Validate were picking Xcode generated provisioning every-time.
Similar topic discussed here.
I have a really annoying issue, I have a xcode Project that I needed to copy and make some Changes to (only some text Changes), so I started of by copying the whole Project and Place it in a Another folder on my mac, I then created an new provisioning profile and a new App ID, selected all the exsisting devices and downloaded the profiles, doubleclicked on them and then compiled the Project. The app can be installed on my ipad, but when I try with Another ipad (that was selected in devices) it give me an error saying this device isn't allowed to install the app... What could be wrong...?
I hate the Member Center for reasons like this. Seriously, the best thing you can do is to delete everything (except for AppID) and start fresh.
UPDATE
For a clean start:
Delete all certificates and provisioning profiles
Re-create your certificates, provisioning profiles
Import them into your project/refresh code signing/refresh team
Build Settings > Code Signing: Set your Code Signing Identity & Provisioning Profile attributes
Select "iOS Devices", your schema, and then Archive
Last note pertinent to your specific issue: Make sure you are creating an Ad Hoc provisioning profile and archiving (& distributing) under that profile. I know how dee-d-dee this sounds, but it happens when you're not paying attention ;)
I've install different provisioning profile in my xcode 5, before for remove it you had a session with all provisioning profile installed on the mac, but now this session disappear, how can I have access to this session now?
The best way to do this in XCode 5 is using an iPhone Configuration Utility. It lets you manually delete duplicates of provisioning profiles with ease and speed.
I keep Xcode closed when I do this just in case.
Edit:
For anyone wondering how to actually 'delete'. There are only two ways: a. menu -> b. Hit the / keyboard button.
You can delete the files directly from ~/Library/MobileDevice/Provisioning Profiles
Open finder, ⌘-Shift-G, and paste in the above path. Restart Xcode afterward.
Check out this related question for other suggestions.
Mirko's answer is correct- however, below I am trying to explain "why-it-is-so" on XCode5.
On XCode5, you are not supposed to/allowed to directly delete a provisioning profile- I think Apple has changed the paradigm a little bit and wanted to streamline the process, while making the provisioning and signing of binaries more secure. The idea on XCode5, is to allow you to login using your dev apple ID and then X-Code will be in sync with all your provisioning profiles. If you want to delete a profile (probably expired or redundant), you go to your dev profile and delete it- since the X-Code has all the details about your apple ID and provisioning profiles (as seen in the screenshot)- it will sync itself with your latest list of profiles- you do not have to worry about deleting those from X-Code anymore (and hence you can not delete these from X-Code anymore).
To delete a duplicate of an edited provisioning profile, you can also go to Xcode -> Preferences -> Accounts, select your account, and hit the refresh button on the bottom left corner under the provisioning profile list.
There are two ways for deleting your old provisioning profiles from Xcode.
1. Xcode Preferences
2. iPhone Configuration Utility Software.
Xcode Preferences -> Go Xcode -> click on left hand side top toolbar option Xcode -> Click Preferences -> Accounts, select your account, and hit the refresh button on the bottom left corner under the provisioning profile list.
By doing this you can delete your provisioning profiles.
iPhone Configuration Utility Software -> Install this software -> Open Software -> Provisioning Profiles -> find list of your all profile -> Press Backspace button, it will ask to delete provisioning profile ->Click on delete provisioning profile. So it will remove it from your all existing Xcode application and even from your PC.