Delphi XE4 and iOS Application Loader complain that "this package is not valid"

I cannot select the correct CFBundleIdentifier value.

...

in KeyChain I have this certificate:

iPhone Distribution: ExampleCompany (DistCertificateID) 

In my developer.apple.com account, I defined the application:

 Name: LongReadableName Prefix: DistCertificateID ID: com.example.* Name: Xcode iOS Wildcard App ID Prefix: DistCertificateID ID: * 

In iTunesConnect I have the name SkuID + BundleID appname

...

Then I tried to enter and expand the following values ​​with various error messages:

  • app name

This package is not valid. The right to receive an application identifier is not properly formatted; it should contain a 10-digit application identifier, and then a point followed by your package identifier: 0000000000.appname

  • DistCertificateID.appname

The Bundle ID DistCertificateID.appname defined in your Xcode project does not match the Bundle ID that you entered for this application in iTunes Connect appname .

  • DistCertificateID.com.example

The package identifier DistCertificateID.com.example defined in your Xcode project does not match the Bundle identifier you entered for this application in iTunes Connect appname .

  • DistCertificateID.com.example. *

Package Identifier DistCertificateID.com.example. * defined in your Xcode Project does not match the Bundle ID that you entered for this application in the iTunes Connect appname .

  • DistCertificateID.com.example.appname

Bundle ID DistCertificateID.com.example.appname defined in your Xcode The project does not match the Bundle ID that you entered for this application in iTunes Connect appname .

  • com.example.appname

The bundle identifier com.example.appname defined in your Xcode project does not match the bundle identifier you entered for this application in iTunes Connect appname .

I think I tried everything I could think of ...

I assume that the problem can be solved with a different iTunesConnect configuration / download, although now I have an idea on how to create one that would solve the problems listed here. But just in case, I created a specific SO for BundleID / iTunesConnect: iOS application Bundle ID and iTunesConnect

New update # 1

I decided to abandon the use of wildcard application identifiers, as I see that this caused other people's problems. So I chose another option in iTunesConnect, whereby it showed me the BundleID as com.example.appname . Then I made sure that 1) my selection for distribution used DistCertificateID.com.example. * 2) to set CFBunldeIdentifier (in Delphi) the same way as shown in iTunesConnect. Then I built and deployed and then sent it to Application Loader. As a result, an error message appeared:

The package identifier com.example.appname defined in your Xcode project does not match the Bundle identifier that you entered for this application in iTunes Connect com.example.appname .

As you can see, the package identifier is now the same, but still it complains. I do not understand why: (

New update # 2

I really made a little typo mistake last night when I tried the above. I think I'm too tired. Working on a solution! (I will make it an answer.)

+1
source share
2 answers

Failing a wildcard application id worked for me. So I chose another option in iTunesConnect, whereby it showed me the BundleID as com.example.appname. Then I made sure that 1) my selection for distribution used DistCertificateID.com.example. * 2) to set CFBunldeIdentifier (in Delphi) the same way as shown in iTunesConnect. Then I built and deployed and then sent it to Application Loader.

0
source

I was struggling with the same problem, I found this link http://embarcadero.newsgroups.archived.at/public.delphi.deployment/201308/1308131098.html

I just did not install CFBundleIdentifier in Debug, although I deployed for Release. Hope this helps you solve your problem.

0
source

Source: https://habr.com/ru/post/943919/


All Articles