Unexpected build error. Error code: 5

Hi,

Can’t build my application in OS x 10.10

corona sdk build is 2014.2393

here is result image

or I uploaded it here

when I remove all the plugins in plugins table in build.settings, it works fine.

when I add plugins it won’t work, just show me “Error code: 5” message

Do not really understand what I am doing wrong?

Thanks in advance

Error code 5 generally means we couldn’t talk to our build servers.  Perhaps something timed out.  Frequently this is due to internet problems.  Plugins require extra connections and are generally the bigger cause of this.  That said, you are using an old build of Corona SDK.  The current public release is 2014.2511.  You should at a minimum upgrade to the latest daily build.  However, Apple has made yet another change and we’ve had to release a beta of our next public release to deal with Apple’s changes. 

See this blog post:  http://coronalabs.com/blog/2015/01/21/update-on-corona-ios-64-bit-support-and-plugins/

to get this beta build.

That said, several plugins had to be removed because the vendors didn’t provide 64 bit versions.  Once you get this beta build you may find that you may have to remove some plugins.

Rob

got beta build

but not success again

it is really sad, any ideas? 

Two questions:  Is there more to the console log (Window in the bottom right)?

Are you running Yosemite inside of VMWare?

Here is console log

Last login: Mon Feb 9 23:03:45 on ttys000 Mac-Admin:~ admin$ /Applications/CoronaSDK/debugger ; exit; DEBUGGER: Corona Remote Debugger DEBUGGER: Go to the Simulator and run the program you wish to debug 2015-02-09 23:18:19.370 Corona Simulator[3052:26794] Copyright (C) 2009-2015 C o r o n a L a b s I n c . 2015-02-09 23:18:19.370 Corona Simulator[3052:26794] Version: 3.0.0 2015-02-09 23:18:19.370 Corona Simulator[3052:26794] Build: 2015.2545 2015-02-09 23:18:23.405 Corona Simulator[3052:26794] Copyright (C) 2009-2015 C o r o n a L a b s I n c . 2015-02-09 23:18:23.406 Corona Simulator[3052:26794] Version: 3.0.0 2015-02-09 23:18:23.406 Corona Simulator[3052:26794] Build: 2015.2545 2015-02-09 23:18:23.419 Corona Simulator[3052:26794] Platform: iPhone / x86\_64 / 10.10.0 / Apple Software Renderer / 2.1 APPLE-11.0.7 / 2015.2545 2015-02-09 23:18:23.521 Corona Simulator[3052:26794] The file sandbox for this project is located at the following folder: (/Users/admin/Library/Application Support/Corona Simulator/trunk-5885808D6033D95932FEDECF67FEDF35) DEBUGGER: Paused at file /Users/admin/Desktop/AmazingLines/trunk/main.lua DEBUGGER: Type 'help' for commands \> run 2015-02-09 23:18:27.574 Corona Simulator[3052:26794] RUN: breakpoints: [] 2015-02-09 23:18:27.627 Corona Simulator[3052:26794] find file . 2015-02-09 23:18:27.627 Corona Simulator[3052:26794] . does not exist /Users/admin/Library/Application Support/Corona Simulator/trunk-5885808D6033D95932FEDECF67FEDF35/tmp/.: Invalid argument 2015-02-09 23:18:27.628 Corona Simulator[3052:26794] find file .. 2015-02-09 23:18:27.628 Corona Simulator[3052:26794] .. does not exist /Users/admin/Library/Application Support/Corona Simulator/trunk-5885808D6033D95932FEDECF67FEDF35/tmp/..: Directory not empty 2015-02-09 23:18:27.636 Corona Simulator[3052:26794] finding simulator language 2015-02-09 23:18:27.636 Corona Simulator[3052:26794] device locale is: ru 2015-02-09 23:18:27.637 Corona Simulator[3052:26794] find locale is: ru 2015-02-09 23:18:27.864 Corona Simulator[3052:26794] Analytics is prepared! 2015-02-09 23:18:27.865 Corona Simulator[3052:26794] WARNING: The 'analytics' provider (flurry) is not available on the simulator 2015-02-09 23:18:27.865 Corona Simulator[3052:26794] lets find ads! 2015-02-09 23:18:27.865 Corona Simulator[3052:26794] it is apple device so apple AdMob 2015-02-09 23:18:27.867 Corona Simulator[3052:26794] WARNING: The 'ads' provider (admob) is not available on the simulator 2015-02-09 23:18:27.867 Corona Simulator[3052:26794] WARNING: The 'ads' library is not available on this platform. 2015-02-09 23:18:28.835 Corona Simulator[3052:26794] scenes.intro:willShow 2015-02-09 23:18:28.841 Corona Simulator[3052:26794] onSystem:start 2015-02-09 23:18:28.843 Corona Simulator[3052:26794] scenes.intro:didShow 2015-02-09 23:18:29.002 Corona Simulator[3052:26794] address www.apple.com 2015-02-09 23:18:29.002 Corona Simulator[3052:26794] isReachable true 2015-02-09 23:18:29.002 Corona Simulator[3052:26794] isConnectionRequired false 2015-02-09 23:18:29.003 Corona Simulator[3052:26794] isConnectionOnDemand false 2015-02-09 23:18:29.003 Corona Simulator[3052:26794] IsInteractionRequired false 2015-02-09 23:18:29.003 Corona Simulator[3052:26794] IsReachableViaCellular false 2015-02-09 23:18:29.003 Corona Simulator[3052:26794] IsReachableViaWiFi true 2015-02-09 23:18:34.515 Corona Simulator[3052:26794] scenes.intro:willHide 2015-02-09 23:18:34.543 Corona Simulator[3052:26794] cant find scores at all! 2015-02-09 23:18:34.749 Corona Simulator[3052:26794] scenes.menu:willShow 2015-02-09 23:18:34.921 Corona Simulator[3052:26794] scenes.menu:didShow 2015-02-09 23:18:34.923 Corona Simulator[3052:26794] scenes.menu:didHide xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH 2015-02-09 23:18:40.267 Corona Simulator[3052:26794] xcrun xcodebuild -version failed to run. xcode-select is likely misconfigured. 2015-02-09 23:18:40.280 Corona Simulator[3052:26794] Warning: no valid private certificates found for profile "AmazingLines AppStore" Public certificate: iPhone Distribution: Dmitry Volokitin (7BL5UEDY93) [B742EE5A5313355F7A536BBA7FDCAC3624C0CFDB] Provisioning file: ~/Library/MobileDevice/Provisioning Profiles/b22c9d8e-f738-4443-8393-0a44656147b9.mobileprovision 2015-02-09 23:18:40.283 Corona Simulator[3052:26794] onSystem:suspend xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH 2015-02-09 23:19:38.963 Corona Simulator[3052:26794] xcrun xcodebuild -version failed to run. xcode-select is likely misconfigured. Using additional build settings from: /Users/admin/Desktop/AmazingLines/trunk/build.settings Contents of ZIP file from server: d.app/ d.app/embedded.mobileprovision d.app/MainWindow-iPad.nib d.app/Default-568h@2x.png d.app/resource.car d.app/PkgInfo d.app/CoronaResources.bundle/ d.app/CoronaResources.bundle/widget\_theme\_android.png d.app/CoronaResources.bundle/widget\_theme\_onOff\_mask.png d.app/CoronaResources.bundle/widget\_theme\_android\_holo\_dark@4x.png d.app/CoronaResources.bundle/widget\_theme\_android\_holo\_light@2x.png d.app/CoronaResources.bundle/widget\_theme\_android\_holo\_light@4x.png d.app/CoronaResources.bundle/widget\_theme\_android\_holo\_light.png d.app/CoronaResources.bundle/widget\_theme\_onOff\_mask\_android\_holo.png d.app/CoronaResources.bundle/widget\_theme\_ios7.png d.app/CoronaResources.bundle/widget\_theme\_ios@2x.png d.app/CoronaResources.bundle/widget\_theme\_android@2x.png d.app/CoronaResources.bundle/widget\_theme\_pickerWheel\_mask.png d.app/CoronaResources.bundle/Info.plist d.app/CoronaResources.bundle/widget\_theme\_android\_holo\_dark.png d.app/CoronaResources.bundle/widget\_theme\_ios7@2x.png d.app/CoronaResources.bundle/widget\_theme\_android\_holo\_dark@2x.png d.app/CoronaResources.bundle/widget\_theme\_ios.png d.app/Info.plist d.app/\_CodeSignature/ d.app/\_CodeSignature/CodeResources d.app/CoronaSDK3rdPartyLicenses.txt d.app/.build/ d.app/.build/CoronaProvider.analytics.flurry/ d.app/.build/CoronaProvider.analytics.flurry/libanalytics-flurry.a d.app/.build/CoronaProvider.analytics.flurry/metadata.lua d.app/.build/libtemplate/ d.app/.build/libtemplate/Defaults.lua d.app/.build/libtemplate/libtemplate.a d.app/.build/libtemplate/Builder.lua d.app/.build/libtemplate/build.lua d.app/.build/libtemplate/BuilderUtils.lua d.app/.build/facebook/ d.app/.build/facebook/resources/ d.app/.build/facebook/extract.sh d.app/.build/facebook/libfacebook.a d.app/.build/facebook/metadata.lua d.app/.build/plugin.google.play.services/ d.app/.build/plugin.google.play.services/libgoogle-play-services.a d.app/.build/plugin.google.play.services/metadata.lua d.app/MainWindow.nib d.app/FBUserSettingsViewResources.bundle/ d.app/FBUserSettingsViewResources.bundle/Contents/ d.app/FBUserSettingsViewResources.bundle/Contents/Resources/ d.app/FBUserSettingsViewResources.bundle/Contents/Resources/he.lproj/ d.app/FBUserSettingsViewResources.bundle/Contents/Resources/he.lproj/Localizable.strings d.app/FBUserSettingsViewResources.bundle/Contents/Resources/en.lproj/ d.app/FBUserSettingsViewResources.bundle/Contents/Resources/en.lproj/Localizable.strings d.app/FBUserSettingsViewResources.bundle/images/ d.app/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait@2x.jpg d.app/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape@2x.jpg d.app/FBUserSettingsViewResources.bundle/images/facebook-logo.png d.app/FBUserSettingsViewResources.bundle/images/silver-button-pressed@2x.png d.app/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait.jpg d.app/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape.jpg d.app/FBUserSettingsViewResources.bundle/images/silver-button-normal.png d.app/FBUserSettingsViewResources.bundle/images/silver-button-pressed.png d.app/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait.jpg d.app/FBUserSettingsViewResources.bundle/images/silver-button-normal@2x.png d.app/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait@2x.jpg d.app/FBUserSettingsViewResources.bundle/images/facebook-logo@2x.png Server dir name: d.app Server app name: d (local name: d) 2015-02-09 23:19:41.415 Corona Simulator[3052:26794] Runtime error /Users/admin/Desktop/d.app/.build/libtemplate/BuilderUtils.lua:20: \<error\>{"command":"xcrun --sdk iphoneos --show-sdk-path","message":"xcrun: error: SDK \"iphoneos\" cannot be located\nxcrun: error: SDK \"iphoneos\" cannot be located\nxcrun: error: unable to lookup item 'Path' in SDK 'iphoneos'","status":256}\</error\> stack traceback: [C]: ? [C]: in function 'assert' /Users/admin/Desktop/d.app/.build/libtemplate/BuilderUtils.lua:20: in function 'checkError' /Users/admin/Desktop/d.app/.build/libtemplate/BuilderUtils.lua:75: in function 'xcrun' /Users/admin/Desktop/d.app/.build/libtemplate/Defaults.lua:83: in function 'setSdkType' /Users/admin/Desktop/d.app/.build/libtemplate/Defaults.lua:76: in function 'initialize' /Users/admin/Desktop/d.app/.build/libtemplate/Builder.lua:27: in function 'initialize' /Users/admin/Desktop/d.app/.build/libtemplate/Builder.lua:379: in main chunk ?: in function 'buildExe' ?: in function \<?:822\> 2015-02-09 23:19:41.422 Corona Simulator[3052:26794] iOS build failed (5)

here is my build.settings

-- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight settings = { orientation = { default = "portrait", supported = { "portrait" , "portraitUpsideDown" } }, iphone = { plist = { UIStatusBarHidden = false, UIPrerenderedIcon = true, -- set to false for "shine" overlay UIApplicationExitsOnSuspend = false, FacebookAppID = "1382542215347319", -- iOS app URL schemes: CFBundleURLTypes = { { CFBundleURLSchemes = { "fb1382542215347319", -- example scheme for facebook --"coronasdkapp", -- example second scheme } } } } }, plugins = { ["facebook"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone = true, ["iphone-sim"] = true }, }, ["plugin.google.play.services"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.analytics.flurry"] = { publisherId = "com.coronalabs", }, }, -- Android permissions android = { usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "com.samsung.android.providers.context.permission.WRITE\_USE\_APP\_FEATURE\_SURVEY", }, }, -- Exclude android excludeFiles = { iphone = { "sounds/\*.ogg", "music/\*.ogg" }, android = { "sounds/\*.wav", "music/\*.wav" } }, }

yes it is VMware and 10.10 Os X

Corona SDK running in a virtual machine is not supported. 

Secondly, it looks like your Xcode isn’t setup properly.  These are the messages that lead me to that conclusion:

crun: error: unable to find utility “xcodebuild”, not a developer tool or in PATH

2015-02-09 23:18:40.267 Corona Simulator[3052:26794] xcrun xcodebuild -version failed to run. xcode-select is likely misconfigured.

2015-02-09 23:18:40.280 Corona Simulator[3052:26794] Warning: no valid private certificates found for profile “AmazingLines AppStore”

    Public certificate: iPhone Distribution: Dmitry Volokitin (7BL5UEDY93) [B742EE5A5313355F7A536BBA7FDCAC3624C0CFDB]

    Provisioning file: ~/Library/MobileDevice/Provisioning Profiles/b22c9d8e-f738-4443-8393-0a44656147b9.mobileprovision

2015-02-09 23:18:40.283 Corona Simulator[3052:26794] onSystem:suspend

xcrun: error: unable to find utility “xcodebuild”, not a developer tool or in PATH

2015-02-09 23:19:38.963 Corona Simulator[3052:26794] xcrun xcodebuild -version failed to run. xcode-select is likely misconfigured.

 

I don’t know much about how well Xcode runs in a VM either.  But you should make sure Xcode is installed properly.  You can run:

 

xcode-select --print-path

 

from the command terminal and verify that it’s pointing to /Applications/Xcode.app/Contents/Developer

and make sure that’s where Xcode’s really at.

 

Rob

Thanks, Rob!

it helped. 

Mac-Admin:~ admin$ xcode-select --print-path /Library/Developer/CommandLineTools

after I point it to Xcode it start working.

Mac-Admin:~ admin$ sudo xcode-select -s /Applications/Xcode-Beta.app/Contents/Developer/ Password: Mac-Admin:~ admin$ xcode-select --print-path /Applications/Xcode-Beta.app/Contents/Developer/

Thanks Rob and dimanche13

it works

Error code 5 generally means we couldn’t talk to our build servers.  Perhaps something timed out.  Frequently this is due to internet problems.  Plugins require extra connections and are generally the bigger cause of this.  That said, you are using an old build of Corona SDK.  The current public release is 2014.2511.  You should at a minimum upgrade to the latest daily build.  However, Apple has made yet another change and we’ve had to release a beta of our next public release to deal with Apple’s changes. 

See this blog post:  http://coronalabs.com/blog/2015/01/21/update-on-corona-ios-64-bit-support-and-plugins/

to get this beta build.

That said, several plugins had to be removed because the vendors didn’t provide 64 bit versions.  Once you get this beta build you may find that you may have to remove some plugins.

Rob

got beta build

but not success again

it is really sad, any ideas? 

Two questions:  Is there more to the console log (Window in the bottom right)?

Are you running Yosemite inside of VMWare?

Here is console log

Last login: Mon Feb 9 23:03:45 on ttys000 Mac-Admin:~ admin$ /Applications/CoronaSDK/debugger ; exit; DEBUGGER: Corona Remote Debugger DEBUGGER: Go to the Simulator and run the program you wish to debug 2015-02-09 23:18:19.370 Corona Simulator[3052:26794] Copyright (C) 2009-2015 C o r o n a L a b s I n c . 2015-02-09 23:18:19.370 Corona Simulator[3052:26794] Version: 3.0.0 2015-02-09 23:18:19.370 Corona Simulator[3052:26794] Build: 2015.2545 2015-02-09 23:18:23.405 Corona Simulator[3052:26794] Copyright (C) 2009-2015 C o r o n a L a b s I n c . 2015-02-09 23:18:23.406 Corona Simulator[3052:26794] Version: 3.0.0 2015-02-09 23:18:23.406 Corona Simulator[3052:26794] Build: 2015.2545 2015-02-09 23:18:23.419 Corona Simulator[3052:26794] Platform: iPhone / x86\_64 / 10.10.0 / Apple Software Renderer / 2.1 APPLE-11.0.7 / 2015.2545 2015-02-09 23:18:23.521 Corona Simulator[3052:26794] The file sandbox for this project is located at the following folder: (/Users/admin/Library/Application Support/Corona Simulator/trunk-5885808D6033D95932FEDECF67FEDF35) DEBUGGER: Paused at file /Users/admin/Desktop/AmazingLines/trunk/main.lua DEBUGGER: Type 'help' for commands \> run 2015-02-09 23:18:27.574 Corona Simulator[3052:26794] RUN: breakpoints: [] 2015-02-09 23:18:27.627 Corona Simulator[3052:26794] find file . 2015-02-09 23:18:27.627 Corona Simulator[3052:26794] . does not exist /Users/admin/Library/Application Support/Corona Simulator/trunk-5885808D6033D95932FEDECF67FEDF35/tmp/.: Invalid argument 2015-02-09 23:18:27.628 Corona Simulator[3052:26794] find file .. 2015-02-09 23:18:27.628 Corona Simulator[3052:26794] .. does not exist /Users/admin/Library/Application Support/Corona Simulator/trunk-5885808D6033D95932FEDECF67FEDF35/tmp/..: Directory not empty 2015-02-09 23:18:27.636 Corona Simulator[3052:26794] finding simulator language 2015-02-09 23:18:27.636 Corona Simulator[3052:26794] device locale is: ru 2015-02-09 23:18:27.637 Corona Simulator[3052:26794] find locale is: ru 2015-02-09 23:18:27.864 Corona Simulator[3052:26794] Analytics is prepared! 2015-02-09 23:18:27.865 Corona Simulator[3052:26794] WARNING: The 'analytics' provider (flurry) is not available on the simulator 2015-02-09 23:18:27.865 Corona Simulator[3052:26794] lets find ads! 2015-02-09 23:18:27.865 Corona Simulator[3052:26794] it is apple device so apple AdMob 2015-02-09 23:18:27.867 Corona Simulator[3052:26794] WARNING: The 'ads' provider (admob) is not available on the simulator 2015-02-09 23:18:27.867 Corona Simulator[3052:26794] WARNING: The 'ads' library is not available on this platform. 2015-02-09 23:18:28.835 Corona Simulator[3052:26794] scenes.intro:willShow 2015-02-09 23:18:28.841 Corona Simulator[3052:26794] onSystem:start 2015-02-09 23:18:28.843 Corona Simulator[3052:26794] scenes.intro:didShow 2015-02-09 23:18:29.002 Corona Simulator[3052:26794] address www.apple.com 2015-02-09 23:18:29.002 Corona Simulator[3052:26794] isReachable true 2015-02-09 23:18:29.002 Corona Simulator[3052:26794] isConnectionRequired false 2015-02-09 23:18:29.003 Corona Simulator[3052:26794] isConnectionOnDemand false 2015-02-09 23:18:29.003 Corona Simulator[3052:26794] IsInteractionRequired false 2015-02-09 23:18:29.003 Corona Simulator[3052:26794] IsReachableViaCellular false 2015-02-09 23:18:29.003 Corona Simulator[3052:26794] IsReachableViaWiFi true 2015-02-09 23:18:34.515 Corona Simulator[3052:26794] scenes.intro:willHide 2015-02-09 23:18:34.543 Corona Simulator[3052:26794] cant find scores at all! 2015-02-09 23:18:34.749 Corona Simulator[3052:26794] scenes.menu:willShow 2015-02-09 23:18:34.921 Corona Simulator[3052:26794] scenes.menu:didShow 2015-02-09 23:18:34.923 Corona Simulator[3052:26794] scenes.menu:didHide xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH 2015-02-09 23:18:40.267 Corona Simulator[3052:26794] xcrun xcodebuild -version failed to run. xcode-select is likely misconfigured. 2015-02-09 23:18:40.280 Corona Simulator[3052:26794] Warning: no valid private certificates found for profile "AmazingLines AppStore" Public certificate: iPhone Distribution: Dmitry Volokitin (7BL5UEDY93) [B742EE5A5313355F7A536BBA7FDCAC3624C0CFDB] Provisioning file: ~/Library/MobileDevice/Provisioning Profiles/b22c9d8e-f738-4443-8393-0a44656147b9.mobileprovision 2015-02-09 23:18:40.283 Corona Simulator[3052:26794] onSystem:suspend xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH 2015-02-09 23:19:38.963 Corona Simulator[3052:26794] xcrun xcodebuild -version failed to run. xcode-select is likely misconfigured. Using additional build settings from: /Users/admin/Desktop/AmazingLines/trunk/build.settings Contents of ZIP file from server: d.app/ d.app/embedded.mobileprovision d.app/MainWindow-iPad.nib d.app/Default-568h@2x.png d.app/resource.car d.app/PkgInfo d.app/CoronaResources.bundle/ d.app/CoronaResources.bundle/widget\_theme\_android.png d.app/CoronaResources.bundle/widget\_theme\_onOff\_mask.png d.app/CoronaResources.bundle/widget\_theme\_android\_holo\_dark@4x.png d.app/CoronaResources.bundle/widget\_theme\_android\_holo\_light@2x.png d.app/CoronaResources.bundle/widget\_theme\_android\_holo\_light@4x.png d.app/CoronaResources.bundle/widget\_theme\_android\_holo\_light.png d.app/CoronaResources.bundle/widget\_theme\_onOff\_mask\_android\_holo.png d.app/CoronaResources.bundle/widget\_theme\_ios7.png d.app/CoronaResources.bundle/widget\_theme\_ios@2x.png d.app/CoronaResources.bundle/widget\_theme\_android@2x.png d.app/CoronaResources.bundle/widget\_theme\_pickerWheel\_mask.png d.app/CoronaResources.bundle/Info.plist d.app/CoronaResources.bundle/widget\_theme\_android\_holo\_dark.png d.app/CoronaResources.bundle/widget\_theme\_ios7@2x.png d.app/CoronaResources.bundle/widget\_theme\_android\_holo\_dark@2x.png d.app/CoronaResources.bundle/widget\_theme\_ios.png d.app/Info.plist d.app/\_CodeSignature/ d.app/\_CodeSignature/CodeResources d.app/CoronaSDK3rdPartyLicenses.txt d.app/.build/ d.app/.build/CoronaProvider.analytics.flurry/ d.app/.build/CoronaProvider.analytics.flurry/libanalytics-flurry.a d.app/.build/CoronaProvider.analytics.flurry/metadata.lua d.app/.build/libtemplate/ d.app/.build/libtemplate/Defaults.lua d.app/.build/libtemplate/libtemplate.a d.app/.build/libtemplate/Builder.lua d.app/.build/libtemplate/build.lua d.app/.build/libtemplate/BuilderUtils.lua d.app/.build/facebook/ d.app/.build/facebook/resources/ d.app/.build/facebook/extract.sh d.app/.build/facebook/libfacebook.a d.app/.build/facebook/metadata.lua d.app/.build/plugin.google.play.services/ d.app/.build/plugin.google.play.services/libgoogle-play-services.a d.app/.build/plugin.google.play.services/metadata.lua d.app/MainWindow.nib d.app/FBUserSettingsViewResources.bundle/ d.app/FBUserSettingsViewResources.bundle/Contents/ d.app/FBUserSettingsViewResources.bundle/Contents/Resources/ d.app/FBUserSettingsViewResources.bundle/Contents/Resources/he.lproj/ d.app/FBUserSettingsViewResources.bundle/Contents/Resources/he.lproj/Localizable.strings d.app/FBUserSettingsViewResources.bundle/Contents/Resources/en.lproj/ d.app/FBUserSettingsViewResources.bundle/Contents/Resources/en.lproj/Localizable.strings d.app/FBUserSettingsViewResources.bundle/images/ d.app/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait@2x.jpg d.app/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape@2x.jpg d.app/FBUserSettingsViewResources.bundle/images/facebook-logo.png d.app/FBUserSettingsViewResources.bundle/images/silver-button-pressed@2x.png d.app/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait.jpg d.app/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadLandscape.jpg d.app/FBUserSettingsViewResources.bundle/images/silver-button-normal.png d.app/FBUserSettingsViewResources.bundle/images/silver-button-pressed.png d.app/FBUserSettingsViewResources.bundle/images/loginBackgroundIPadPortrait.jpg d.app/FBUserSettingsViewResources.bundle/images/silver-button-normal@2x.png d.app/FBUserSettingsViewResources.bundle/images/loginBackgroundIPhonePortrait@2x.jpg d.app/FBUserSettingsViewResources.bundle/images/facebook-logo@2x.png Server dir name: d.app Server app name: d (local name: d) 2015-02-09 23:19:41.415 Corona Simulator[3052:26794] Runtime error /Users/admin/Desktop/d.app/.build/libtemplate/BuilderUtils.lua:20: \<error\>{"command":"xcrun --sdk iphoneos --show-sdk-path","message":"xcrun: error: SDK \"iphoneos\" cannot be located\nxcrun: error: SDK \"iphoneos\" cannot be located\nxcrun: error: unable to lookup item 'Path' in SDK 'iphoneos'","status":256}\</error\> stack traceback: [C]: ? [C]: in function 'assert' /Users/admin/Desktop/d.app/.build/libtemplate/BuilderUtils.lua:20: in function 'checkError' /Users/admin/Desktop/d.app/.build/libtemplate/BuilderUtils.lua:75: in function 'xcrun' /Users/admin/Desktop/d.app/.build/libtemplate/Defaults.lua:83: in function 'setSdkType' /Users/admin/Desktop/d.app/.build/libtemplate/Defaults.lua:76: in function 'initialize' /Users/admin/Desktop/d.app/.build/libtemplate/Builder.lua:27: in function 'initialize' /Users/admin/Desktop/d.app/.build/libtemplate/Builder.lua:379: in main chunk ?: in function 'buildExe' ?: in function \<?:822\> 2015-02-09 23:19:41.422 Corona Simulator[3052:26794] iOS build failed (5)

here is my build.settings

-- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight settings = { orientation = { default = "portrait", supported = { "portrait" , "portraitUpsideDown" } }, iphone = { plist = { UIStatusBarHidden = false, UIPrerenderedIcon = true, -- set to false for "shine" overlay UIApplicationExitsOnSuspend = false, FacebookAppID = "1382542215347319", -- iOS app URL schemes: CFBundleURLTypes = { { CFBundleURLSchemes = { "fb1382542215347319", -- example scheme for facebook --"coronasdkapp", -- example second scheme } } } } }, plugins = { ["facebook"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone = true, ["iphone-sim"] = true }, }, ["plugin.google.play.services"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.analytics.flurry"] = { publisherId = "com.coronalabs", }, }, -- Android permissions android = { usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "com.samsung.android.providers.context.permission.WRITE\_USE\_APP\_FEATURE\_SURVEY", }, }, -- Exclude android excludeFiles = { iphone = { "sounds/\*.ogg", "music/\*.ogg" }, android = { "sounds/\*.wav", "music/\*.wav" } }, }

yes it is VMware and 10.10 Os X

Corona SDK running in a virtual machine is not supported. 

Secondly, it looks like your Xcode isn’t setup properly.  These are the messages that lead me to that conclusion:

crun: error: unable to find utility “xcodebuild”, not a developer tool or in PATH

2015-02-09 23:18:40.267 Corona Simulator[3052:26794] xcrun xcodebuild -version failed to run. xcode-select is likely misconfigured.

2015-02-09 23:18:40.280 Corona Simulator[3052:26794] Warning: no valid private certificates found for profile “AmazingLines AppStore”

    Public certificate: iPhone Distribution: Dmitry Volokitin (7BL5UEDY93) [B742EE5A5313355F7A536BBA7FDCAC3624C0CFDB]

    Provisioning file: ~/Library/MobileDevice/Provisioning Profiles/b22c9d8e-f738-4443-8393-0a44656147b9.mobileprovision

2015-02-09 23:18:40.283 Corona Simulator[3052:26794] onSystem:suspend

xcrun: error: unable to find utility “xcodebuild”, not a developer tool or in PATH

2015-02-09 23:19:38.963 Corona Simulator[3052:26794] xcrun xcodebuild -version failed to run. xcode-select is likely misconfigured.

 

I don’t know much about how well Xcode runs in a VM either.  But you should make sure Xcode is installed properly.  You can run:

 

xcode-select --print-path

 

from the command terminal and verify that it’s pointing to /Applications/Xcode.app/Contents/Developer

and make sure that’s where Xcode’s really at.

 

Rob

Thanks, Rob!

it helped. 

Mac-Admin:~ admin$ xcode-select --print-path /Library/Developer/CommandLineTools

after I point it to Xcode it start working.

Mac-Admin:~ admin$ sudo xcode-select -s /Applications/Xcode-Beta.app/Contents/Developer/ Password: Mac-Admin:~ admin$ xcode-select --print-path /Applications/Xcode-Beta.app/Contents/Developer/

Thanks Rob and dimanche13

it works