Description
When trying to build an Alloy or Classic app that has a space in the name of the project to iOS8 Simulator/Device the app will build to device the first time the users tries and runs as expected. However when you come to build any time after this, the user obtains the error shown below.
*Notes*
This *only* occurs if the project has a space in the name.
This occurs in both the CLI and in Studio.
[ERROR] : 2014-09-04 12:49:18.829 xcodebuild[60449:1403] error: InputFile /Users/eharris/Documents/Appcelerator_Studio_Workspace/Todo List Classic/build/iphone/Todo List_Prefix.pch 0 1409860066 366 33188... malformed line 9; 'InputFile' should have exactly five arguments
[ERROR] : 2014-09-04 12:49:18.831 xcodebuild[60449:1403] error: InputFile /Users/eharris/Documents/Appcelerator_Studio_Workspace/Todo List Classic/build/iphone/Todo List_Prefix.pch 0 1409860066 366 33188... malformed line 9; 'InputFile' should have exactly five arguments
[ERROR] : 2014-09-04 12:49:18.833 xcodebuild[60449:1403] error: InputFile /Users/eharris/Documents/Appcelerator_Studio_Workspace/Todo List Classic/build/iphone/Todo List_Prefix.pch 0 1409860066 366 33188... malformed line 9; 'InputFile' should have exactly five arguments
[ERROR] : 2014-09-04 12:49:18.834 xcodebuild[60449:1403] error: InputFile /Users/eharris/Documents/Appcelerator_Studio_Workspace/Todo List Classic/build/iphone/Todo List_Prefix.pch 0 1409860066 366 33188... malformed line 9; 'InputFile' should have exactly five arguments
[ERROR] : ** BUILD FAILED **
[ERROR] : The following build commands failed:
[ERROR] : CompileC build/Todo\ List.build/Debug-iphoneos/Todo\ List-universal.build/Objects-normal/armv7/TiUITableViewAction.o Classes/TiUITableViewAction.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
[ERROR] : CompileC build/Todo\ List.build/Debug-iphoneos/Todo\ List-universal.build/Objects-normal/armv7/TiUIiOSToolbarProxy.o Classes/TiUIiOSToolbarProxy.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
[ERROR] : CompileC build/Todo\ List.build/Debug-iphoneos/Todo\ List-universal.build/Objects-normal/armv7/TiFile.o Classes/TiFile.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
[ERROR] : CompileC build/Todo\ List.build/Debug-iphoneos/Todo\ List-universal.build/Objects-normal/armv7/TiUIiOSToolbar.o Classes/TiUIiOSToolbar.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
[ERROR] : (4 failures)
Steps To Reproduce
1. Create an Alloy or Classic app with a space in the name.
2. Build to Device/Simulator.
3. Build to Device/Simulator a second time.
Actual Result
2. The app will build.
3. The app will fail to build and in the console the error above will be shown.
Expected Result
The app should build to Device/Simulator both times.
[~eharris]If you can repo this issue, can you add a copy of the file that says it is malformed?
To all involved, here I believe is the reference to where other projects are getting this error: https://github.com/CocoaPods/CocoaPods/issues/2394
Here's the file referenced above:
You can see that there is nothing errant about line #9. This error seems benign, if we can avoid it.
Dupe of TIMOB-17618
At Titanium Studio build: 3.3.0.201407100905 and Xcode 6.0.1 bug still existing. I had to restore Xcode 5.1.1 to able to compile my project, which name contains a space. Titanium SDK Version: 3.3.0.GA SDK Modules API Version:2 SDK Timestamp: 07/11/14 12:36 SDK Build Number: 787cd39 Titanium CLI CLI Version = 3.3.0 node-appc Version = 0.2.14 Xcode: latest from App Store
[~rezsolt] which version of the CLI and SDK are you using?
Okay. SDK/CLI 3.3.0 will not work with Xcode 6.0.1, so the only way to confirm this is to update to Studio/SDK/CLI 3.4.0 and retry.
Closing ticket as duplicate and links to the related ticket has been provided above.