After upgrading from XCode 4.3.x to 4.4.1, I'm unable to link my Phidgets-based application. The symptoms are:
1. When I try to add the Phidgets21 library/framework to the project, it doesn't appear in the provided list of frameworks, and has to added manually (from /Library/Frameworks/Phidget21.framework).
2. When I try to build the application (with the framework added manually), the build fails with a link error:
ld: framework not found Phidget21
Does anybody have any experience with this? A fix and/or work-around?
isn't a folder on OS X 10.8 so i can't try that. When adding the phidget21.framework to my project (Build Phases -> Link Binary With Libraries) It already gives an error when building the the app. I haven't even included the header file yet...
Have this issue on OS X 10.8.2, Xcode 4.4.1. The example code from cocoa isn't working either.
Remembers me some troubles I got time ago with other frameworks... too long ago to still have the answer.
EDIT : I tried to compile by command lines, still perfectly works. But I'd love to to dit in xcode :/
EDIT2 : try to cpy to Dev/Lib/Fram but still go the same errors; update xcode to 4.6 (for cuda issues) still not working.
I'm getting the same error ('Phidget21/phidget21.h' file not found). I've tried all the suggestions that I could actually do but have had no luck. I'm on OSX 10.8.2 and Xcode 4.6.
If the file is not found, it just came from your frameworks search path, in building settings just add /Library/Frameworks ine the search path, the file will be found.
If it's a linker error just wait and hope someone will figure it out.
Is your include #include <Phidget21/phidget21.h> ?
have you checked that the framework is in the good directory?
Did the example runs on terminal?
(cd to example directory, gcc exmaple_you_want_to_run.c -o name_of_your_choice -framework Phidget21 -I/Library/Frameworks/Phidget21.framework/Headers and then run the .exe generated, if it doesn't works your framework should be in another directory, just move it to the good one, if it works, you may have made a mistake on xcode, fix it, and you will just have linker's error instead... :/)