iosxcodeswifthaneke

swift: add Haneke.framework to xcode 7.0.1 not work


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

image1

image2

image3


Solution

  • 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.