xcode gm ios 8 gm swift today extension crash in simulator and device: Library not loaded: @rpath/libswiftCore.dylib

前端 未结 2 774
遥遥无期
遥遥无期 2021-02-14 01:01

I get this error when I run my Today extension for iOS:

dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: /Users/andy/Library/Developer/Core         


        
相关标签:
2条回答
  • 2021-02-14 01:22

    I also met this problem, but Build settings -> "Embeded content contains Swift Code" -> YES invalid

    0 讨论(0)
  • 2021-02-14 01:31

    Build settings -> "Embeded content contains Swift Code" -> YES seems to do the trick.

    Thanks @dlinsin on twitter

    If still not working check this too: https://stackoverflow.com/a/25247890/2184338

    mine is: runpath search paths

    edit: if still still not:

    • Check "runpath search paths"
    • Check Linked Frameworks (I only have NotificationCenter.framework in my case)
    • Product->clean
    • Restart xcode
    • Restart machine
    • Check provisioning and signature
    0 讨论(0)
提交回复
热议问题