Xcode distribution error - Invalid Signature

1.6k views Asked by At

I got this error, when I tired to upload app store connect in Xcode.

"App Store Connect Operation Error ERROR ITMS-90035: "Invalid Signature. A sealed resource is missing or invalid. The file at path [a.app/a] is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html

And I can check in DistributionSummary.plist

<key>certificate</key>
<dict>
    <key>SHA1</key>
    <string></string>
    <key>dateExpires</key>
    <string></string>
    <key>type</key>
    <string>Unknown</string>
</dict>

So I tried those thing (But, it didn't fix this error)

  1. Project -> Targets -> Select your app -> Build Settings -> Code Signing Identity -> Debug -> Double tap "iPhone Distribution" and change it to "iPhone Developer".

  2. Clear derived data & reopen xcode.

  3. Re download certification in developer center.

  4. Update pod using pod update -> Restart Xcode -> Clean Project and Build.

  5. Revoke iOS Certificates (Production) and Create new one.

  6. Uncheck automatic signing and re check it.

  7. Build settings -> Code Signing Identity -> "iOS Development" is not included in the provisioning profile. following this link

extra info - Xcode version : 10.1 - Mac OS version : Mojave 10.14.1 Beta (18B57c)

0

There are 0 answers