Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

BUILD ERROR: There was a problem linking the app.
Started by cv13399 Dec 15 2019 08:17 PM

2 replies to this topic
firebase build error
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

cv13399

[GLOBAL: userInfoPane.html]
cv13399
  • Observer

  • 2 posts
  • Corona SDK

Hi, I'm using Corona 3474 with Xcode 10.2.1 (IOS 12.2).
I got this error today. And it didn't happen last week.

The log is below:

https://pastebin.com/LHnRACww

 

This is my build settings:

settings =
{
  build =
  {
    neverStripDebugInfo = true
  },

  plugins =
  {
    ["plugin.firebaseAnalytics"] = { publisherId = "tech.scotth" },
    ["plugin.firebaseConfig"] = {publisherId = "tech.scotth"},
    ["plugin.kochava"] = { publisherId = "com.coronalabs",},
    ["plugin.reviewPopUp"]          = {publisherId = "tech.scotth"},
    ["plugin.iCloud"]               = { publisherId = "com.coronalabs",supportedPlatforms = { iphone=true, osx=true, appletvos=true }},
    ["plugin.notifications"]        = { publisherId = "com.coronalabs" },
    ["plugin.advertisingId"]        = { publisherId = "com.coronalabs" }, -- Apple only
    ["plugin.chartboost"]           = { publisherId = "com.swipeware" },
    ["plugin.google.iap.v3"]        = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } },
    ["plugin.amazon.iap"]           = { publisherId = "com.coronalabs", supportedPlatforms={ ["android-kindle"]=true} },
    ["plugin.CoronaSplashControl"]  = { publisherId = "com.coronalabs" },
    ["plugin.zip"]                  = { publisherId = "com.coronalabs" },
    ["CoronaProvider.native.popup.activity"] = {publisherId = "com.coronalabs", supportedPlatforms = { iphone=true } },
    ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" },
  },

  splashScreen = { enable = false },

  orientation =
  {
      default = "landscapeRight",
      supported = {"landscapeRight", "landscapeLeft"} -- "portrait", "portraitUpsideDown"}
  },  

  iphone =
  {
    xcassets = "Images.xcassets",
    plist = 
    { 
          ITSAppUsesNonExemptEncryption = false,
          NSMicrophoneUsageDescription = 'This app features voice recording games.',
          NSPhotoLibraryUsageDescription = "This app would like to access the photo library.",
          NSPhotoLibraryAddUsageDescription = "This app would like to add the photo library.",
          NSCameraUsageDescription = "Used to scan QR codes and barcodes.",
          NSAppTransportSecurity =
             {

                NSExceptionDomains =
                {

                  -- DK toolbox 
                  ["sp-cert.tbxnet.com"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                  ["sp.tbxnet.com/v2"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                  ["unity.tbxapis.com"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                  ["unity-cert.tbxapis.com"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },

                  --GEO IP DOMAINS TO ALLOW
                  ["freegeoip.net"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                   -- for webViewSocket on ios 9
                   ["localhost"] = { NSExceptionAllowsInsecureHTTPLoads = true, NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true },

                   ["key.i-learn.vn"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true },
                   -- ["studycat.cn"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true },
                   -- ["members.studycat.cn"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true },
                   
                   ["api.studycat.net"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true },
                   ["info.studycat.net"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true },
                   ["myip.dnsomatic.com"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                   ["integrator.imusica.com.br"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                   ["hmg.integrator.imusica.com.br"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                   ["telize.com"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                   ["ipinfo.io"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },

                   ["volume.itunes.apple.com"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                   
                   ["apps.studycat.net"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },


                   ["subs.studycat.net"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                   ["apple.com"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                   ["coronalabs.com"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },

                   ["api.dev.funenglishjr.com"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                   ["funenglishjr.com"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },                   
                   ["api.funenglishjr.com"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                   ["funenglishjr.cn"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                   ["api.funenglishjr.cn"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },                   
                   ["dynamodb.ap-southeast-1.amazonaws.com"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                   ["dynamodb.us-west-2.amazonaws.com"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                   ["cognito-idp.ap-southeast-1.amazonaws.com"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                   ["dynamodb.us-west-2.amazonaws.com"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                   ["cognito-idp.us-west-2.amazonaws.com"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                   ["maxcdn.bootstrapcdn.com"] =
                   {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },
                   ["google-analytics.com"] = {
                      NSIncludesSubdomains = true,
                      NSThirdPartyExceptionAllowsInsecureHTTPLoads = true
                   },

                },
             },
            UIStatusBarHidden = true, 
            UIPrerenderedIcon = true,

            CFBundleIdentifier = "net.studycat.scamp",
            CFBundleDisplayName = "SCAMP",
            CFBundleVersion = "1", -- use date
            CFBundleShortVersionString = "1.0",

            UILaunchStoryboardName = "LaunchScreen",

            CFBundleLocalizations = 
            {
                "en",
                "gb",
                "fr",
                "de",
                "it",
                "es",
                "pt",
                "ja",
                "zh-Hans",
                "zh-Hant",

                --"ar",
                "da",
                "nl",
                "fi",
                "ko",
                "nb",
                "ru",
                "sv",
                "tr",
                "vi",
            },
    }
  },

  android =
  {
    strings = 
        {
            ["google_app_id"] = "build-script-replaces-this"
        },
    useGoogleServicesJson = true,
    supportsScreens =
        {
            smallScreens  = true,
            normalScreens = true,
            largeScreens  = true,
            xlargeScreens = true,
        },
     intentFilters = {
       {
         actions = { "android.intent.action.VIEW" },
         categories ={
           "android.intent.category.DEFAULT",
           "android.intent.category.BROWSABLE",
         },
         data = {scheme = "https", host = "funenglishjr.cn", pathPrefix="/login" },
       },
       {
         actions = { "android.intent.action.VIEW" },
         categories ={
           "android.intent.category.DEFAULT",
           "android.intent.category.BROWSABLE",
         },
         data = {scheme = "http", host = "funenglishjr.cn", pathPrefix="/login" },
       },
       {
         actions = { "android.intent.action.VIEW" },
         categories ={
           "android.intent.category.DEFAULT",
           "android.intent.category.BROWSABLE",
         },
         data = {scheme = "https", host = "studycat.cn", pathPrefix = "/fejr/login" },
       },
       {
         actions = { "android.intent.action.VIEW" },
         categories ={
           "android.intent.category.DEFAULT",
           "android.intent.category.BROWSABLE",
         },
         data = {scheme = "http", host = "studycat.cn", pathPrefix = "/fejr/login" },
       },
     },
      largeHeap = true,           -- only takes effect on android 3.0 and above.
      usesExpansionFile = false,  -- overwritten by build script
      -- versionCode = 3,  TODO: this should be manipulated by build script.
      usesPermissions = {
         "com.android.vending.BILLING",
         "android.permission.INTERNET",
         "com.android.vending.CHECK_LICENSE",
         "android.permission.WRITE_EXTERNAL_STORAGE",
         "android.permission.RECORD_AUDIO",
         "android.permission.CAMERA",
         "android.permission.ACCESS_NETWORK_STATE"
      },
  },

  window = 
  {
      titleText = {
        default = "Fun English for Schools",
      },
      suspendWhenMinimized = true,
      enableCloseButton = true,
      enableMinimizeButton = true,
      defaultMode = "fullscreen",
      minViewWidth = 1280,
      minViewHeight = 720,
  },
  osx = {
      entitlements = {
          ["com.apple.security.assets.pictures.read-write"] = true,
      },
  },



}

I need to release this app before Apple goes on vacation.
Any help will be appreciated!
 



[TOPIC: post.html]
#2

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,307 posts
  • Corona SDK

It looks like a problem with the firebase plugins. So i would start with commenting out those two plugins and see if it will build:

    ["plugin.firebaseAnalytics"] = { publisherId = "tech.scotth" },
    ["plugin.firebaseConfig"] = {publisherId = "tech.scotth"}


[TOPIC: post.html]
#3

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,539 posts
  • Enterprise

I believe I saw other posts from Scott where he's fixing some issues on iOS 13.

 

Rob




[topic_controls]
[/topic_controls]

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