XCode etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
XCode etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

6 Haziran 2017 Salı

Unable to import DeviceCheck, CoreNFC in XCode 9 Beta while using Swift

for import DeviceCheck and Core NFC in XCode 9 you need to use real device as target because there is no x86 version of DeviceCheck and Core NFC frameworks.

Related pages:
Unable to import CoreNFC:
https://forums.developer.apple.com/message/232384#232384

Unable to import in CoreNFC in swift project Xcode 9 beta:
https://stackoverflow.com/questions/44386023/unable-to-import-in-corenfc-in-swift-project-xcode-9-beta

14 Temmuz 2016 Perşembe

XCode8 iMessage Swift 2.3 dyld: Symbol not found: __swift_getInitializedObjCClass ,Message.appex/../../Frameworks/libswiftCore.dylib

dyld: Symbol not found: __swift_getInitializedObjCClass
Referenced from: derived_path/PlugIns/Message.appex/Message
Expected In: derived_path/PlugIns/Message.appex/../../Frameworks/libswiftCore.dylib
in derived_path/PlugIns/Message.appex/Message

This problem occurs because of the difference of the target swift versions . You need to set swift version same in the both of the main target and imessage extension target.

Related apple developer forum post : https://forums.developer.apple.com/thread/48740

XCode8 How to use CocoaPod frameworks written in Swift 2.3 (CocoaPods Lagecy Swift)

If you are developing iOS apps with using XCode8 (with Swift 3.x or Swift 2.3) but your CocoaPod project always gets compile error because of your 3rd party targets implemented in Swift 2.3, you need to set SWIFT_VERSION property in build settings to '2.3'.

For dynamic frameworks, this property shown as "Use Legacy Swift Language Version" - Yes, No.

But after every pod update, CocoaPods removes this settings from Pods project and you need to set this settings again, manually.

To acheive this problem, you can use post_install script below in your Podfile :


Related Posts Plugin for WordPress, Blogger...