Our app created for iOS was rejected as it crashes on launch in their review process with error
Termination Description: DYLD, Library not loaded: /System/Library/Frameworks/CoreNFC.framework/CoreNFC
The app uses NFC and we followed the NFC example at https://www.b4x.com/android/forum/threads/nfc-reading-ndef-tags.84784/.
So this app is compatible with devices iPhone 7, 8, X.. with iOS 11 or higher. App works when we test it in house on ios 11 and 12 (we only have devices with NFC), we have the iNFC library in the main library folder for our B4i installation and is ticked in the library manager.
Apple tested in on iOS 12.1.3 and It looks like iOS12 does not include CoreNFC for older devices (iPhone 6s, SE and older).
I have seen posts on forums for Xcode developers which say they need to mark the CoreNFC as optional rather than required.
https://stackoverflow.com/questions...-app-with-corenfc-crashes-in-review-on-ios-12
https://stackoverflow.com/questions...orenfc-ios11-and-xcode-9-be/52868674#52868674
Can you help with a solution to this please.
Thank you
Lisa
Crashlog
OS Version: iPhone OS 12.1.3 (16D39)
Baseband Version: 7.32.00
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Description: DYLD, Library not loaded: /System/Library/Frameworks/CoreNFC.framework/CoreNFC | Referenced from: /var/containers/Bundle/Application/E66E4873-44B0-45DC-A7F4-B76BBB441AFA/xxxx.app/xxxx | Reason: image not found
Termination Description: DYLD, Library not loaded: /System/Library/Frameworks/CoreNFC.framework/CoreNFC
The app uses NFC and we followed the NFC example at https://www.b4x.com/android/forum/threads/nfc-reading-ndef-tags.84784/.
So this app is compatible with devices iPhone 7, 8, X.. with iOS 11 or higher. App works when we test it in house on ios 11 and 12 (we only have devices with NFC), we have the iNFC library in the main library folder for our B4i installation and is ticked in the library manager.
Apple tested in on iOS 12.1.3 and It looks like iOS12 does not include CoreNFC for older devices (iPhone 6s, SE and older).
I have seen posts on forums for Xcode developers which say they need to mark the CoreNFC as optional rather than required.
https://stackoverflow.com/questions...-app-with-corenfc-crashes-in-review-on-ios-12
https://stackoverflow.com/questions...orenfc-ios11-and-xcode-9-be/52868674#52868674
Can you help with a solution to this please.
Thank you
Lisa
Crashlog
OS Version: iPhone OS 12.1.3 (16D39)
Baseband Version: 7.32.00
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Description: DYLD, Library not loaded: /System/Library/Frameworks/CoreNFC.framework/CoreNFC | Referenced from: /var/containers/Bundle/Application/E66E4873-44B0-45DC-A7F4-B76BBB441AFA/xxxx.app/xxxx | Reason: image not found