Building for simulator - "Build Failed: There was a problem linking the app."

Hi,

I am trying to build app for simulator (device works fine) and get the error

Build Failed: There was a problem linking the app.

I have attached the output from the terminal, below is my build.setting.

Corona SDK v3016

xCode 8.2.1

Mac Sierra 10.12.1
 

-- For more details on this file and what you can do with it, look here: -- https://docs.coronalabs.com/guide/distribution/buildSettings/index.html settings = { orientation = { default = "landscapeLeft", supported = { "landscapeRight", "landscapeLeft" }, }, plugins = { ['plugin.cc'] = {publisherId = 'com.roaminggamer'}, --['plugin.math2d'] = {publisherId = 'com.roaminggamer'}, ['plugin.vibrator'] = {publisherId = 'com.spiralcodestudio', supportedPlatforms = { iphone=false, android=true }}, ["plugin.hockey"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true } }, ["plugin.gpgs"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true } }, ["plugin.appodeal"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true, ["android-kindle"]=true, appletvos=true } }, }, android = { googlePlayGamesAppId = "########" }, iphone = { plist = { GooglePlayGamesOAuth2ClientId = "####-####.apps.googleusercontent.com", CFBundleURLTypes = { { CFBundleURLSchemes = { "com.googleusercontent.apps.#####-####" } }, { CFBundleURLSchemes = { "com.trucktrails" } }, }, NSAppTransportSecurity = { NSAllowsArbitraryLoads=true }, NSLocationAlwaysUsageDescription = { "Allows" }, NSLocationWhenInUseUsageDescription = { "Allows" }, --UIAppFonts = --{ -- "Harrrowprint.ttf", --}, UIStatusBarHidden = true, UIPrerenderedIcon = true, UIApplicationExitsOnSuspend = false, MinimumOSVersion = "8.0", UILaunchImages = { { -- iPhone 4 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 4 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 5 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPhone 5 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPad LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPad LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPhone 6 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 Plus LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-736h", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPhone 6 Plus LandscapeRight ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-736h", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPad Pro Landscape Right ["UILaunchImageMinimumOSVersion"] = "9.0", ["UILaunchImageName"] = "Default-Landscape-1366", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{1024, 1366}" }, { -- iPad Pro Landscape Left ["UILaunchImageMinimumOSVersion"] = "9.0", ["UILaunchImageName"] = "Default-Landscape-1366", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{1024, 1366}" }, }, }, }, }

Thanks,

Craig

Hi , 
This post might help you.

https://forums.coronalabs.com/topic/67284-unable-to-build-for-android/#entry348273

-Assif

Thanks,

I updated Corona to latest Daily Build 3023.

Tried the Hello World - worked perfectly

Removed Appodeal and GPGS from by build.setting, still get error.  Worked through removing all the plugins, finally got it to work when I removed [‘plugin.cc’] = {publisherId = ‘com.roaminggamer’}.

Thanks Assif.

Craig

Edit - Thought it was working as it got further, but the app is still not loading up.  When I reran HelloWorld, it is not giving me any error messages, but I do not see it in simulator…

cbriggsnz , did your issue solved ?

Look in your Corona console log window to see if there are additional messages.

Rob

I posted the console log.  It seems to be “[‘plugin.cc’] = {publisherId = ‘com.roaminggamer’}” that it doesn’t like, once I get rid of this it compiles OK, but when the simulator comes up there is not app.

Thanks

@cbriggsnz

What platform are you building from: Windows or a Mac?

What platform are you building for? iOS, Android, macOS etc?

What version of Corona SDK are you using?

Can you Copy/Paste the complete error message from the Corona Console Log screen (no screenshots please)

Thanks

Rob

Hi , 
This post might help you.

https://forums.coronalabs.com/topic/67284-unable-to-build-for-android/#entry348273

-Assif

Thanks,

I updated Corona to latest Daily Build 3023.

Tried the Hello World - worked perfectly

Removed Appodeal and GPGS from by build.setting, still get error.  Worked through removing all the plugins, finally got it to work when I removed [‘plugin.cc’] = {publisherId = ‘com.roaminggamer’}.

Thanks Assif.

Craig

Edit - Thought it was working as it got further, but the app is still not loading up.  When I reran HelloWorld, it is not giving me any error messages, but I do not see it in simulator…

cbriggsnz , did your issue solved ?

Look in your Corona console log window to see if there are additional messages.

Rob

I posted the console log.  It seems to be “[‘plugin.cc’] = {publisherId = ‘com.roaminggamer’}” that it doesn’t like, once I get rid of this it compiles OK, but when the simulator comes up there is not app.

Thanks

@cbriggsnz

What platform are you building from: Windows or a Mac?

What platform are you building for? iOS, Android, macOS etc?

What version of Corona SDK are you using?

Can you Copy/Paste the complete error message from the Corona Console Log screen (no screenshots please)

Thanks

Rob