Xcode 10, Swift 4 app with CoreNFC crashes in review on iOS 12

前端 未结 3 508
慢半拍i
慢半拍i 2021-01-12 00:15

My app created for iOS submitted to Appstoreconnect gets rejected as it crashes on launch in their review process.

My app uses CoreNFC framework. So

3条回答
  •  花落未央
    2021-01-12 00:28

    I had the same problem with my NFC Reader. It looks like iOS12 does not include CoreNFC for older devices (iPhone 6s, SE and older).

    I managed to fix it with device checks. In case an old device is trying to open the app I show a completely different storyboard with an error message that the device is not supported.

    To see an example, here is a link to the app: https://itunes.apple.com/us/app/nfc-reader-for-iphone/id1249686798

提交回复
热议问题