ionic-team / legacy-ionic-cloud

JavaScript Client for legacy Ionic Cloud services. See Ionic Pro for our new take on the ionic development lifecycle
Apache License 2.0
65 stars 26 forks source link

Ionic Packaging services fails to sign ios apps #56

Open kroonwijk opened 8 years ago

kroonwijk commented 8 years ago

More recently, we get errors during the last code signing step of the Packaging process.

It is either:

Signing Identity: "" Provisioning Profile: "" ()

/usr/bin/codesign --force --sign <thumbnail shown> --entitlements /Users/package/workspace/<appid>/cordova/platforms/ios/build/<app name>.build/Release-iphoneos/<app name>.build/<app name>.app.xcent --timestamp=none /Users/package/workspace/<appid>/cordova/platforms/ios/build/device/<app name>.app
: no identity found Command /usr/bin/codesign failed with exit code 1 *\* BUILD FAILED ** Or: === BUILD TARGET OF PROJECT WITH CONFIGURATION Release === Check dependencies Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) were found. *\* BUILD FAILED ** In between, the security profiles have not changed, but seem to be unavailable or corrupted somehow for the signing process. Resetting the Security Profiles with same certificates and provisioning profiles as before solves the problem, but of course we cannot start to do this every day or on every build.
joostvunderink commented 8 years ago

I'm having the same issue. Additionally, ionic package info crashes on builds that have failed in this manner.

Failed build of this type:

czapka:/tmp/ionic-app-deploy-70001/crm-app$ ionic package info 42
An uncaught exception occurred and has been reported to Ionic

Unexpected end of input (CLI v1.7.4)

Your system information:

Cordova CLI: 6.3.1
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Version: 1.2.4-nightly-1917
Ionic CLI Version: 1.7.4
Ionic App Lib Version: 0.6.0
ios-deploy version: 1.9.0
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v4.5.0
Xcode version: Xcode 8.0 Build version 8A218a

Build that failed for a different reason:

czapka:/tmp/ionic-app-deploy-70001/crm-app$ ionic package info 1

  id       │ 1
  status   │ FAILED

Successful build for the same app:


  id        │ 41
  status    │ SUCCESS

I can send the app id in private if it helps.