Post

Replies

Boosts

Views

Activity

Simulator can't run app using CoreNFC w/ Xcode 12
After having upgraded to Xcode 12 I am no longer able to run my app using CoreNFC on simulators. After starting it immediately crashes with the following message (here from Xcode 12.2 Beta, but the same applies to Xcode 12.0 Stable). dyld: Library not loaded: /usr/lib/libnfshared.dylib   Referenced from: /Applications/Xcode-12.2.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreNFC.framework/CoreNFC   Reason: image not found I realize that the simulator does not have CoreNFC functionality, but the rest of the app should still be able to run as it did before. Unfortunately this also applies to previews, which are now no longer usable for any view inside this app. I had previously not explicitly linked against CoreNFC in the app project, but have now added it there and changed the status from required to optional in the "Link Binary with Libraries" section in the app's build phases, but this unfortunately has no effect on this issue. Thanks for any help!
1
0
878
Sep ’20