BUILD ERROR: There was a problem linking the app. [Solved]

Seen a few people had this problem, still can’t find a fix for why it is happening to me :frowning:

<result>ld: warning: directory not found for option ‘-F/Users/keith/Desktop/build/test_build.app/Frameworks’

                    ld: library not found for -lcrt1.3.1.o

                    clang: error: linker command failed with exit code 1 (use -v to see invocation)</result>

May 02 05:33:47.780 ERROR: Builder failed: ld: warning: directory not found for option ‘-F/Users/keith/Desktop/build/test_build.app/Frameworks’

May 02 05:33:47.781 ld: library not found for -lcrt1.3.1.o

                    clang: error: linker command failed with exit code 1 (use -v to see invocation)

                    BUILD ERROR: There was a problem linking the app.

                    

                    Check the console for more information.

May 02 05:33:47.814 iOS build failed (12) after 20 seconds

May 02 05:33:48.217 ERROR: Build Failed: There was a problem linking the app.

                    

                    Check the console for more information.

Specifics for iOS with:

OS X 10.12.4 (16E195)

Corona Simulator Version 2017.3068 (2017.3.31)

XCode Version 8.3.2 (8E2002)

My build.settings look like this:

settings = { plugins = { -- key is the name passed to Lua's 'require()' ["CoronaProvider.native.popup.social"] = { -- required publisherId = "com.coronalabs", }, }, android = { versionCode = "10", usesPermissions = { "android.permission.INTERNET", "com.android.vending.BILLING", "android.permission.WRITE\_EXTERNAL\_STORAGE", }, }, orientation = { default = "portrait", supported = { "portrait" }, }, iphone = { plist = { UIApplicationExitsOnSuspend = false, UIStatusBarHidden = true, UIPrerenderedIcon = true, MinimumOSVersion="5.1.0", CFBundleDisplayName = "D-Fleet", CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png" }, }, components = {} } }
1 Like

it was the MinimumOSVersion, was set too low. Finally ran across another post where someone had the same problem…

Did you fixed the problem yet? I set the minimum os version to 9.0.0 for testing, but still got the same error. I am on 2017.3077.

This intermittent build failed is wasting my time  :mellow:, I know the need to update the infrastructure at US “sleep” time, but at least give us a post/warning if it is going to happen.
 

it was the MinimumOSVersion, was set too low. Finally ran across another post where someone had the same problem…

Did you fixed the problem yet? I set the minimum os version to 9.0.0 for testing, but still got the same error. I am on 2017.3077.

This intermittent build failed is wasting my time  :mellow:, I know the need to update the infrastructure at US “sleep” time, but at least give us a post/warning if it is going to happen.