Description
When packaging an iOS app if the Xcode path contains a space then the exportArchive process will fail. The exportArchive process is used when performing any dist-adhoc build or a dist-appstore build with a
--output-dir
argument
Steps to reproduce
1. Change your Xcode path to contain a space and update the xcode-select path
2. Package for dist-adhoc or dist-appstore with a
--output-dir
argument
Actual
Error like below
[DEBUG] Running: /Applications/Xcode beta.app/Contents/Developer/usr/bin/xcodebuild -exportArchive -archivePath "/Users/awam/Documents/Appcelerator_Studio_Workspace/ticreateapp/build/iphone/ticreateapp.xcarchive" -exportPath "/Users/awam/Documents/Appcelerator_Studio_Workspace/ticreateapp/dist" -exportOptionsPlist "/Users/awam/Documents/Appcelerator_Studio_Workspace/ticreateapp/build/iphone/export_options.plist"
[TRACE] /bin/sh: /Applications/Xcode: No such file or directory
[ERROR] Failed to export archive to ipa
Expected
No error, package shoudl work just fine
FR Passed. Build for iOS device, ad-hoc distribution and appstore distribution successful with and without space in Xcode path. Waiting on Jenkins build
merged to master for 9.3.0 target, 9_2_X backport merged for 9.2.2 target
Verified on: Mac OS: 10.15.4 SDK: 9.3.0.v20201027065511, 9.2.2.v20201026120850 Appc CLI: 8.1.1 JDK: 11.0.4 Node: 10.17.0 Studio: 6.0.0.202005141803 Xcode: 12.0.1