[TIMOB-19326] Cannot install/build to iOS device or simulator
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-08-07T18:20:10.000+0000 |
Affected Version/s | Release 5.0.0 |
Fix Version/s | Release 5.0.0 |
Components | iOS |
Labels | n/a |
Reporter | Wilson Luu |
Assignee | Chris Barber |
Created | 2015-08-07T00:16:05.000+0000 |
Updated | 2015-08-07T19:48:56.000+0000 |
Description
*Details:* Cannot install/build to iOS device or simulator.
*Note:*
* This is a regression from SDK build 4.2.0.v20150729122818 i.e. was working on July 29
* I am able to install to Android device or emulator without any issues
* This occurs with both Appc CLI and Titanium CLI
*Steps to reproduce:*
Create a Titanium project:
Run following command to install to device or simulator:
Create a Titanium project: appc new
or ti create
Run following command to install to device or simulator: appc run -p ios -T <device OR simulator>
OR ti build -p ios -T <device OR simulator>
Finish prompt to get app onto device or simulator
*Actual:* If you install app to device or simulator from Appc CLI, the build will stop midway; see appc_cli_log.txt If you install app to device or simulator from Ti CLI, you get the following error:
[ERROR] Failed to run command "build"
[ERROR] ReferenceError: cli is not defined
at iOSBuilder.createXcodeProject (/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/4.2.0.v20150806155225/iphone/cli/commands/_build.js:2857:13)
at /Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/4.2.0.v20150806155225/node_modules/node-appc/node_modules/async/lib/async.js:607:21
at /Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/4.2.0.v20150806155225/node_modules/node-appc/node_modules/async/lib/async.js:246:17
at iterate (/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/4.2.0.v20150806155225/node_modules/node-appc/node_modules/async/lib/async.js:146:13)
at /Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/4.2.0.v20150806155225/node_modules/node-appc/node_modules/async/lib/async.js:157:25
at /Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/4.2.0.v20150806155225/node_modules/node-appc/node_modules/async/lib/async.js:248:21
at /Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/4.2.0.v20150806155225/node_modules/node-appc/node_modules/async/lib/async.js:612:34
at /Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/4.2.0.v20150806155225/node_modules/node-appc/lib/async.js:64:51
at /Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/4.2.0.v20150806155225/node_modules/node-appc/node_modules/async/lib/async.js:607:21
at /Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/4.2.0.v20150806155225/node_modules/node-appc/node_modules/async/lib/async.js:246:17
---------------------------------------------
at exports.execFile (child_process.js:712:9)
at exports.exec (child_process.js:591:18)
at /usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/environ.js:267:3
at /usr/local/lib/node_modules/titanium/node_modules/node-appc/node_modules/async/lib/async.js:251:17
at /usr/local/lib/node_modules/titanium/node_modules/node-appc/node_modules/async/lib/async.js:154:25
at /usr/local/lib/node_modules/titanium/node_modules/node-appc/node_modules/async/lib/async.js:248:21
at /usr/local/lib/node_modules/titanium/node_modules/node-appc/node_modules/async/lib/async.js:612:34
at /usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/environ.js:234:7
*Expected:* Should be able to install app to iOS device or simulator.
Attachments
File | Date | Size |
---|---|---|
appc_cli_log.txt | 2015-08-07T00:15:11.000+0000 | 29235 |
Fixed a regression in TIMOB-19311 that fixes this.
Reopening ticket. With latest master SDK build 4.2.0.v20150806201222, I get the following error when I try to build for iOS device or simulator:
[~wluu] Ugh. I introduced sqlite to get at the Xcode teams, but the sqlite module ran into the same problem as us with node-ios-device. If you install Node.js 0.12, it'll work. I'll try to build it with 0.10 and get a fix asap.
Fixed by PR https://github.com/appcelerator/titanium_mobile/pull/7013
Closing ticket as fixed. Verified I was able to build and install a Ttianium app to an iOS device and simulator. Tested on: Appc CLI NPM: 4.2.0-1 Appc CLI Core: 4.2.0-18 Arrow: 1.2.13 SDK: 4.2.0.v20150807112024 Node: v0.10.38 OS: Yosemite (10.10.4) Xcode: 6.4, 7 (beta 5) Devices: iphone 6 plus (8.3), iphone 6 plus (9.0 13A4325c), iphone 6 simulator (8.4), iphone 6 simulator (9.0)