美文网首页
iosopendev - preferences framewo

iosopendev - preferences framewo

作者: PengPengPro | 来源:发表于2017-05-13 11:39 被阅读57次

    ****origin****

    I want to create a preferencesLoader bundle using iOSOpenDev but when I create a new project, in the .h file there is an error :

    import <Preferences/Preferences.h> //Error: File not found

    I tried to import the framework manually after downloading it from github but it stills the same error.
    EDIT: after creating the project, Preferences framework is already inside the frameworks folder but it's showing in red.
    So how to fix it?

    Answer:

    Add the framework on the build phases of your target (not the project) on the Link library with libraries.

    Go to build settings of your target (not project) and on the library search path add the library path.

    On the Headers search path add the path for your h files.

    Wish it helps

    相关文章

      网友评论

          本文标题:iosopendev - preferences framewo

          本文链接:https://www.haomeiwen.com/subject/zbdxxxtx.html