Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

iPhone packaging problem

Hie.

I'm trying to distribute my app and I keep encountering the same issues and can't resolve it.

I've followed the instructions on the iphone developers site and did all the process including d/l and u/l the certificates and getting the same error -
Code sign error: Provisioning profile '<null>' can't be found

I've run this this command that I've found in the forums:
/Library/Application Support/Titanium/mobilesdk/osx/1.1.2/iphone/prereq.py "foo"

and got the following output -
{"wwdr":true,"iphone_dist_name":["Shahar Zrihen","Shahar Zrihen1
0tUIL"],"sdks":["3.1","3.1.2","3.1.3"],"iphone_dev_name":["Shahar Zrihen (HRF58DA9T2)"],"iphone_dist_message":null,"wwdr_message":null,"itunes_message":null,"itunes":true,"iphone_dev_message":null,"iphone_dev":true,"iphone_dist":true,"ipad":false,"itunes_version":"9.0.2"}

Thanks in advance,
Shahar Zrihen

— asked March 31st 2010 by Shahar Zrihen
0 Comments

7 Answers

  • I think you didn't attach a distribution provisioning profile to your app in TD.

    — answered March 31st 2010 by Taher Mashhour
    permalink
    0 Comments
  • How do I do that?
    I've also tried to switch the profiles in the "run on device" tab to the dist. provision but no luck there as well.

    — answered March 31st 2010 by Shahar Zrihen
    permalink
    0 Comments
  • Go to the Apple Developer Member Center and look under Provisioning.

    You need to have a CSR first (Certificate Request)
    All instructions and steps are provided inside Developer Center.

    — answered March 31st 2010 by Peter Lum
    permalink
    0 Comments
  • Thanks for the quick reply.

    In the apple dev center I can see that I have the dist. certificate.
    ??I followed everything so if you can direct me in to the right place it will be much appreciated.

    shahar

    — answered March 31st 2010 by Shahar Zrihen
    permalink
    0 Comments
  • Got it to package and uploaded it into the appstore.
    I've changed the app id to the exact same thing that I have on the provision.

    Now I'm getting a new error -
    The binary you uploaded was invalid. The bundle identifier contains disallowed characters. (See the section of the iPhone Application Programming Guide entitled The Application Bundle.)

    Any help?

    — answered March 31st 2010 by Shahar Zrihen
    permalink
    0 Comments
  • Got it to package and uploaded it into the appstore.
    I've changed the app id to the exact same thing that I have on the provision.

    Now I'm getting a new error -
    The binary you uploaded was invalid. The bundle identifier contains disallowed characters. (See the section of the iPhone Application Programming Guide entitled The Application Bundle.)

    Any help?

    — answered March 31st 2010 by Shahar Zrihen
    permalink
    0 Comments
  • Got it to work!!!

    For all those who would be as problematic as me, here is the process and the mistakes that i've done:

    1. go through the apple advisor and create your dev. provision.
    2. After you complete this process you should be able to develop and install on device. Please notice that you use the same app ID as apple issued you.
    3. Once you want to dist., go through the apple process again and create your dist. provision.
    4. Once this is done, make sure that you used the same app ID as apple issued. In case your app ID is XXXX.* - you have to change the asterix into the name of the app otherwise you will get a reject for disallowed characters.
    5. submit and hope for the best :-)

    hope this helps someone,
    shahar

    — answered March 31st 2010 by Shahar Zrihen
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.