iPad deployment error

You must Login before you can answer or comment on any questions.

I'm on the stage of distributing my application to Apple app store. While doing the deployment packaging, I have this error message. Please help.

I'm a newbie who started using Mac since 1 week ago. I have been searching around to find a deployment tutorial but no luck.

Titanium SDK 1.6.2 Mac OSX (version 10.6) Snow Leopard IOS 4.3 Xcode 4.0.2

[ERROR] Code Sign error: The default keychain doesn't have an identity matching the profile 'my app' and identity 'iPhone Distribution: Nigel Lim'
[ERROR] [BEROR]Code Sign error: The default keychain doesn't have an identity matching the profile 'my app' and identity 'iPhone Distribution: Nigel Lim'
[ERROR] 
[ERROR] Error: Traceback (most recent call last):
  File "/Library/Application Support/Titanium/mobilesdk/osx/1.6.2/iphone/builder.py", line 1300, in main
    execute_xcode("iphoneos%s" % iphone_version,args,False)
  File "/Library/Application Support/Titanium/mobilesdk/osx/1.6.2/iphone/builder.py", line 1012, in execute_xcode
    output = run.run(args,False,False,o)
  File "/Library/Application Support/Titanium/mobilesdk/osx/1.6.2/iphone/run.py", line 39, in run
    sys.exit(rc)
SystemExit: 1

4 Answers

Did you create your app id on the Apple Developers Portal? Did you download the distribution provisioning profile for your app? Does you app have the correct app id?

— answered 2 years ago by Abe Facciazzi
answer permalink
3 Comments
  • I'm really confused about the certificate, provisioning, keychain, and appID since I'm not familiar with mac.

    1.) I used myApp as my appID.

    2.) While testing on my iPad (ios device), I got a developer certificate. Double click it to install the certificate in Keychain.

    3.) Requested for a developer provisioning licence. Dragged it to iTune to install the mobileprovision into /library/mobile device/provisioning profiles/ I just discovered that /library/mobile device/provisioning profiles/ has 5 provisioning files. Is it safe to delete them all?

    4.) Tested on device, no problem.

    5.) Get a new distributer certificate. Double click it to install it into keychain.

    6.) Requested for a distributer provisioning licence. Dragged it to iTune to install the mobileprovision.

    7.) Now since there're so many this and that, it's very hard for a mac newbie like me to navigate in Finder, keychain, certificate assistance. I'm sure I'm missing something somewhere.

    Is there a step by step tutorial for packinging ios app?

    I'll try to redo the whole process to package now. Is it safe to remove all the existing provision, certificate, private and public keys from my mac and apple developer site?

    — commented 2 years ago by Mel Maxwell

  • Hi Abe, how do I check from my app id from my app? I could see something the manifest file with "appid: com.something.app_name.

    Now I think I fixed the provisioning problem. Then I run the deploy in Titanium Studio, and I got this error message.

    with Titanium SDK 1.6.2

    [INFO] Performing clean build
    [ERROR] 
    [ERROR] Error: Traceback (most recent call last):
      File "/Library/Application Support/Titanium/mobilesdk/osx/1.6.2/iphone/builder.py", line 1300, in main
        execute_xcode("iphoneos%s" % iphone_version,args,False)
      File "/Library/Application Support/Titanium/mobilesdk/osx/1.6.2/iphone/builder.py", line 1012, in execute_xcode
        output = run.run(args,False,False,o)
      File "/Library/Application Support/Titanium/mobilesdk/osx/1.6.2/iphone/run.py", line 39, in run
        sys.exit(rc)
    SystemExit: 1
    with Titanium SDK 1.7.1
    [DEBUG] Detecting modules in /Library/Application Support/Titanium/modules
    [INFO] Performing clean build
    [ERROR] 
    [ERROR] Error: Traceback (most recent call last):
      File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.1/iphone/builder.py", line 1358, in main
        execute_xcode("iphoneos%s" % iphone_version,args,False)
      File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.1/iphone/builder.py", line 1057, in execute_xcode
        output = run.run(args,False,False,o)
      File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.1/iphone/run.py", line 39, in run
        sys.exit(rc)
    SystemExit: 1

    — commented 2 years ago by Mel Maxwell

  • It finally works after a reboot of the mac.

    But there's still something worried me. After it finished packaging in Titanium studio, Xcode prompt me with a user name and password. I have tried the username/password from my itune(the casual user account) account and ituneconnect?developer account). Both combinations were not accepted.

    I wonder what happened.

    — commented 2 years ago by Mel Maxwell

Make sure you have all the correct settings on apple's member center + create your app with the correct settings and ID on itunesconnect. A good tutorial for iTunesConnect can be found here.

Around page 38 there is told how to prepare it to upload your app.

Also try clearing your build folder before uploading your app.

Hope this helps.

Tjeu

— answered 2 years ago by Tjeu Vdw
answer permalink
5 Comments
  • Btw, In this video you can see how to set your certificates for apple (somewhere in the back. It first explains how to run on a device for android, then apple and then it explains how to distribute).

    It's a little different now because it's an old video, but I used this one and it worked great.

    The big difference is that you have to use iTunesConnect now (which tutorial can be found in my answer above).

    Tjeu

    — commented 2 years ago by Tjeu Vdw

  • Hi Tjeu, thank you for the video link. I used to see some video link with Titanium tutorial,but I couldn't find it anywhere anymore.

    I'm now stuck at the packaging stage.

    I really think Titanium should place their documentation and tutorial in an easy-access place.

    — commented 2 years ago by Mel Maxwell

  • Is your provisioning profile done?

    — commented 2 years ago by Tjeu Vdw

  • Show 2 more comments

you need a .cer file (which will fix your keychain problems) and 1 .mobileprovision for packaging your app. Once you have them both, you can start with the iTunesConnect part.

— answered 2 years ago by Tjeu Vdw
answer permalink
6 Comments
  • After a magical restart the mac, everything works now. Then I discovered than I have a few packaged application files under Archived Application in Xcode.

    Now I have setup ituneconnect with everything. I have another question. Through out the data filling in ituneconnect, I didn't see any option to select iPhone or iPad. I'm planning to have both iPhone and iPad version because they display stuff slightly different.

    — commented 2 years ago by Mel Maxwell

  • If you want the app to be specific to iPad aswell, you can open the tiapp.xml in titanium studio and check the checkbox that says iPad. If you don't do it you will still be able to download the app to your iPad, but you'll use the x2 property, but I think you know what I mean.

    Hope this helps you!

    — commented 2 years ago by Tjeu Vdw

  • Hi Tjeu, you mean it's possible to have both iPhone and iPad version with a single upload?

    My current compiled version is for iPad (stated in my tiapp.xml). I'll have to compile another version for iphone to cater some navigation issues with smaller screen.

    — commented 2 years ago by Mel Maxwell

  • Show 3 more comments

When you log into iTunesConnect, do you have your app registered there? What is the status of your app?

Tjeu

— answered 2 years ago by Tjeu Vdw
answer permalink
8 Comments
  • After the packaging was done, I have registered on ituneconnect. The current status is "waiting for upload" :)

    — commented 2 years ago by Mel Maxwell

  • Then you should be able to upload it to the store with your itunesconnect account. What error does it give?

    — commented 2 years ago by Tjeu Vdw

  • Now I need to change the appicon.png to 72x72 . And appicon@2x.png is missing.

    What's this appicon@2x.png for?

    — commented 2 years ago by Mel Maxwell

  • Show 5 more comments

Your Answer

Think you can help? Login to answer this question!