ERROR: Build Failed: There was a problem linking the app.

Hi,

After I include CoronaProvider.gameNetwork.apple Plugin, IOS app never builds, If I remove that plugin then it works, Please can someone help on this. I use daily build - Corona-3556 with ios 13.2 sdk

Below is the exception which it gets printed.

ERROR: Builder failed: ld: warning: URGENT: building for iOS, but linking in object file (//.build/libtemplate/libtemplate.a(CoronaProvider.gameNetwork.o)) built for (unknown). Note: This will be an error in the future.

Jan 28 06:21:34.196 ld: warning: URGENT: building for iOS, but linking in object file (//.build/libtemplate/libtemplate.a(gameNetwork.o)) built for (unknown). Note: This will be an error in the future.

                    ld: warning: URGENT: building for iOS, but linking in object file (//.build/libtemplate/libtemplate.a(CoronaGameNetworkLibrary.o)) built for (unknown). Note: This will be an error in the future.

                    ld: warning: URGENT: building for iOS, but linking in object file (//.build/libtemplate/libtemplate.a(CoronaProvider.licensing.o)) built for (unknown). Note: This will be an error in the future.

                    ld: warning: URGENT: building for iOS, but linking in object file (//.build/libtemplate/libtemplate.a(licensing.o)) built for (unknown). Note: This will be an error in the future.

                    ld: warning: URGENT: building for iOS, but linking in object file (//.build/libtemplate/libtemplate.a(CoronaLicensingLibrary.o)) built for (unknown). Note: This will be an error in the future.

                    Undefined symbols for architecture armv7:

                      “___isPlatformVersionAtLeast”, referenced from:

                          Rtt::IPhonePlatform::SetNativeProperty(lua_State*, char const*, int) const in libtemplate.a(Rtt_IPhonePlatform.o)

                          -[Rtt_UITextView resetTextView] in libtemplate.a(Rtt_IPhoneTextBoxObject.o)

                          -[Rtt_UITextView updatePlaceholder] in libtemplate.a(Rtt_IPhoneTextBoxObject.o)

                          Rtt::IPhonePlatformBase::PushSystemInfo(lua_State*, char const*) const in libtemplate.a(Rtt_IPhonePlatformBase.o)

                          Rtt::IPhonePlatformBase::GetSafeAreaInsetsPixels(float&, float&, float&, float&) const in libtemplate.a(Rtt_IPhonePlatformBase.o)

                    ld: symbol(s) not found for architecture armv7

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

Jan 28 06:21:34.196 BUILD ERROR: There was a problem linking the app.

                    

                    Check the console for more information.

Jan 28 06:21:34.196 

Jan 28 06:21:34.200 iOS build failed (12) after 23 seconds

Jan 28 06:21:34.549 ERROR: Build Failed: There was a problem linking the app.

                    

                    Check the console for more information.

Jan 28 06:21:34.549 

And below is my build settings,

– For more information on build.settings, see the Project Build Settings guide at:

https://docs.coronalabs.com/guide/distribution/buildSettings

settings =

{

orientation =

{

– Supported values for orientation:

– portrait, portraitUpsideDown, landscapeLeft, landscapeRight

default = “portrait”,

supported = { “portrait”, },

},

window =

{

titleText =

{

default = “Little Bird Jump”,

},

},

– iOS section

iphone =

{

xcassets = “Images.xcassets”,

plist =

{

UIStatusBarHidden = false,

UILaunchStoryboardName = “LaunchScreen”,

},

},

 plugins =

    {

          [“CoronaProvider.gameNetwork.apple”] =

        {

            publisherId = “com.coronalabs”

        },

    },

– Project section

}

Any help on this ?

Figured out a work around, posting here incase if it’s helpful to someone.

  • Issue with linking app got resolved after I switch to older corona build Corona-3549 and IOS sdk 12.4 (older xcode)

  • however there is an issue using corona build less than 3555, There will be below warning message from itunes while uploading the package

ITMS-90809: Deprecated API Usage  - Apple will stop accepting submissions of apps that use UIWebView APIs . 

But this can be ignored, Apple will proceed to approve the app.

My game is approved now with Leaderboard option enabled - https://apps.apple.com/app/id1496537675