Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16987] iTunes 11.2 (114) Shows an error when trying to copy the build app

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2014-05-23T20:41:57.000+0000
Affected Version/sRelease 3.2.3
Fix Version/s2014 Sprint 10, 2014 Sprint 10 Tooling, Release 3.3.0
ComponentsiOS
Labelsbuild, cli, ipa, itunes, qe-3.3.0, qe-closed-3.3.0, qe-testadded, titanium
ReporterReymundo López
AssigneeChris Barber
Created2014-05-15T23:39:35.000+0000
Updated2014-06-09T21:52:02.000+0000

Description

When creating a build using the following options:
ti build -p ios -T device
The app is created but after that iTunes shows the following message: {noformat} The app "XXXXX" could not be added to your iTunes Library because it is not a valid app. {noformat} This just happens after the automatic update of iTunes today.

Attachments

FileDateSize
Screen Shot 2014-05-15 at 6.25.57 PM.png2014-05-15T23:39:35.000+000098128
Screen Shot 2014-05-15 at 6.44.55 PM.png2014-05-15T23:54:34.000+0000106979

Comments

  1. Reymundo López 2014-05-15

    When we delete the app from iTunes, this is the error that shows.
  2. Sebastian Klaus 2014-05-16

    I confirm this issue!
  3. nicolomonili 2014-05-19

    Same problem for me and other users on the Appcelerator Forum (with version 11.2 and 11.2.1 of itunes) - http://developer.appcelerator.com/question/174247/itunes-112-114-problem - http://developer.appcelerator.com/question/174327/itunes-1121-breaks-sync For now you can solve the problem with a downgrade of iTunes to version 11.1.5
  4. Sebastian Klaus 2014-05-19

    But how to downgrade. Apple does not permit a downgrade
  5. nicolomonili 2014-05-19

    downgrade of ITUNES !!!!
  6. Ritu Agrawal 2014-05-19

    Moving this to engineering as I can reproduce this issue.
  7. Chris Barber 2014-05-20

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5709 3_3_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5710 3_2_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5711
  8. Sebastian Klaus 2014-05-20

    Which SDK version do I have to install to get this problem solved?
  9. Chris Barber 2014-05-20

    [~benutzername] The easiest way to get the fix is to download a CI build. You can do this manually from http://builds.appcelerator.com/ -or- you can use the super snazzy Titanium CLI:
       

    stable

    ti sdk install --branch 3_2_X
       

    alpha

    ti sdk install --branch 3_3_X
       

    bleeding edge

    ti sdk install --branch master
  10. Sebastian Klaus 2014-05-21

  11. Chris Barber 2014-05-21

    [~benutzername] You will probably just need to delete the app from your device and from iTunes (under the Apps section), clean your project, and build again.
  12. Sebastian Klaus 2014-05-21

    Chris, I did as you mentioned. But no luck. - Deleted the build - Deleted the version in itunes and on device - executed "titanium sdk select 3.2.4.v20140519174127" Result is same error as in my comment above. Should I give another configuration details of my system? ***UPDATE*** Installed the 3.2.4.v20140519174127 from here: http://builds.appcelerator.com.s3.amazonaws.com/index.html#3_2_X via TiStudio. Now it works. itunes sync completed.
  13. Chris Barber 2014-05-21

    [~benutzername] Hmm, so ti sdk install --branch 3_2_X should have installed 3.2.4.v20140519174127. The error you were getting above is a classic sign that the SDK is corrupt and missing the manifest.json file. Glad to hear you got it working!
  14. Olga Romero 2014-05-21

    Tested and verified the fix with: Appcelerator Studio, build: 3.3.0.201405161313 Titanium SDK, build: 3.3.0.v20140521074112 Node.JS Version: v0.10.13 NPM Version: 1.3.2 acs@1.0.14 alloy@1.4.0-alpha2 npm@1.3.2 titanium@3.3.0-alpha4 titanium-code-processor@1.1.1 iTunes 11.2.1 (1)
  15. Chris Barber 2014-06-09

    [~mcota] Not unless [~ingo] gives the thumbs up.

JSON Source