Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

ERROR: Build Failed: There was a problem linking the app.
Started by kueenarts Jan 28 2020 03:27 PM

2 replies to this topic
ios build error

Best Answer kueenarts , 02 February 2020 - 08:59 PM

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

[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

kueenarts

[GLOBAL: userInfoPane.html]
kueenarts
  • Observer

  • 5 posts
  • Corona SDK

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:
--
 
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
--
 
}
 


[TOPIC: post.html]
#2

kueenarts

[GLOBAL: userInfoPane.html]
kueenarts
  • Observer

  • 5 posts
  • Corona SDK

Any help on this ?



[TOPIC: post.html]
#3

kueenarts

[GLOBAL: userInfoPane.html]
kueenarts
  • Observer

  • 5 posts
  • Corona SDK

  Best Answer

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




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: ios build error