Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25272] iOS: Cannot install apps to iTunes 12.7

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionNot Our Bug
Resolution Date2017-09-13T14:25:04.000+0000
Affected Version/sRelease 6.2.0
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterJason Kneen
AssigneeHans Knöchel
Created2017-09-13T12:22:08.000+0000
Updated2018-08-06T17:52:04.000+0000

Description

Attempting to build a developer build with iTunes 12.7 installed nothing happens after: [INFO] Installing application into iTunes [INFO] Initiating iTunes sync

Comments

  1. Hans Knöchel 2017-09-13

    This ticket does not have enough info to investigate the issue. Please add at least: * Full trace log * Used SDK version (does it work with 6.1.2?) * Does it work with native Xcode? * Does it only happen with iOS 11 builds or iOS builds in general? As the "Apps" section got removed, it might be the case that Apple removed the possibility to add them to iTunes directly. Will investigate for 6.3.0 for now.
  2. Hans Knöchel 2017-09-13

    Looking at a few sources today, it seems like Apple killed the iOS-App Store from iTunes completely, including the "Apps" tap and the integration of any app-related tasks (like listing apps from Xcode / Titanium in it): - https://www.macrumors.com/2017/09/12/apple-itunes-12-7-no-app-store/ - https://techcrunch.com/2017/09/12/apple-streamlines-itunes-12-7-by-removing-the-app-store/ - https://www.theverge.com/2017/9/12/16298988/apple-itunes-desktop-update-removes-app-store Device-builds should still be possible directly to the device or using the resulting ".app" file that can be installed to the device using the iPhone Configuration Utility. This is how it's done in Xcode and the same should apply for Titanium. Resolving as Not Our Bug for now.
  3. Abidhusain Chidi 2017-09-22

    Hello, I am facing same issues in it. But I found the way to make it possible not with iTunes. Steps to follow Step 1: Run application with iTunes Sync. Step 2: After build completion Create a Directory in your Mac with name as "*Payload*" (Any where in mac). Step 3: Now navigation to"Debug-iphoneos" directory of your project. In my case "/Users/[username]/Documents/Appcelerator_Studio_Workspace/[projectname]/build/iphone/build/Products/Debug-iphoneos". Step 4: Now copy .*app* file and paste it in to the "*Payload*" directory which you created. Step 5: Now right click on "*Payload*" directory and select "Compress Payload". Step 6: Rename the *Payload.zip* which you compressed with your ProjectName.ipa (Please change file extension to ipa instead of .zip. Also you can set file name as you want). Step 7: After competing all above step you have .ipa file which can be used to transfer. That's it.
  4. Hans Knöchel 2017-09-22

    That's correct! Here is a shell-script to do the same (save it as build-ios-ipa.sh and call it with sh build-ios-ipa-sh <AppName>:
       #!/bin/bash
       appc run -p ios -T device
       cd build/iphone/build/Products/Debug-iphoneos
       mkdir Payload
       mv KitchenSink.app "Payload/$1.app"
       zip -r "$1.ipa" Payload/
       rm -rf Payload/
       open .
       
    Please also follow TIMOB-25321 as we're planning to replace the "iTunes Sync" option with something like "Export .ipa".
  5. Abidhusain Chidi 2017-09-22

    Great, thanks.
  6. Raymond Verbruggen 2018-02-19

    This works great, thanks! Modified the script a little bit so it works with other apps than kitchensink :)
       #!/bin/bash
       appc run -p ios -T device
       cd build/iphone/build/Products/Debug-iphoneos
       mkdir Payload
       mv "$1.app" "Payload/$1.app"
       echo "creating .ipa file"
       zip -r -q "$1.ipa" Payload/
       rm -rf Payload/
       open .
       
       
  7. Eric Merriman 2018-08-06

    Closing as "not our bug". If you disagree, please reopen.

JSON Source