daily build 1089 plug-in build fail

Hi

   I just try daily build 1089  plug-in function ,But it build fail on Mac for ios device and simulator , build other project without plug-in is  fine , and build android is fine.

  Simulator : iOS device and simulator

  Plug-in : Admob  and inneractive

  OS:  Lion 10.7.5

  Xcode 4.6.1  

 Fail Message as below

==============

Copyright © 2009-2013  C o r o n a   L a b s   I n c .
2013-04-19 09:44:33.950 Corona Simulator[807:f03]     Version: 2.0.0
2013-04-19 09:44:33.950 Corona Simulator[807:f03]     Build: 2013.1089
2013-04-19 09:44:33.954 Corona Simulator[807:f03] The file sandbox for this project is located at the following folder:
    (/Users/hanswu/Library/Application Support/Corona Simulator/inneractive-B79D051FA623001434FBCE10DE72F247)
2013-04-19 09:44:33.964 Corona Simulator[807:f03] WARNING: display.newRetinaText() has been deprecated. display.newText() is now retina-aware.
2013-04-19 09:44:33.965 Corona Simulator[807:f03] WARNING: The ‘ads’ provider (inneractive) is not available on the simulator
2013-04-19 09:44:33.987 Corona Simulator[807:f03] WARNING: display.newRetinaText() has been deprecated. display.newText() is now retina-aware.
2013-04-19 09:44:33.987 Corona Simulator[807:f03] WARNING: Due to system limitations, display.newText() width is going to be increased to nearest multiple of 4: 290 ===> 292.
2013-04-19 09:44:48.465 Corona Simulator[807:f03] Using Custom Build Id 8055dd277ed3cc6f62d95ef38c9a7274
 

Using additional build settings from: /Users/hanswu/Downloads/PluginSamples/inneractive/build.settings
Runtime error
    …lease/inneractive.app/.build/libtemplate/Builder.lua:239: <error>{“status”:32512,“message”:“sh: /Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++: No such file or directory”}</error>
stack traceback:
    [C]: ?
    [C]: in function ‘assert’
    …lease/inneractive.app/.build/libtemplate/Builder.lua:239: in function ‘checkError’
    …lease/inneractive.app/.build/libtemplate/Builder.lua:262: in function ‘build’
    ?: in function ‘buildExe’
    ?: in function <?:692>
Runtime error: …lease/inneractive.app/.build/libtemplate/Builder.lua:239: <error>{“status”:32512,“message”:“sh: /Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++: No such file or directory”}</error>
stack traceback:
    [C]: ?
    [C]: in function ‘assert’
    …lease/inneractive.app/.build/libtemplate/Builder.lua:239: in function ‘checkError’
    …lease/inneractive.app/.build/libtemplate/Builder.lua:262: in function ‘build’
    ?: in function ‘buildExe’
    ?: in function <?:692>

 

Build 2013.1089

iMac OSX 10.8.3

Xcode 4.6.2

I had no problem compiling the Inneractive / Admob samples.

However, before building the examples, Corona came up with a dialog box asking if it was OK to download some extra stuff that was needed.

Did you see that?

Yes. 

 I have download that. I build for android, it is OK.

But build for ios , it will show the error .

It seem not find the clang++ .  in developer path.

But my clang++ under /usr/bin  .

 This case only happen for build plug in project. Normal project no this problem

One difference is that I’m on Mountain Lion (10.8.3) and using Xcode 4.6.2

I can verify that I have the files in the location where you’re getting an error…

Note:

I also have copies in /usr/bin, which are the exact same version. But the build process seems to want them in the location specified in your error log.

Just upgrade xcode to  4.6.2

it still fail with error message

[lua]Runtime error
…nts/Release/admob.app/.build/libtemplate/Builder.lua:239: {“status”:32512,“message”:“sh: /Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++: No such file or directory”}
stack traceback:[/lua]

the clang++ should be in  /usr/bin and

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/

I have no idea why corona goto  /Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/

I think that there’s something weird with your Xcode setup…

You should be able to cd to that folder inside the Xcode bundle and see those files there too.

If you drop down to the command line and type xcode-select --print-path do you get the correct Xcode bundle?

Yes, I think ingemar’s right. The Corona Simulator uses xcode-select to find the root Xcode installation, so based on the log messages, it looks like it’s looking at /Developer which is the old location. Apple switched this to (/Applications/Xcode.app) about a year ago.

If you installed 4.6.2 to the standard location (/Applications/Xcode.app), then xcode-select --print-path should point there. If it doesn’t, you can switch to the standard location via:

sudo xcode-select --switch /Applications/Xcode.app

I try this at home MBP (also 10.7.5  xcode 4.6.2) , it work !!

and I can find /Developer path.  maybe I need to install command line tools.

I will try it next Monday in office , 

 by the way.  Admob plug-in seems can not be download right now. other plug-in can download .

In early time. it was ok.

Is anyone have the same case

Hi Walter and ingemar

  thanks for your support.

It works in my office Mac 

Br

Build 2013.1089

iMac OSX 10.8.3

Xcode 4.6.2

I had no problem compiling the Inneractive / Admob samples.

However, before building the examples, Corona came up with a dialog box asking if it was OK to download some extra stuff that was needed.

Did you see that?

Yes. 

 I have download that. I build for android, it is OK.

But build for ios , it will show the error .

It seem not find the clang++ .  in developer path.

But my clang++ under /usr/bin  .

 This case only happen for build plug in project. Normal project no this problem

One difference is that I’m on Mountain Lion (10.8.3) and using Xcode 4.6.2

I can verify that I have the files in the location where you’re getting an error…

Note:

I also have copies in /usr/bin, which are the exact same version. But the build process seems to want them in the location specified in your error log.

Just upgrade xcode to  4.6.2

it still fail with error message

[lua]Runtime error
…nts/Release/admob.app/.build/libtemplate/Builder.lua:239: {“status”:32512,“message”:“sh: /Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++: No such file or directory”}
stack traceback:[/lua]

the clang++ should be in  /usr/bin and

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/

I have no idea why corona goto  /Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/

I think that there’s something weird with your Xcode setup…

You should be able to cd to that folder inside the Xcode bundle and see those files there too.

If you drop down to the command line and type xcode-select --print-path do you get the correct Xcode bundle?

Yes, I think ingemar’s right. The Corona Simulator uses xcode-select to find the root Xcode installation, so based on the log messages, it looks like it’s looking at /Developer which is the old location. Apple switched this to (/Applications/Xcode.app) about a year ago.

If you installed 4.6.2 to the standard location (/Applications/Xcode.app), then xcode-select --print-path should point there. If it doesn’t, you can switch to the standard location via:

sudo xcode-select --switch /Applications/Xcode.app

I try this at home MBP (also 10.7.5  xcode 4.6.2) , it work !!

and I can find /Developer path.  maybe I need to install command line tools.

I will try it next Monday in office , 

 by the way.  Admob plug-in seems can not be download right now. other plug-in can download .

In early time. it was ok.

Is anyone have the same case

Hi Walter and ingemar

  thanks for your support.

It works in my office Mac 

Br