Shell Script Invocation Error

get error messages when build with xcode:

 

mkdir: /Users/xxx/Library/Developer/Xcode/DerivedData/App-cfhcnhhhslsnnfgbageiarvgfnwf/Build/Products/Debug-iphonesimulator/App.app/app: Not a directory

mkdir: /Users/xx/Library/Developer/Xcode/DerivedData/App-cfhcnhhhslsnnfgbageiarvgfnwf/Build/Products/Debug-iphonesimulator/App.app/app/games: Not a directory

What version of Corona are you using?

Have you go into /Applications/Corona-XXXX/Native/ 

And run either Setup Corona Native (best for new projects) or Setup Corona Enterprise (best for existing Enterprise projects)???

Rob

sdk: 3100, 3102 

mac os: 10.12.5

xcode:  8.3.3

I have run Setup Corona Enterprise.app and Setup Corona Native.app.

You should run Setup Corona Enterprise if you have legacy Enterprise projects. You should use Setup Corona Native if you’re using the App template that ships with Corona-3100 and later.

I’ll share this with Engineering and see if they know what’s going on.

Rob

Why are you using Corona Native rather than the Corona Simulator?  What did you change in the App Project Template?  Did you just add files to the Corona folder or did you change other things?  Are you using plugins?  If so, which ones?  Does you Corona project build successfully in the Corona Simulator?

We’ll need your full Xcode build log and later we may need a sample Xcode project that reproduces the error.  To get a full Xcode build log first open the “Report Navigator” (#1) then save (#2) the most recent log (the one with the error) to a file and send that to us:

LOG:

ps:

I can build without any errors if i use the sample code under template dir.

Hi @pickerel, thanks for the log. What about the other questions Perry asked?

Please respond to all of them. They are needed to help us help you.

Rob

Why are you using Corona Native rather than the Corona Simulator?

native building is much faster than simulator in China.

What did you change in the App Project Template?  

Just selected signing team in xcode.

Did you just add files to the Corona folder or did you change other things?

Yes.
Not change anything.

Are you using plugins?  If so, which ones?  

Yes, plugin.zip and plugin.bit. The errors still exists if I comment the plugins in build.settings.

Does you Corona project build successfully in the Corona Simulator?

Yes

The problem is that you have a subdirectory called app in your Corona project which is the same name as your app.  Rename the Corona/app directory to something else (and update references to it) and your build will work.  Make sure to “clean” your project in Xcode.

I will see what we can do to make this error clearer.

What version of Corona are you using?

Have you go into /Applications/Corona-XXXX/Native/ 

And run either Setup Corona Native (best for new projects) or Setup Corona Enterprise (best for existing Enterprise projects)???

Rob

sdk: 3100, 3102 

mac os: 10.12.5

xcode:  8.3.3

I have run Setup Corona Enterprise.app and Setup Corona Native.app.

You should run Setup Corona Enterprise if you have legacy Enterprise projects. You should use Setup Corona Native if you’re using the App template that ships with Corona-3100 and later.

I’ll share this with Engineering and see if they know what’s going on.

Rob

Why are you using Corona Native rather than the Corona Simulator?  What did you change in the App Project Template?  Did you just add files to the Corona folder or did you change other things?  Are you using plugins?  If so, which ones?  Does you Corona project build successfully in the Corona Simulator?

We’ll need your full Xcode build log and later we may need a sample Xcode project that reproduces the error.  To get a full Xcode build log first open the “Report Navigator” (#1) then save (#2) the most recent log (the one with the error) to a file and send that to us:

LOG:

ps:

I can build without any errors if i use the sample code under template dir.

Hi @pickerel, thanks for the log. What about the other questions Perry asked?

Please respond to all of them. They are needed to help us help you.

Rob

Why are you using Corona Native rather than the Corona Simulator?

native building is much faster than simulator in China.

What did you change in the App Project Template?  

Just selected signing team in xcode.

Did you just add files to the Corona folder or did you change other things?

Yes.
Not change anything.

Are you using plugins?  If so, which ones?  

Yes, plugin.zip and plugin.bit. The errors still exists if I comment the plugins in build.settings.

Does you Corona project build successfully in the Corona Simulator?

Yes

The problem is that you have a subdirectory called app in your Corona project which is the same name as your app.  Rename the Corona/app directory to something else (and update references to it) and your build will work.  Make sure to “clean” your project in Xcode.

I will see what we can do to make this error clearer.