iOS Build Environment Help Center

Invalid Signature Distribution Provisioning Profile

append delete raf.csoares

Hello PMBaty i still getting problem to generate a valid .ipa after re-generated my provisioning profile in apple website.

When re-signing with upload tool i got the message below.

+ Extracting iOS package...
+ Embedding provisioning profile...
Invalid number. Numerical constants are decimal (17),
hexadecimal (0x11) or octal (021).
+ Setting build version number to 5146.21.37...
+ Re-signing as iPhone Distribution: Robbyson Systems Desenv de Sistemas SA (5HLX545795)...
+ Rebuilding iOS package...

And apple reject build with message below.

ITMS-90034: Missing or invalid signature - The bundle 'xxxxxxxxxxxx' at bundle path 'Payload/XXXXXX.app' is not signed using an Apple submission certificate.

Could you please help me with my issue?

Best Regards
Rafael

Reply RSS

Replies

append delete #1. raf.csoares

i forget to include information about version:

Windows version: 11
• Builder version 3.51.2
• iOS SDK 15.0

append delete #2. Pierre-Marie Baty

This message means you used a *development* profile and not a *distribution* one. Apps sent to the App Store and TestFlight *must* be signed with a distribution profile, that includes a distribution certificate.

Pay attention to the type of certificate that you use to sign your app, and the type of profile you choose. There are different sorts.

append delete #3. raf.csoares

Hello Pierre, i resigned with distribution profile and distribution certificate.

I think Apple changed how certificates work this year, as everytime that i resign the application with my new generated provisioning profile + distribution certificate apple rejects the application.

I only able to submit to applestore with this Certificate + Provisioning Profile using XCode.

Old certificates srems to keep working.

could you please take a look on it?

append delete #4. raf.csoares

PS: https://developer.apple.com/forums/thread/662300?page=3

maybe something relates to new G4 intermediate certificate required this year for new generated production certificates?

thanks in advance

append delete #5. Pierre-Marie Baty

I read too fast and I missed the "Invalid number" error line. My apologies!

Could you please send me the provisioning profile you use to my email address ? pm at this domain dot com. I gotta have a closer look at this issue.

append delete #6. raf.csoares

Submitted an email with more informations.

Thanks in advance Pierre

append delete #7. Pierre-Marie Baty

The problem was solved after a bit of research. I'm putting this info here for the other readers.

In a nutshell : when generating certificates using the iOS Provisioning Portal website, make sure to select the new *Apple Development* and *Apple Distribution* certificate types. Those certificates are valid for iOS and macOS code signing altogether.

Do *not* select the legacy *iPhone Development* and *iPhone Distribution* certificates : these certificates are for legacy devices and are no longer accepted on the App Store/TestFlight.

Happy building

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Moderators: Pierre-Marie Baty