Steps to reproduce
1. Create a new project: ti create --type app --name foo --id com.appc.foo --platforms all --url http://foo --workspace-dir .
2. cd into the project: cd foo
3. Add a WatchKit 2 app: ti create --type applewatch --name bar --template watchos2
4. exit the project directory: cd /
5. Build the app: ti build -p ios -I 9.0 --project-dir
Expected result
The app will build. with or without --launch-watch-app
Actual result
The build fails with the following:
[ERROR] iOS extension "SGDemoWatchOS2" Xcode project not found: /extensions/SGDemoWatchOS2/SGDemoWatchOS2.xcodeproj
*Note: *Studio needs this fixed in order for it to build the project.
PR: https://github.com/appcelerator/titanium_mobile/pull/7058
Verified fixed, using: MacOS 10.11 (15A263e) Studio 5.0.0.201508271032 Ti SDK 5.0.0.v20150827102632 Appc NPM 4.2.0-1 Appc CLI 5.0.0-24 Ti CLI 4.1.5 Alloy 1.7.5 Arrow 1.2.48 Xcode 7.0 (7A192o) Node v0.10.37 Java 1.7.0_45 preproduction Can successfully build a project containing a watchkit 2 app, using --project-dir, without error