This app is not allowed to query for scheme XYZ://

前端 未结 1 1924
北海茫月
北海茫月 2021-01-19 11:46

You might think it\'s a duplicate question, but it\'s not, I\'m totally aware of all the answers on SO about the canOpenURL and its caveats on iOS 9, but here i

相关标签:
1条回答
  • 2021-01-19 12:41

    I have found the solution to my own question. I'm answering it here instead of just deleting my question because it might help somebody someday.

    The problem here was that I'm trying to develop a framework for other developers, I have a test app that I'm using to check if everything is fine with my framework. I was setting LSApplicationQueriesSchemes values inside the framework target, not the actual test app. SO:

    You need to set the whitelist values in your app target's info.plist

    0 讨论(0)
提交回复
热议问题