New warnings in iOS 9: “all bitcode will be dropped”

前端 未结 8 2334
执笔经年
执笔经年 2020-11-22 16:49

I have this new warning about the Google Framework in my app:

(null): URGENT: all bitcode will be dropped because \'/Users/myname/Library/Mobile D

8条回答
  •  青春惊慌失措
    2020-11-22 17:21

    Method canOpenUrl is in iOS 9 (due to privacy) changed and is not free to use any more. Your banner provider checks for installed apps so that they do not show banners for an app that is already installed.

    That gives all the log statements like

    -canOpenURL: failed for URL: "kindle://home" - error: "This app is not allowed to query for scheme kindle"

    The providers should update their logic for this.

    If you need to query for installed apps/available schemes you need to add them to your info.plist file.

    Add the key 'LSApplicationQueriesSchemes' to your plist as an array. Then add strings in that array like 'kindle'.

    Of course this is not really an option for the banner ads (since those are dynamic), but you can still query that way for your own apps or specific other apps like Twitter and Facebook.

    Documentation of the canOpenUrl: method canOpenUrl:

    Documentation about the LSApplicationQueriesSchemes key

提交回复
热议问题