swift: add Haneke.framework to xcode 7.0.1 not work

懵懂的女人 提交于 2019-12-13 03:34:15

问题


I'm beginner in xcode and swift, So I'm try to add Haneke framework to my project. I do these steps:

  1. Drag Haneke.xcodeproj to your project in the Project Navigator.
  2. Select your project and then your app target. Open the Build Phases panel.
  3. Expand the Target Dependencies group, and add Haneke.framework.
  4. Click on the + button at the top left of the panel and select New Copy Files Phase. Set Destination to Frameworks, and add Haneke.framework.
  5. import Haneke whenever you want to use Haneke.

But I get this error in improt Haneke: No such module 'Haneke'

Also I'm tried to Clean and Build again but not work for me! Is there a mistake from me?

Edit: More Info I used swift 2.0 and xcode 7.0.1 and development target is 8.0 Also I added some screenshots


回答1:


Finally I found another solution, At first I opened Haneke project in xcode and create a build then Drag & Drop new compiled file (Haneke.framework) from build folder to my own project and it's working now for me.



来源:https://stackoverflow.com/questions/33241713/swift-add-haneke-framework-to-xcode-7-0-1-not-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!