Note that there are some explanatory texts on larger screens.

plurals
  1. POFailed to generate release build of cordova ios app
    primarykey
    data
    text
    <p>I am using phonegap CLI 3.1 and XCode5. I am trying to generate the build for release mode through Phonegap CLI and Xcrun. I don't want to use Phonegap Build to upload the mobileprovision or whatever the process of them. I want to do it by xcrun to assign the mobileprovison to release build. </p> <p><strong>1) cordova build ios --release</strong> </p> <p>Compiling app on platform "ios" via command "/Applications/MAMP/htdocs/MyTest/MyTestApp/platforms/ios/cordova/build" --release Platform "ios" compiled successfully.</p> <p><strong>2) sudo xcrun -sdk iphoneos PackageApplication -v "ios/build/emulator/MyTestApp.app" -o "/Users/mymac/Desktop/Testnew/MyTestApp.ipa" --sign "iPhone Distribution: NAME (TEAM_ID)" --embed "MyTestApp_Dis.mobileprovision"</strong></p> <p>Packaging application: 'ios/build/emulator/MyTestApp.app' Arguments: embed=MyTestApp_Dis.mobileprovision verbose=1 output=/Users/mymac/Desktop/Testnew/MyTestApp.ipa sign=iPhone Distribution: NAME (TEAM_ID)<br> Environment variables:<br> HOME = /Users/mymac<br> SUDO_GID = 20<br> SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk<br> VERSIONER_PERL_PREFER_32_BIT = no<br> MAIL = /var/mail/root<br> SSH_AUTH_SOCK = /tmp/launch-zsBMC8/Listeners<br> LANG = en_US.UTF-8<br> USER = root<br> LOGNAME = root<br> __CF_USER_TEXT_ENCODING = 0x0:0:0<br> USERNAME = root<br> PATH = /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin<br> SUDO_USER = mymac<br> SHELL = /bin/bash<br> TERM = xterm-256color<br> SUDO_COMMAND = /usr/bin/xcrun -sdk iphoneos PackageApplication -v ios/build/emulator/MyTestApp.app -o /Users/mymac/Desktop/Testnew/MyTestApp.ipa --sign iPhone Distribution: NAME (TEAM_ID) --embed MyTestApp_Dis.mobileprovision<br> SUDO_UID = 501<br> VERSIONER_PERL_VERSION = 5.12 </p> <p>Output directory: '/Users/mymac/Desktop/Testnew/MyTestApp.ipa'<br> Temporary Directory: '/tmp/W81FhZ9VAH' (will NOT be deleted on exit when verbose set)<br> + /bin/cp -Rp ios/build/emulator/MyTestApp.app /tmp/W81FhZ9VAH/Payload<br> Program /bin/cp returned 0 : [] </p> <h3>Checking original app</h3> <ul> <li>/usr/bin/codesign --verify -vvvv ios/build/emulator/MyTestApp.app<br> Program /usr/bin/codesign returned 1 : [ios/build/emulator/MyTestApp.app: code object is not signed at all<br> In architecture: i386<br> ] Codesign check fails : ios/build/emulator/MyTestApp.app: code object is not signed at all In architecture: i386 </li> </ul> <p>Done checking the original app</p> <h3>Embedding 'MyTestApp_Dis.mobileprovision'</h3> <ul> <li>/bin/rm -rf /tmp/W81FhZ9VAH/Payload/MyTestApp.app/embedded.mobileprovision Program /bin/rm returned 0 : []</li> <li>/bin/cp -rp MyTestApp_Dis.mobileprovision /tmp/W81FhZ9VAH/Payload/MyTestApp.app/embedded.mobileprovision Program /bin/cp returned 0 : []</li> <li>/usr/bin/codesign -d --entitlements /tmp/W81FhZ9VAH/entitlements_rawixGWnKhi /tmp/W81FhZ9VAH/Payload/MyTestApp.app Program /usr/bin/codesign returned 1 : [/tmp/W81FhZ9VAH/Payload/MyTestApp.app: code object is not signed at all ]<br> <strong>error: Failed to read entitlements from '/tmp/W81FhZ9VAH/Payload/MyTestApp.app'</strong></li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload