Skip to content
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

Error Running Code #81

Closed
hkfgo opened this issue Aug 2, 2014 · 8 comments
Closed

Error Running Code #81

hkfgo opened this issue Aug 2, 2014 · 8 comments

Comments

@hkfgo
Copy link

hkfgo commented Aug 2, 2014

I did everything as instructed(edited pod file, did pod install), but I'm getting this error running your demo code:
ld: library not found for -lPods
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Log:

Ld /Users/henrykatz/Library/Developer/Xcode/DerivedData/PNChartDemo-hjfbbjwccfkwwngvtswkbyoqjmoi/Build/Products/Debug-iphonesimulator/PNChartDemo.app/PNChartDemo normal i386
cd /Users/henrykatz/Downloads/PNChart-master
export IPHONEOS_DEPLOYMENT_TARGET=6.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/Users/henrykatz/Library/Developer/Xcode/DerivedData/PNChartDemo-hjfbbjwccfkwwngvtswkbyoqjmoi/Build/Products/Debug-iphonesimulator -F/Users/henrykatz/Library/Developer/Xcode/DerivedData/PNChartDemo-hjfbbjwccfkwwngvtswkbyoqjmoi/Build/Products/Debug-iphonesimulator -filelist /Users/henrykatz/Library/Developer/Xcode/DerivedData/PNChartDemo-hjfbbjwccfkwwngvtswkbyoqjmoi/Build/Intermediates/PNChartDemo.build/Debug-iphonesimulator/PNChartDemo.build/Objects-normal/i386/PNChartDemo.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -framework CoreGraphics -framework Foundation -framework QuartzCore -framework UIKit -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 -framework QuartzCore -framework CoreGraphics -framework UIKit -framework Foundation -lPods -Xlinker -dependency_info -Xlinker /Users/henrykatz/Library/Developer/Xcode/DerivedData/PNChartDemo-hjfbbjwccfkwwngvtswkbyoqjmoi/Build/Intermediates/PNChartDemo.build/Debug-iphonesimulator/PNChartDemo.build/Objects-normal/i386/PNChartDemo_dependency_info.dat -o /Users/henrykatz/Library/Developer/Xcode/DerivedData/PNChartDemo-hjfbbjwccfkwwngvtswkbyoqjmoi/Build/Products/Debug-iphonesimulator/PNChartDemo.app/PNChartDemo

@vicc
Copy link

vicc commented Aug 9, 2014

  1. Open up terminal
  2. cd into the PNChart-master folder
  3. type: "pod install" (without the quotes) & hit enter
  4. open PNChartDemo.xcworkspace
  5. 👍

@hkfgo
Copy link
Author

hkfgo commented Aug 9, 2014

Hi, thanks for the response! I decided to implement my project using Core Plot instead. I got much better results(though I had to read through a lot of confusing code as well).

@vicc
Copy link

vicc commented Aug 9, 2014

No worries glad you figured it out!

@sgs1
Copy link

sgs1 commented Oct 28, 2014

Hi!
I have this error, after i've typed "pod install"...

diff: /../Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

Why?
Thank yoU!

@vicc
Copy link

vicc commented Oct 29, 2014

You might find this answer on stack overflow useful. 😃

@sgs1
Copy link

sgs1 commented Oct 29, 2014

I've tried but i have the same error. :(

@Ne3maRayan
Copy link

hi
I'm bigger with iOS ,
i installed PNChart library , how can i import it in my project
plz help

@kevinzhow
Copy link
Owner

Please try pod way, just read the README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants