Project: titanium
Issue TIMOB-23146: iOS/WatchOS: Installing to Simulators hangs since Xcode 7.3
[~cng] [~htbryant] and myself can't get the [Titanium 5.2.0 Sample|https://github.com/appcelerator-developer-relations/appc-sample-ti520] to install the WatchOS2 app to the Simulator anymore. This was also reported on [TiSlack|https://ti-slack.slack.com/archives/general/p1459847345001026] by Erik Storli and he found that downgrading Xcode to 7.2.1 resolved it. So something changed in 7.3 that breaks ioslib. When you build the [Titanium 5.2.0 Sample|https://github.com/appcelerator-developer-relations/appc-sample-ti520] using {{ti build -p ios --launch-watch-app}} it will hang at _Waiting for Watch App to install_: {code} [INFO] Launching iOS Simulator [TRACE] [ioslib] Found watchOS 2.2 app: com.appcelerator.sample.ti520.watchkitapp [TRACE] [ioslib] Selected iOS Simulator: iPhone 6s Plus [TRACE] [ioslib] UDID = C7ECC4A2-E0F1-4248-B51E-5873696E719E [TRACE] [ioslib] iOS = 9.3 [TRACE] [ioslib] Selected WatchOS Simulator: Apple Watch - 42mm [TRACE] [ioslib] UDID = 7BCFC934-2DDA-4768-A7CA-929DA315E8A4 [TRACE] [ioslib] WatchOS = 2.2 [TRACE] [ioslib] Autoselected Xcode: 7.3 [TRACE] [ioslib] iOS and watchOS simulators already paired [TRACE] [ioslib] Tailing iPhone 6s Plus Simulator system log: /Users/fokkezb/Library/Logs/CoreSimulator/C7ECC4A2-E0F1-4248-B51E-5873696E719E/system.log [TRACE] [ioslib] Running: /Applications/Xcode.app/Contents/Developer/usr/bin/simctl shutdown C7ECC4A2-E0F1-4248-B51E-5873696E719E [TRACE] [ioslib] iPhone 6s Plus Simulator was already shutdown [TRACE] [ioslib] Running: /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator -CurrentDeviceUDID C7ECC4A2-E0F1-4248-B51E-5873696E719E [TRACE] [ioslib] iPhone 6s Plus Simulator started [TRACE] [ioslib] Tailing Apple Watch - 42mm Simulator system log: /Users/fokkezb/Library/Logs/CoreSimulator/7BCFC934-2DDA-4768-A7CA-929DA315E8A4/system.log [TRACE] [ioslib] Running: /Applications/Xcode.app/Contents/Developer/usr/bin/simctl shutdown 7BCFC934-2DDA-4768-A7CA-929DA315E8A4 [TRACE] [ioslib] Apple Watch - 42mm Simulator was already shutdown [TRACE] [ioslib] Running: /Applications/Xcode.app/Contents/Developer/Applications/Simulator (Watch).app/Contents/MacOS/Simulator (Watch) -CurrentDeviceUDID 7BCFC934-2DDA-4768-A7CA-929DA315E8A4 [TRACE] [ioslib] Apple Watch - 42mm Simulator started [TRACE] [ioslib] Running: osascript "/Users/fokkezb/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/ioslib/lib/sim_focus.scpt" "Simulator (Watch)" [TRACE] [ioslib] Apple Watch - 42mm Simulator successfully focused [TRACE] [ioslib] Running: osascript "/Users/fokkezb/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/ioslib/lib/sim_focus.scpt" "Simulator" [TRACE] [ioslib] iPhone 6s Plus Simulator successfully focused [TRACE] [ioslib] Running: /Applications/Xcode.app/Contents/Developer/usr/bin/simctl install C7ECC4A2-E0F1-4248-B51E-5873696E719E /Users/fokkezb/dev/samples/appc-sample-ti520/build/iphone/build/Products/Debug-iphonesimulator/Ti 5.2.0.app [TRACE] [ioslib] App installed [TRACE] [ioslib] Waiting for Watch App to install… {code}
Story points: 5