Search code examples
iosobjective-cswiftxcode8

filename.h file not found error in Xcode 8 while creating framework


I'm trying to create a framework using this steps https://www.raywenderlich.com/65964/create-a-framework-for-ios

I've imported the framework file into project and I can able to create object for the framework file and access the methods. But when I build the project it is telling that file is not found.


Solution

  • Make sure your .h file is in public section of 'Copy Headers' as shown in snap shot enter image description here

    • Just add you framework's bundle to embedded libraries as enter image description here