-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to build project #229
Comments
Same here. |
I was able to get the debug version to build, but not release as of yet. Basically there is a sub project that needs to be built, which appears to be not configured to do so in the main Xcode project. I don't know that much about Xcode, so this is straining my brain to figure out honestly, but if you go into the Pods sub folder you will see an Xcode project. Open it and build it as DEBUG. Then go find the library binaries it builds and copy them into the DEBUG destination for gfxCardStatus. There are four of them:
After that go back to the main gxCardStatus Xcode project and build DEBUG. Worked for me. However it did not work for me on the release build, I got some errors about some kind of another incompatible lib, I will try to figure out later when my brain doesn't hurt. I think probably the main gfxCardStatus Xcode project needs to be updated to included information about the sub project, both how to build it first, as well as including the lib subproject lib binaries in the library search path for the main app build. Unfortunately I am not knowledgeable about Xcode to do that at this time. |
this is the error when trying to build release version in case anyone knows solution:
i get the same error while trying to build the Pods subproject as release also. |
Late to the party, but maybe someone else who happens upon this will get some use out of the instructions below. Caveat: I've got very little Xcode/Obj-C experience. NB: I'm running XCode 7.3.1 under 10.11.5 on an early-2011 MBP 15" At any rate, here's what I did. Again, I'm not at all sure if I've gone in the right direction, because some of the changes I've made were quite drastic in terms of dependencies. I hope that someone with more knowledge who's following the project will point out my mistakes.
Hope this helps. |
Tip-of-tree gfxCardStatus now builds like a champ—just open the .xcworkspace and hit ⌘B. |
I followed the instructions in the read me.
git clone --recursive git://github.com/codykrieger/gfxCardStatus.git
Open the project in Xcode 6.2, attempt to build it, get the following linker error:
ld: library not found for -lPods-gfxCardStatus-JRSwizzle clang: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered: