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)
Related
I'm trying to run my iOS app on TestFlight. the app runs on the simulator but when I connect it to my iPhone and try to run it, the ffollowing error shows up.
Automatic signing failed
Xcode failed to provision this target. Please file a bug report at https://bugreport.apple.com/ and include the Update Signing report from the Report navigator.
Provisioning profile "iOS Team Provisioning Profile: com.uditi.clima" doesn't support the Keychain Sharing capability.
Provisioning profile "iOS Team Provisioning Profile: com.uditi.clima" doesn't include the keychain-access-groups entitlement.
I tried to change my bundle identifier. I am new to iOS Dev and not sure how things work. error screenshot
I switched on keychain sharing but an error appears - Automatic sign in failed
Thanks!
This is due to some certification issues over at Apple, but in the meantime here's a workaround:
Open the project in Xcode. Select the project from the Project Navigator, then select your Target from the column.
Click on the General tab, and under the Signing section, enable "Automatically manage signing".
Next, click on the Capabilities tab and make sure both "Keychain Sharing" and "App Groups" are switched to "On". Ignore any error messages.
An entitlements file will be generated in the Project Navigator. The file is recognizable by its extension .entitlements.
Move the .entitlements file to the root folder by dragging it until it's right underneath the project file.
Now, back in the "Capabilities" tab, turn off "Keychain Sharing" and "App Groups". Ignore any error messages.
Select the project and go to its "Build Settings" tab. Directly beneath the tab, select both "All" and "Combined". Scroll down (or use the search, upper right) to find the "Code Signing Identity" section and change all of the options to iOS Developer.
Next, scroll to (or search for) the "Code Signing Entitlements" section. Double click the text field next to "Code Signing Entitlements" and type in the entire name of the .entitlements file you moved before. For example, HelloWorld.entitlements.
This should solve the provisioning error until Apple addresses these certification issues.
Just change Trust to System default on Developer ID Certification Authority
if u want to use your m1 mac as phone:
Are you maybe running Xcode in Rosetta mode? I had this issue, exactly as mentioned above. To fix this I closed Xcode, turned off Rosetta and it's now working as expected.
https://developer.apple.com/forums/thread/676083
Recently I faced the exact same problem,
Searched a lot with no success on the way others suggested.
I have found a work around by just removing every single capability below signing... like app group, network extension, keychain sharing, etc... I just remove everything below signing and then add them again right away then all error gone with a successful build.
Reboot of my laptop fixed the problem
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.
I have two XCode projects the first is an iOS app the second a MacOS application. Whenever I build one the provisioning profile for the other is lost. So if I build the iOS app, when I then build the MacOS one I get an error because I use Map Kit. When I look at the provisioning profile in the build settings, the correct one is not even in the list in the menu. I have to double click on it in the Finder to reinstall it.
When I then go to build the iOS one the name of the provisioning profile I had selected has been replaced by a hex UUID and again the correct profile is missing from the list, I get a Code Signing Error and I have to reinstall them (development, ad hoc and App Store distribution ones) by double clicking on them in the finder.
As these two apps work in tandem and I alternate between building them on a daily basis this is becoming quite a pain..
I am using XCode 5.1.1, any suggestions gratefully received
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'd like to submit an app to the AppStore (my first app !).
I've already tested the application in my device (so I already have a development provisioning profile) but I'm not able to install a Distribution provisioning profile in Xcode.
I've followed the procedure (I don't know how many times) but when I try to add the provisioning profile through the Organizer I have following problems:
if I double click on the file nothing happens
if I click Add, the file is not selectable (grey)
if I drag and drop from Finder I see the following message: 1 profile
cannot be installed on "iPhone of Corrado". "iPhone of Corrado" is not included in this profile.
What does it means ?
If I go in the Development Center\Certificates, Identifiers & Profiles\Provisioning Profiles\Distribution and edit the profile, there is no devices and there is no way to add any (while in the Development provisioning profile I see all my devices).
What I'm doing wrong ?
Thanks, Corrado
I don't know which Xcode you are using, but supposing you are using Xcode-5, i suggest you use the automatic provisioning profile sync feature.
Just go to Xcode>Preferences and select the Accounts tab.
If you don't have any Apple IDs account signed just click on the '+' button on the bottom left and select 'Add Apple ID...', put the id and password that you use to log on the apple developer.
After that just click on the 'View Details...' button on the bottom right, and your signing identities and provisioning profiles should appear there. If they don't, just click on the bottom left refresh button.
I've just spent the last 12 hours trying to figure out why my OSX App wasn't code signing and the error was related to the provisioning profile containing 0 devices for my Mac. After following the advice above, much head scratching, deleting and re-creating certificates, the following link provides the correct approach for Distribution provisioning
https://developer.apple.com/library/ios/qa/qa1814/_index.html
Moving forward it seems that for Mac App Store Submission on OSX the correct code signing identity to use is Mac Developer and set the Provisioning Profile to Automatic.
You do need to restart Xcode during the Code Signing and Provisioning reset, but it does work.