[AC-2415] iOS: The following build commands failed: PhaseScriptExecution Pre-Compile Script-DABB369F12E8CB280026A6EA.sh
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-05-03T21:36:54.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio |
Labels | n/a |
Reporter | Keylo E. |
Assignee | Shak Hossain |
Created | 2013-05-03T03:56:11.000+0000 |
Updated | 2016-03-08T07:41:27.000+0000 |
Description
*Problem description*
Builds on iOS simulator, fails when attempting to build to iOS device.
*Log*
[INFO] : Build type: test
[INFO] : Building for target: device
[INFO] : Building using iOS SDK: 6.1
[INFO] : Building for device family: universal
[INFO] : iOS Development Certificate: My Name (XXXXXXXXXX)
[INFO] : Building for iOS 6.1; using 4.3 as minimum iOS version
[INFO] : Minimum iOS version: 4.3
[INFO] : Using keychain: /Users/myname/Library/Keychains/login.keychain
[INFO] : Debugging disabled
[INFO] : Profiler disabled
[INFO] : Initiating prepare phase
[INFO] : Forcing rebuild: /Users/myname/Documents/Titanium_Studio_Workspace/Appname/build/iphone/build-manifest.json does not exist
[INFO] : Copying custom Info.plist from project directory
[INFO] : Found Titanium module id=ti.cloud version=latest platform=commonjs deploy-type=test
[INFO] : Found Titanium module id=facebook version=latest platform=iphone deploy-type=test
[INFO] : Detected third-party native iOS module: facebook version 3.1.1
[INFO] : Forcing rebuild: native modules hash changed since last build
[INFO] : Was: undefined
[INFO] : Now: 39dffd5c15df4f69b6fe63bc978e3b58
[INFO] : Performing full rebuild
[INFO] : Copying Xcode iOS files
[INFO] : Creating Xcode project directory: /Users/myname/Documents/Titanium_Studio_Workspace/appname/build/iphone/Appname.xcodeproj
[INFO] : Writing Xcode project data file: Titanium.xcodeproj/project.pbxproj
[INFO] : Writing Xcode project configuration: project.xcconfig
[INFO] : Writing Xcode module configuration: module.xcconfig
[INFO] : Forcing rebuild: debugger.plist does not exist
[INFO] : Forcing rebuild: profiler.plist does not exist
[INFO] : Injecting native libraries into Xcode project file
[INFO] : Forcing rebuild: ApplicationDefaults.m has changed since last build
[INFO] : Writing properties to ApplicationDefaults.m
[INFO] : Copying module resources
[INFO] : Copying CommonJS modules
[INFO] : Copying iTunes artwork
[INFO] : Invoking xcodebuild
[ERROR] : ** BUILD FAILED **
[ERROR] : The following build commands failed:
[ERROR] : PhaseScriptExecution Pre-Compile build/Nunchi.build/Debug-iphoneos/Appname-universal.build/Script-DABB369F12E8CB280026A6EA.sh
[ERROR] : (1 failure)
Attachments
File | Date | Size |
---|---|---|
Script-DABB369F12E8CB280026A6EA.sh | 2013-05-03T03:56:12.000+0000 | 241 |
Script-DABB37B812E8CB280026A6EA.sh | 2013-05-03T03:56:12.000+0000 | 209 |
installed today's updates, rebooted. Also combed through code for stray commas and semicolons. Still not building for iOS device. Still working on simulator.
Issue resolved. It was being caused by an array of 1000 strings with an error at the end that was hard to view. If (shift+command+F) formatting would have distributed this to lines it would have helped but the error caused formatting to fail.
Hmm, it would help us out if you could post some code which reproduces the error. It sounds like something which our [Code Processor](http://developer.appcelerator.com/blog/2012/11/introducing-the-titanium-code-processor.html) might have picked up.
Closing as per confirmation of fix from Keylo.