dyld: Library not loaded: @rpath/CoreNFC.framework/CoreNFC, iOS11 and Xcode 9 beta
问题 I get this error and app get crash while run CoreNFC sample code in Xcode 9.0 beta 2 dyld: Library not loaded: @rpath/CoreNFC.framework/CoreNFC Referenced from: /var/containers/Bundle/Application/2837709C-C852-4811-B696-38F2725554D4/iOS-11-by-Examples.app/iOS-11-by-Examples Reason: image not found Does anyone knows how to fix this? 回答1: I combined some answers together to fix this thanks to @Chinchan Zu's comment here is how to mark Core NFC as Optional stackoverflow question First you make