Titanium Community Questions & Answer Archive

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

iOS 4 upload

I have apps that worked fine uploading to itunes connect a week ago, but today they got rejected, because they were not iOS 4 compatible, so I followed the steps at: http://developer.appcelerator.com/blog/2010/05/titanium-and-iphone-os-4.html

The apps build and run fine, but whenever I distribute I get the error: The binary you uploaded was invalid. The application-identifier entitlement is not formatted correctly; it should contain your 10-character App ID Seed, followed by a dot, followed by your bundle identifier.

I made no other changes but install gm 4 and and installing libticore-7

why would I be getting this error

— asked June 16th 2010 by John Hass
  • ios4
  • iphone
0 Comments

6 Answers

  • I finally figured it out, You have to edit, Entitlements.plist in order to use the wildcard, this must be something new in iOS4
    Projects > Project_name > build > iphone > Resources > Entitlements.plist

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
        <key>application-identifier</key>
        <string>##########.com.nuwex.appname</string>
        <key>get-task-allow</key>
        <false/>
        <key>keychain-access-groups</key>
        <array>
            <string>##########.com.nuwex.appname</string>
        </array>
    </dict>
    </plist>
    

    I was finally able to submit my app using the wild card! the 10 #'s are the app seed from your provisioning profile.

    — answered June 16th 2010 by John Hass
    permalink
    0 Comments
  • Looks to me like you can no longer use a wildcard for distributing your apps. I am able to upload if I use my fullname and generate another Provisioning profile. Can anyone else verify this?

    — answered June 16th 2010 by John Hass
    permalink
    2 Comments
    • Previously, it would never let me use a full name in the provisioning profile, so I was advised by the powers that be at Appcelerator to use the .* and that worked.

      Now, after having the same problems as you and reading your postings I find the same thing, you need a full name, otherwise apps are rejected.

      Crazy. But very thankful that I found your post and got my app update for iOS4 posted :-)

      — commented June 23rd 2010 by Stephen Page
    • Yes, just verified this. No need to edit the Entitlements.plist file (it gets overridden at build time anyway) - just create an App ID with no wildcard and a Distribution provision to match on iPhone Dev Portal, then use that in Ti Distribution screen to build app.

      — commented July 15th 2010 by Richard Baughman
  • Deleted duplicate

    — answered June 28th 2010 by Todd Trann
    permalink
    0 Comments
  • I am also trying to submit to the app store, but am getting the same error "The application-identifier entitlement is not formatted correctly…"

    I tried editing the Entitlements.plist file in the project folder, but it keeps getting regenerated. And the regenerated one appears to be mostly blank. :(

    I viewed the contents of the application in the binary file that I was trying to send to Apple, but it didn't have any file named Entitlements.plist in it, is there supposed to be?

    Sadly, my application compiles just fine and runs in the simulator as well as on my iPod device without any problems.

    — answered June 28th 2010 by Todd Trann
    permalink
    0 Comments
  • I see now, this is a bug in mobilesdk 1.3.2:
    issue 32238

    Darn. I'll need to wait for 1.4.0.

    — answered June 28th 2010 by Todd Trann
    permalink
    0 Comments
  • I never use wildcard for distribution and so far, no issues with iOS4.

    — answered June 29th 2010 by Peter Lum
    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.