iOS app with framework crashed on device, dyld: Library not loaded, Xcode 6 Beta

后端 未结 30 3036
鱼传尺愫
鱼传尺愫 2020-11-22 10:08

This crash has been a blocking issue I used the following steps to reproduce the issue:

  • Create a Cocoa Touch Framework project
  • Add a swift file and a
30条回答
  •  日久生厌
    2020-11-22 10:39

    You need to add the framework to a new Copy Files Build Phase to ensure that the framework is copied into the application bundle at runtime..

    See How to add a 'Copy Files build phase' to my Target for more information.

    Official Apple Docs: https://developer.apple.com/library/mac/recipes/xcode_help-project_editor/Articles/CreatingaCopyFilesBuildPhase.html

提交回复
热议问题