简体   繁体   中英

How to set associated domains for NFC background reading in iOS12

I'm trying to set up my NFC Reader app to support the new background reading feature in iOS12:

https://developer.apple.com/documentation/corenfc/adding_support_for_background_tag_reading?changes=latest_minor

But I'm really struggling with the associated domains part.

Next, enter the domain for each universal link supported by your app.

I tried adding the associated domain in different formats. For example:

mailto
mailto:

But I'm always getting this error from AppStoreConnect:

App Store Connect Operation Error ERROR ITMS-90046: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value 'mailto' for key 'com.apple.developer.associated-domains' in 'Payload/NFC Reader.app/NFC Reader' is not supported."

How do I set those associated domains correctly?

您的关联域应该是网站,而不是“mailto”或类似的东西。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM