Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS In App Purchase capabilities says: "An App ID with Identifier 'com.example.App' is not available"

I have created an iOS App ID in iOS Dev Center under Certificates, Identities, and Profiles and enabled it for In-App-Purchases. Let's say its name is App and the id is com.example.app.

If I view the corresponding app's In-App Purchase capabilities in Xcode 5.0.2 the tool indicates an error and offers to "Add the In App Purchase entitlement to Your App ID" in the form of a "Fix Issue" button. If I press the button I receive this error message:

An App ID with Identifier 'com.example.App' is not available. Please enter a different string.

How can I overcome this problem? The identifier com.example.App seems to be derived from the targets bundle identifier, whose suffix seems in turn derived from the project name. Those should not change.

And why does Xcode not pick up the existing App ID that I've already created in iOS Dev center. It spells app in lower case, but I understand that shouldn't matter, and in any case it does not seem to be possible to replace it with an upper-case version because this would require deletion of an app id first, which seems impossible.

So how can I fix the issue in Xcode (e.g. by directly editing capabilities) and what is the recommended workflow between Xcode and iOS Dev Center for adding capabilities in the first place?

like image 432
Drux Avatar asked Nov 25 '13 11:11

Drux


People also ask

What's the difference between an app ID and a bundle ID and what is each used for?

It's possible to use one App ID for several applications. That's where explicit and wildcard App IDs come into play. The bundle ID search string of an App ID can match a single application or, by including a wildcard, it can match multiple applications of the same development team.

How do I find my iOS app identifier?

iOS. An iOS application's store ID number can be found in the iTunes store URL as the string of numbers directly after id . For Example, in https://itunes.apple.com/us/app/urbanspoon/id284708449 the ID is: 284708449 .

What is app ID example?

Every Android app has a unique application ID that looks like a Java or Kotlin package name, such as com. example. myapp. This ID uniquely identifies your app on the device and in the Google Play Store.

What is app identifier in iOS?

June 03, 2022 01:56. An "App ID" is a unique identifier that iOS uses to allow your application to connect to the Apple Push Notification service, share keychain data between applications, and to communicate with external hardware accessories you wish to pair to your iOS application.


1 Answers

Just specify proper identifier in plist with out appending project name on that,

and make sure you are logged in from correct account.

like image 196
Dinesh Kaushik Avatar answered Oct 03 '22 23:10

Dinesh Kaushik