error code : 5 when building on mac.

Hi,

I’m working on two machines,there’s no problems about the windows one.

but when trying to build for ios on the os x one I always get an error code : 5 and it says check if you are connected to a proxy server. the two machines connected to the same network.

same here : 

Unexpected build error.

Error code: 5

If you are not connecting to the internet directly (for example, you connect via a proxy server) you might want to try a direct connection to see if that solves the problem.

the latest sdks

^

yes, like that.

up

There were some issues with building when using certain plugins.  This was resolved.

Are you still having errors?

Rob

Hi Rob, I’m still getting errors :

Unexpected build error.

Error code: 5

If you are not connecting to the internet directly (for example, you connect via a proxy server) you might want to try a direct connection to see if that solves the problem.

Check the console for more information.

Feb 13 14:06:07.844: WARNING: Simulator does not support multitouch events

Feb 13 14:06:07.853: WARNING: The ‘ads’ provider (admob) is not available on the simulator

Feb 13 14:06:07.859: systemEvent applicationStart

Feb 13 14:06:07.859: WARNING: The ‘gameNetwork’ provider (gamecenter) is not available on the simulator

Feb 13 14:06:08.869: 320

Feb 13 14:06:08.869: WARNING: The ‘ads’ library is not available on this platform.

Feb 13 14:06:08.870:   nil

Feb 13 14:06:14.565: Could not find image named ‘Icon’.

Feb 13 14:06:16.170: xcode-select is set to an invalid location: /Volumes/Xcode/Xcode.app/Contents/Developer

Feb 13 14:06:16.297: systemEvent applicationSuspend

Feb 13 14:06:16.298: suspending…

Feb 13 14:15:51.419: IMK Stall detected, *please Report* your user scenario in <rdar://problem/16792073> - (imkxpc_uniqueClientIdentifierStringWithReply:) block performed very slowly (169.45 secs)

Feb 13 14:15:51.429: xcode-select is set to an invalid location: /Volumes/Xcode/Xcode.app/Contents/Developer

Feb 13 14:15:51.431: Using additional build settings from: /Users/mohammedalghareeb/Desktop/AmazingJetV3/build.settings

Feb 13 14:15:52.458: mv: rename /Users/mohammedalghareeb/Desktop/AmazingJetV3.app/AmazingJetV3 to /Users/mohammedalghareeb/Desktop/AmazingJetV3.app/AmazingJetV3: No such file or directory

Feb 13 14:15:52.465: mv: rename /Users/mohammedalghareeb/Desktop/AmazingJetV3.app to /Users/mohammedalghareeb/Desktop/AmazingJetV3.app/AmazingJetV3.app: Invalid argument

Feb 13 14:15:52.520: WARNING: Using the following SDK instead: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk

Feb 13 14:15:52.548: WARNING: Using the following SDK instead: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk

Feb 13 14:15:52.555: Runtime error

/Users/mohammedalghareeb/Desktop/AmazingJetV3.app/.build/libtemplate/Builder.lua:310: <error>{“status”:32512,“message”:“sh: /Volumes/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++: No such file or directory”}</error>

stack traceback:

C: in function ‘assert’

/Users/mohammedalghareeb/Desktop/AmazingJetV3.app/.build/libtemplate/Builder.lua:310: in function ‘checkError’

/Users/mohammedalghareeb/Desktop/AmazingJetV3.app/.build/libtemplate/Builder.lua:333: in function ‘build’

?: in function ‘buildExe’

?: in function <?:641>

Feb 13 14:15:52.563: iOS build failed (5)

Feb 13 14:15:55.173: systemEvent applicationExit

Feb 13 14:15:55.173: exiting…

Feb 13 14:15:55.252: 

Copyright © 2009-2014  C o r o n a   L a b s   I n c .

Feb 13 14:15:55.252: Version: 3.0.0

Feb 13 14:15:55.252: Build: 2014.2511

Feb 13 14:15:55.276: Platform: iPhone / x86_64 / 10.10 / NVIDIA GeForce 320M OpenGL Engine / 2.1 NVIDIA-10.0.19 310.90.10.05b12 / 2014.2511

Feb 13 14:15:55.355: The file sandbox for this project is located at the following folder:

(/Users/mohammedalghareeb/Library/Application Support/Corona Simulator/AmazingJetV3-F087B0B3EDCDD2C79D89B8F7218C2F79)

Feb 13 14:15:55.437: WARNING: Simulator does not support multitouch events

Feb 13 14:15:55.446: WARNING: The ‘ads’ provider (admob) is not available on the simulator

Feb 13 14:15:55.452: systemEvent applicationStart

Feb 13 14:15:55.453: WARNING: The ‘gameNetwork’ provider (gamecenter) is not available on the simulator

Feb 13 14:15:56.466: 320

Feb 13 14:15:56.467: WARNING: The ‘ads’ library is not available on this platform.

Feb 13 14:15:56.467:   nil

 

Do you see this error:

Feb 13 14:15:51.429: xcode-select is set to an invalid location: /Volumes/Xcode/Xcode.app/Contents/Developer

This tells me your Xcode is not installed correctly.  From the command line you can do an:

xcode-select -p

to verify the settings, but it will pretty much return the above URL.  If you have installed Xcode from the Apple Store, the path should be more like:

/Applications/Xcode.app/Contents/Developer

You can use xcode-select to switch to the right folder:

xcode-select -s /Applications/Xcode.app/Contents/Developer

assuming that’s where it’s really installed.  You will need to fix this before you can successfully build.

Rob

same here : 

Unexpected build error.

Error code: 5

If you are not connecting to the internet directly (for example, you connect via a proxy server) you might want to try a direct connection to see if that solves the problem.

the latest sdks

^

yes, like that.

up

There were some issues with building when using certain plugins.  This was resolved.

Are you still having errors?

Rob

Hi Rob, I’m still getting errors :

Unexpected build error.

Error code: 5

If you are not connecting to the internet directly (for example, you connect via a proxy server) you might want to try a direct connection to see if that solves the problem.

Check the console for more information.

Feb 13 14:06:07.844: WARNING: Simulator does not support multitouch events

Feb 13 14:06:07.853: WARNING: The ‘ads’ provider (admob) is not available on the simulator

Feb 13 14:06:07.859: systemEvent applicationStart

Feb 13 14:06:07.859: WARNING: The ‘gameNetwork’ provider (gamecenter) is not available on the simulator

Feb 13 14:06:08.869: 320

Feb 13 14:06:08.869: WARNING: The ‘ads’ library is not available on this platform.

Feb 13 14:06:08.870:   nil

Feb 13 14:06:14.565: Could not find image named ‘Icon’.

Feb 13 14:06:16.170: xcode-select is set to an invalid location: /Volumes/Xcode/Xcode.app/Contents/Developer

Feb 13 14:06:16.297: systemEvent applicationSuspend

Feb 13 14:06:16.298: suspending…

Feb 13 14:15:51.419: IMK Stall detected, *please Report* your user scenario in <rdar://problem/16792073> - (imkxpc_uniqueClientIdentifierStringWithReply:) block performed very slowly (169.45 secs)

Feb 13 14:15:51.429: xcode-select is set to an invalid location: /Volumes/Xcode/Xcode.app/Contents/Developer

Feb 13 14:15:51.431: Using additional build settings from: /Users/mohammedalghareeb/Desktop/AmazingJetV3/build.settings

Feb 13 14:15:52.458: mv: rename /Users/mohammedalghareeb/Desktop/AmazingJetV3.app/AmazingJetV3 to /Users/mohammedalghareeb/Desktop/AmazingJetV3.app/AmazingJetV3: No such file or directory

Feb 13 14:15:52.465: mv: rename /Users/mohammedalghareeb/Desktop/AmazingJetV3.app to /Users/mohammedalghareeb/Desktop/AmazingJetV3.app/AmazingJetV3.app: Invalid argument

Feb 13 14:15:52.520: WARNING: Using the following SDK instead: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk

Feb 13 14:15:52.548: WARNING: Using the following SDK instead: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk

Feb 13 14:15:52.555: Runtime error

/Users/mohammedalghareeb/Desktop/AmazingJetV3.app/.build/libtemplate/Builder.lua:310: <error>{“status”:32512,“message”:“sh: /Volumes/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++: No such file or directory”}</error>

stack traceback:

C: in function ‘assert’

/Users/mohammedalghareeb/Desktop/AmazingJetV3.app/.build/libtemplate/Builder.lua:310: in function ‘checkError’

/Users/mohammedalghareeb/Desktop/AmazingJetV3.app/.build/libtemplate/Builder.lua:333: in function ‘build’

?: in function ‘buildExe’

?: in function <?:641>

Feb 13 14:15:52.563: iOS build failed (5)

Feb 13 14:15:55.173: systemEvent applicationExit

Feb 13 14:15:55.173: exiting…

Feb 13 14:15:55.252: 

Copyright © 2009-2014  C o r o n a   L a b s   I n c .

Feb 13 14:15:55.252: Version: 3.0.0

Feb 13 14:15:55.252: Build: 2014.2511

Feb 13 14:15:55.276: Platform: iPhone / x86_64 / 10.10 / NVIDIA GeForce 320M OpenGL Engine / 2.1 NVIDIA-10.0.19 310.90.10.05b12 / 2014.2511

Feb 13 14:15:55.355: The file sandbox for this project is located at the following folder:

(/Users/mohammedalghareeb/Library/Application Support/Corona Simulator/AmazingJetV3-F087B0B3EDCDD2C79D89B8F7218C2F79)

Feb 13 14:15:55.437: WARNING: Simulator does not support multitouch events

Feb 13 14:15:55.446: WARNING: The ‘ads’ provider (admob) is not available on the simulator

Feb 13 14:15:55.452: systemEvent applicationStart

Feb 13 14:15:55.453: WARNING: The ‘gameNetwork’ provider (gamecenter) is not available on the simulator

Feb 13 14:15:56.466: 320

Feb 13 14:15:56.467: WARNING: The ‘ads’ library is not available on this platform.

Feb 13 14:15:56.467:   nil

 

Do you see this error:

Feb 13 14:15:51.429: xcode-select is set to an invalid location: /Volumes/Xcode/Xcode.app/Contents/Developer

This tells me your Xcode is not installed correctly.  From the command line you can do an:

xcode-select -p

to verify the settings, but it will pretty much return the above URL.  If you have installed Xcode from the Apple Store, the path should be more like:

/Applications/Xcode.app/Contents/Developer

You can use xcode-select to switch to the right folder:

xcode-select -s /Applications/Xcode.app/Contents/Developer

assuming that’s where it’s really installed.  You will need to fix this before you can successfully build.

Rob