Git Product home page Git Product logo

Comments (10)

Tricertops avatar Tricertops commented on June 8, 2024

You should be seeing this:

screen shot 2014-08-26 at 11 25 53

You should add the .xcodeproj file, not all source files directly. Then you can link to the static library.

Step 5 is about setting Header Search Paths or User Header Search Paths:

screen shot 2014-08-26 at 11 27 38

I have all external projects in Libraries/, you may have different. There are several ways to specify this path and using $(SRC_ROOT) is also one of them.

Maybe you can post some screenshots with your project?

from block-kvo.

niklasberglund avatar niklasberglund commented on June 8, 2024

Tried again, but can't get it to work. Attaching screenshots from my project.

image

image

from block-kvo.

niklasberglund avatar niklasberglund commented on June 8, 2024

Noticed that my lib folder is under another folder, so moved it up to root level but still have same issue.

from block-kvo.

Tricertops avatar Tricertops commented on June 8, 2024

You have to enter the relative path to the project. Is your lib/ directory in the same directory as .xcodeproj file?

from block-kvo.

niklasberglund avatar niklasberglund commented on June 8, 2024

It's in a directory above the .xcodeproj-file. Modified user header search paths and it's still the same. Seems like there's no issue with header files? Just getting the error about the .a file not being found.

from block-kvo.

Tricertops avatar Tricertops commented on June 8, 2024

Thatt's true. Let's check some other settings. Did you change any other paths to non-default values?

  • Pre-configuration Build Products Path
  • Pre-configuration Intermediate Build Products Path

My paths to products always end with Debug-iphoneos/ or Debug-iphonesimulator/. Your error is showing simply Debug/

from block-kvo.

niklasberglund avatar niklasberglund commented on June 8, 2024

It's an OS X project, that's why I don't have those. Haven't changed any other settings that I'm aware of, but did start from an example project so the example project author might've changed some settings. I'm about to switch to CocoaPods with this project anyways so probably won't have any issue with this. Just thought I'd let you know about the problem because I thought it was an issue with the instructions or BLock-KVO's project file. I'll try to set it up in another project and see if it works there.

from block-kvo.

niklasberglund avatar niklasberglund commented on June 8, 2024

Aw sorry, just saw that it's for iOS only. Thanks a lot for trying to help me out!

from block-kvo.

Tricertops avatar Tricertops commented on June 8, 2024

Ah, there is only lib for iOS, but the code will work on OS X too. Just add the sources directly or create OS X lib. You may even open Pull Request with OS X target.

from block-kvo.

niklasberglund avatar niklasberglund commented on June 8, 2024

Cool. I went ahead and did that: #24

from block-kvo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.