Problem building to iOS

Sure, here you have…

-- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight settings = { orientation = { default = "landscapeRight", supported = { "landscapeRight", "landscapeLeft" } },      plugins =   {       -- key is the name passed to Lua's 'require()'       ["CoronaProvider.gameNetwork.google"] =       {           -- required           publisherId = "com.coronalabs",           supportedPlatforms = { android = true }       },       ["plugin.google.play.services"] =       {           publisherId = "com.coronalabs"       },   },      iphone = { plist = { UIStatusBarHidden = true, UIPrerenderedIcon = true, -- set to false for "shine" overlay --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png" , "Icon@2x.png" ,         "Icon-72.png",         "Icon-60.png",         "Icon-60@2x.png",         "Icon-76.png",         "Icon-76@2x.png",         "Icon-xxhdpi.png", "Icon58.png", }, UIAppFonts =  {  "Arfmoochikncheez.otf", "TF2 Build.otf" },             -- iOS app URL schemes:             CFBundleURLTypes =             {                 {     CFBundleURLName = "com.tekkogames.thiefjobforkids",                     CFBundleURLSchemes =                     {                         "thiefjobforkids",                     }                 }             },                          CFBundleIdentifier = "com.tekkogames.thiefjobforkids",                },         components = {}, },   android =   {     googlePlayGamesAppId = "81102102881",     usesPermissions =     {         "android.permission.INTERNET",         "android.permission.ACCESS\_NETWORK\_STATE",         "com.android.vending.CHECK\_LICENSE",               "com.android.vending.BILLING",     },   },    }

Just out of curiosity can you rename things so that there is no space in the project name?

Your build.settings is a bit tough to read because its indentions, but it looks correct.  What version of Corona SDK are you building with? 

Can you also look here:
 

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs

and let me know what files are there?

I just ran into this same issue.  I’m also using macincloud.com with build 2393 and Xcode 6.1. Rob, I checked the location you mentioned and there are two directories there.  The first is iPhoneOS.sdk and the second is iPhoneOS8.1.sdk.

I don’t know if this is an issue between 2393 (hopefully the “a” release) and Xcode 6.1 or not.  Hopefully we can get this new public build out soon and it will help with a lot of the iOS 8/8.1 Xcode 6/6.1 isims.

Rob

In my case I tested with the last version of Corona SDK and I have the same problem. (2014.2505)

Same files in my server:

iPhoneOS.sdk and iPhoneOS8.1.sdk.

Thank you!!

Oh, one thing. It doesn’t exist that path. 

I have:

/Applications/Xcode6.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs

/Applications/Xcode6.0.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs

/Applications/Xcode5.1.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs

/Applications/Xcode5.0.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs

But not a /Applications/Xcode.app/…

Is this ok?

I would suspect that could be a problem.  But your xcode-select points to the right version.  While we know people have used MacInCloud in the past, we can’t really control their setups.  I’m not sure how much assistance we can provide with this.  I’ll ask engineering, maybe they’ve seen that error before and there might be something that can done to point Xcode in the right direction.

Rob

But my question is…

Is Corona looking for the iOS SDK at /Applications/ Xcode.app /Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs

or is it using the xcode-select path?

Do you think I can test asking to MacInCloud to target the xcode-select to another XCode version? For example 6.0.1 or 5.1.1?

Thanks

You can always ask them. 

I just asked them that question.  I built and released my latest game a couple weeks ago using Xcode version 6.0.1 and now I can’t get it to build with Xcode version 6.1.  Their tech support has been outstanding so I doubt it will take long for me to hear back from them. 

Engineering says this is a symptom of not having the Xcode extensions loaded.  We use the extensions as part of the plugin loading process.  Thats why taking out the plugin worked.  Xcode prompts to install these after it’s run the first time.  We think this is a symptom of OSX 10.10 looking for 10.9 exensions or something similar.

Rob

 They downgraded my version of Xcode to 6.0.1 but that didn’t fix the problem.  I’m getting the following error now.  This is with version 10.9.5 of OSX.  Any other thoughts?

WARNING: Your SDK may be out of date b/c the following SDK directory could not be found: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk

2014-11-17 10:45:40.734 Corona Simulator[917:507] Runtime error

/Users/user23020/Dropbox/J&J Studios LLC/Builds/Pixum.app/.build/libtemplate/Defaults.lua:97: ERROR: Could not determine installed version of iOS SDK.

stack traceback:

C: in function ‘assert’

/Users/user23020/Dropbox/J&J Studios LLC/Builds/Pixum.app/.build/libtemplate/Defaults.lua:97: in function ‘updateSDK’

/Users/user23020/Dropbox/J&J Studios LLC/Builds/Pixum.app/.build/libtemplate/Defaults.lua:118: in function ‘updateSDK_iPhoneSimulator’

/Users/user23020/Dropbox/J&J Studios LLC/Builds/Pixum.app/.build/libtemplate/Builder.lua:225: in function ‘compile’

/Users/user23020/Dropbox/J&J Studios LLC/Builds/Pixum.app/.build/libtemplate/Builder.lua:333: in function ‘build’

?: in function ‘buildExe’

?: in function <?:624>

Not sure what changed between now and yesterday but I’m able to build my apps via macincloud again.  This is with the latest public release, 2393a, OSX version 10.9.5, and Xcode version 6.1.

borriero, I hope things are working for you as well.

Cool, thanks for the info! I will try it and I’ll let you know!

Yeah, it’s working now.

They had to change the xcode application name to Xcode.app instead of Xcode.app in order to get it working.