Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Build Failed on iOS
Started by raymondcheng Jan 03 2017 04:15 AM

3 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

raymondcheng

[GLOBAL: userInfoPane.html]
raymondcheng
  • Contributor

  • 181 posts
  • Corona SDK

There was a problem linking the app.

 

Corona SDK :2016.3009 (2016.12.21)

 

macOS :10.12.2 (16C67)

 

duplicate symbol _OBJC_CLASS_$_GADMRAIDResizeProperties in:
                        /Users/kinwahcheng/Desktop/Taiwan Lotto Power Free.app/.build/plugin.admob/libGoogleMobileAds.a(flat-armv7)
                        /Users/kinwahcheng/Desktop/Taiwan Lotto Power Free.app/.build/plugin.google.play.services/libgoogle-play-services.a(GADMRAIDResizeProperties.o)
                    duplicate symbol _OBJC_METACLASS_$_GADMRAIDResizeProperties in:
                        /Users/kinwahcheng/Desktop/Taiwan Lotto Power Free.app/.build/plugin.admob/libGoogleMobileAds.a(flat-armv7)
                        /Users/kinwahcheng/Desktop/Taiwan Lotto Power Free.app/.build/plugin.google.play.services/libgoogle-play-services.a(GADMRAIDResizeProperties.o)
                    ld: 201 duplicate symbols for architecture armv7
                    clang: error: linker command failed with exit code 1 (use -v to see invocation)
                    BUILD ERROR: There was a problem linking the app.


[TOPIC: post.html]
#2

ingemar_cl

[GLOBAL: userInfoPane.html]
ingemar_cl
  • Contributor

  • 673 posts
  • Alumni

Can you post your build.settings file?



[TOPIC: post.html]
#3

raymondcheng

[GLOBAL: userInfoPane.html]
raymondcheng
  • Contributor

  • 181 posts
  • Corona SDK

 
 
settings = {
 
orientation = {
default = "portrait",
    supported = { "portrait", "portraitUpsideDown"},
},
splashScreen = 
    {
        enable = true,
        image = "Default-Portrait@2x.png"
    },  
iphone =
    {
        plist=
        {
            NSCalendarsUsageDescription = "unused",
            NSPhotoLibraryUsageDescription =  "unused",
            NSCameraUsageDescription = "unused",       
            CFBundleIconFiles = {
            "Icon.png",
            "Icon@2x.png",
            "Icon-Small-40.png",
            "Icon-Small-40@2x.png",
            "Icon-Small-60.png",
            "Icon-Small-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"
         },
NSAppTransportSecurity =
          {
            NSExceptionDomains =
            {
                ["apps4market.com"] =
                {
                  NSIncludesSubdomains = true,
                  NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                },
            },
          },                  
       
        },
    },
 
androidPermissions = {
  "android.permission.INTERNET",
  "android.permission.ACCESS_NETWORK_STATE"
  },
android =
{
usesPermissions =
{
"android.permission.CAMERA",
"android.permission.WRITE_EXTERNAL_STORAGE",
},
usesFeatures =
{
{ name = "android.hardware.camera", required = false },
{ name = "android.hardware.camera.front", required = false },
},
},
plugins =
    {
        ["plugin.google.play.services"] =
        {
            publisherId = "com.coronalabs"
        },
         ["plugin.admob"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { iphone=true, android=true }
        },   
    }, 
     
}


[TOPIC: post.html]
#4

ingemar_cl

[GLOBAL: userInfoPane.html]
ingemar_cl
  • Contributor

  • 673 posts
  • Alumni

You should remove plugin.google.play.services from your build.settings.

 

It's not needed any more with the new AdMob plugin.




[topic_controls]
[/topic_controls]