Project: titanium
Issue TIMOB-18843: CLI: Watchkit build flags in not picking up
I cannot get the watchkit PR to work: https://github.com/jonalter/ioslib/commit/5538c3f63eaca61c54566dd1b0efbf36a8ba012a It seems that no matter if I add a --launch-watch-app flag this block of code is never used: https://github.com/appcelerator/ioslib/blob/master/lib/simulator.js#L420-L434 Im using this command: {code} ti build --platform=ios --target=simulator --device-family=iphone --launch-watch-app -C ? {code} Ive manually added a debug statement to get all options in the console in ioslib simulator.js line 419. {code:js} emitter.emit('log-debug', JSON.stringify(options)); {code} which shows the watchkit flags are not there: {code:json} { "appName": "MYAPP", "appPath": "/Titanium/MYAPP/build/iphone/build/Debug-iphonesimulator/MYAPP.app", "focus": true, "logFilename": "838180a4-7cff-48f8-8bdb-294b35e941be.log", "killIfRunning": true } {code} Im not sure if im missing a step, but I cannot get this to work. Side note: It works if I hardcode a flag in the ioslib simulator.js file - thats all good.
Story points: 21