Steps to reproduce:
1. Create an IOS module using studio.
2. Package it for any of the 3 packaging options.
Actual Result:
1. Packaging fails with error:
[INFO] : Project directory: /Users/lchoudhary/Desktop/workspaces/new_test_workspace/z_ios_mod/iphone
[INFO] : Module ID: com.app.ziosmod
[WARN] : Please update the LICENSE file with your license text before distributing.
[ERROR] : [xcode-dist] xcodebuild: error: The directory /Users/lchoudhary/Desktop/workspaces/new_test_workspace/z_ios_mod does not contain an Xcode project.
2. Also we get a studio error dialog attached for reference.
Expected Result:
1. IOS modules should get packaged successfully.
Ti SDK master PR: https://github.com/appcelerator/titanium_mobile/pull/8419 Ti SDK 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8420
To test, build the module from any directory that is NOT the module directory and specify the module directory using the
\-\-project\-dir
option.PR merged.
Verified as fixed, using the latest SDK build:
6.0.0.v20160922165510
I can no longer reproduce the error. - Created an iOS module from Studio. - Packaged it for all 3 options (Titanium SDK, Project, Specified Location) - Ran the targeted project to device and was able to launch successfully. - Built the module from outside the module directory, and ran it on simulator and was able to launch successfully. (the module was zipped without problem). Tested On: iPhone 6 Plus 10.0.1 Device & Simulator iPhone 5S 9.3.5 Device Mac OSX El Capitan 10.11.6 Ti SDK: 6.0.0.v20160922165510 Appc Studio: 4.8.0.201609191928 Appc NPM: 4.2.8-7 App CLI: 6.0.0-48 Xcode 8.0 Node v4.4.7 *Closing ticket.*