Compile error with UrbanAirpush about some files missing - ios

I got this error when compiling my code:
Ld /Users/owner12/Library/Developer/Xcode/DerivedData/BusinessIdea-degqppvjmvixescuvttxsvcksqtf/Build/Products/Debug-iphonesimulator/BusinessIdea.app/BusinessIdea normal i386
cd /Users/owner12/Desktop/BusinessIdea
setenv IPHONEOS_DEPLOYMENT_TARGET 6.0
setenv 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/iPhoneSimulator6.1.sdk -L/Users/owner12/Library/Developer/Xcode/DerivedData/BusinessIdea-degqppvjmvixescuvttxsvcksqtf/Build/Products/Debug-iphonesimulator -L/Users/owner12/Desktop/BusinessIdea/BusinessIdea/Airship -F/Users/owner12/Library/Developer/Xcode/DerivedData/BusinessIdea-degqppvjmvixescuvttxsvcksqtf/Build/Products/Debug-iphonesimulator -filelist /Users/owner12/Library/Developer/Xcode/DerivedData/BusinessIdea-degqppvjmvixescuvttxsvcksqtf/Build/Intermediates/BusinessIdea.build/Debug-iphonesimulator/BusinessIdea.build/Objects-normal/i386/BusinessIdea.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 -framework UIKit -framework Foundation -framework CoreGraphics -lUAirship-1.4.0 -lUAirshipFull-1.4.0 -o /Users/owner12/Library/Developer/Xcode/DerivedData/BusinessIdea-degqppvjmvixescuvttxsvcksqtf/Build/Products/Debug-iphonesimulator/BusinessIdea.app/BusinessIdea
Undefined symbols for architecture i386:
"_AudioServicesCreateSystemSoundID", referenced from:
-[UAPushNotificationHandler playNotificationSound:] in UAPushNotificationHandler.o
-[UAPushSettingsSoundsViewController tableView:didSelectRowAtIndexPath:] in UAPushSettingsSoundsViewController.o
"_AudioServicesPlayAlertSound", referenced from:
-[UAPushNotificationHandler playNotificationSound:] in UAPushNotificationHandler.o
-[UAPushSettingsSoundsViewController tableView:didSelectRowAtIndexPath:] in UAPushSettingsSoundsViewController.o
"_AudioServicesPlaySystemSound", referenced from:
-[UAPushNotificationHandler playNotificationSound:] in UAPushNotificationHandler.o
"_CFHTTPAuthenticationCopyMethod", referenced from:
-[UA_ASIHTTPRequest attemptToApplyProxyCredentialsAndResume] in libUAirship-1.4.0.a(UA_ASIHTTPRequest.o)
-[UA_ASIHTTPRequest attemptToApplyCredentialsAndResume] in libUAirship-1.4.0.a(UA_ASIHTTPRequest.o)
"_CFHTTPAuthenticationCopyRealm", referenced from:
-[UA_ASIHTTPRequest attemptToApplyProxyCredentialsAndResume] in libUAirship-1.4.0.a(UA_ASIHTTPRequest.o)
-[UA_ASIHTTPRequest attemptToApplyCredentialsAndResume] in libUAirship-1.4.0.a(UA_ASIHTTPRequest.o)
"_CFHTTPAuthenticationCreateFromResponse", referenced from:
-[UA_ASIHTTPRequest attemptToApplyProxyCredentialsAndResume] in libUAirship-1.4.0.a(UA_ASIHTTPRequest.o)
-[UA_ASIHTTPRequest attemptToApplyCredentialsAndResume] in libUAirship-1.4.0.a(UA_ASIHTTPRequest.o)
They are very cryptic and googling the whole error does not bring up much. Would anyone know why this happens and how to resolve this?
Thanks!

You have to add the following frameworks to your project. AudioServices, CFNetwork, SystemConfiguration, MobileCoreServices, zlib, and libxml2. For libxml2 and zlib, you have to add 2 entries to Header Search Paths in your build settings. /usr/include/ and /usr/include/libxml2/.
To add them (they are already included in Xcode), do this
Click the plus button, and add all the frameworks I listed above. (Cocoa.framework is not required, that's just from my project). This is located in your projects summary if you scroll down.

Related

I am creating a bar chart in iOS using TeleriKUi.framework but I got 3 linker error at run time

I am creating a bar chart in iOS using TeleriKUi.framework but I got 3 linker error at run time.
I am using Xcode 5.
Ld /Users/harikant/Library/Developer/Xcode/DerivedData/DemoChart-dhiujvurrxcrawfzlfqevsxfnlkg/Build/Products/Debug-iphonesimulator/DemoChart.app/DemoChart normal i386
cd /Users/harikant/Desktop/DemoChart
setenv IPHONEOS_DEPLOYMENT_TARGET 7.0
setenv 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.0.sdk -L/Users/harikant/Library/Developer/Xcode/DerivedData/DemoChart-dhiujvurrxcrawfzlfqevsxfnlkg/Build/Products/Debug-iphonesimulator -F/Users/harikant/Library/Developer/Xcode/DerivedData/DemoChart-dhiujvurrxcrawfzlfqevsxfnlkg/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -filelist /Users/harikant/Library/Developer/Xcode/DerivedData/DemoChart-dhiujvurrxcrawfzlfqevsxfnlkg/Build/Intermediates/DemoChart.build/Debug-iphonesimulator/DemoChart.build/Objects-normal/i386/DemoChart.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.0 -framework GameKit -framework TelerikUI -framework CoreGraphics -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/harikant/Library/Developer/Xcode/DerivedData/DemoChart-dhiujvurrxcrawfzlfqevsxfnlkg/Build/Intermediates/DemoChart.build/Debug-iphonesimulator/DemoChart.build/Objects-normal/i386/DemoChart_dependency_info.dat -o /Users/harikant/Library/Developer/Xcode/DerivedData/DemoChart-dhiujvurrxcrawfzlfqevsxfnlkg/Build/Products/Debug-iphonesimulator/DemoChart.app/DemoChart
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_UIBlurEffect", referenced from:
objc-class-ref in TelerikUI(SideDrawerSlideInOnTop.o)
"_OBJC_CLASS_$_UIVisualEffectView", referenced from:
objc-class-ref in TelerikUI(SideDrawerSlideInOnTop.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Did you link the UIKit framework in your project? Usually when you get a 'Undefined symbols for architecture' error you can copy the method which it references and paste that into Google and see what framework it came from, if that framework was not linked in your project then just add the framework and try again. In your case '_UIBlurEffect' was not found and Google tells me that it's part of the UIKit Framework from Apple.

Xcode embedding second project, linking error

I have a project that uses (or would like to) the route-me (alpstein fork). I have followed the installations interaction with some limited success.
I have dragged "MapView.xcodeproj" in to my project, I have added mapview.lib, to "target dependancies" and "link binaries with libraries".
if I go to my MapViewController, i can write all my code and I get no errors when importing RMmapView.h. So the compiler is seeing the imported library, however when i build the application I get this error
d /Users/macuser/Library/Developer/Xcode/DerivedData/G4EMA-djubtvaxtspjxbbolnkeaoatnyqd/Build/Products/Debug-iphonesimulator/G4EMA.app/G4EMA normal i386
cd /Users/macuser/Dropbox/G4EMA
setenv IPHONEOS_DEPLOYMENT_TARGET 5.1
setenv 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.0.sdk -L/Users/macuser/Library/Developer/Xcode/DerivedData/G4EMA-djubtvaxtspjxbbolnkeaoatnyqd/Build/Products/Debug-iphonesimulator -LRM -LRM/Alpstein-route-me-f06f2d0 -LRM/MapView -LRM/Proj4 -LRM/samples -LRM/Alpstein-route-me-f06f2d0/MapView -LRM/Alpstein-route-me-f06f2d0/Proj4 -LRM/Alpstein-route-me-f06f2d0/samples -LRM/MapView/Map -LRM/MapView/UnitTesting -LRM/samples/LayeredMap -LRM/samples/MapMemoryLeaksCheck -LRM/samples/MapTestbed -LRM/samples/MapTestbedFlipMaps -LRM/samples/MapTestbedTwoMaps -LRM/samples/MarkerMurder -LRM/samples/ProgrammaticMap -LRM/Alpstein-route-me-f06f2d0/MapView/Map -LRM/Alpstein-route-me-f06f2d0/MapView/UnitTesting -LRM/Alpstein-route-me-f06f2d0/samples/LayeredMap -LRM/Alpstein-route-me-f06f2d0/samples/MapMemoryLeaksCheck -LRM/Alpstein-route-me-f06f2d0/samples/MapTestbed -LRM/Alpstein-route-me-f06f2d0/samples/MapTestbedFlipMaps -LRM/Alpstein-route-me-f06f2d0/samples/MapTestbedTwoMaps -LRM/Alpstein-route-me-f06f2d0/samples/MarkerMurder -LRM/Alpstein-route-me-f06f2d0/samples/ProgrammaticMap -LRM/MapView/Map/FMDB -LRM/MapView/Map/Resources -LRM/MapView/Map/SMCalloutView -LRM/samples/LayeredMap/Classes -LRM/samples/MapMemoryLeaksCheck/Classes -LRM/samples/MapTestbed/Classes -LRM/samples/MapTestbedFlipMaps/Classes -LRM/samples/MapTestbedTwoMaps/Classes -LRM/samples/MarkerMurder/Classes -LRM/samples/ProgrammaticMap/Classes -LRM/Alpstein-route-me-f06f2d0/MapView/Map/FMDB -LRM/Alpstein-route-me-f06f2d0/MapView/Map/Resources -LRM/Alpstein-route-me-f06f2d0/MapView/Map/SMCalloutView -LRM/Alpstein-route-me-f06f2d0/samples/LayeredMap/Classes -LRM/Alpstein-route-me-f06f2d0/samples/MapMemoryLeaksCheck/Classes -LRM/Alpstein-route-me-f06f2d0/samples/MapTestbed/Classes -LRM/Alpstein-route-me-f06f2d0/samples/MapTestbedFlipMaps/Classes -LRM/Alpstein-route-me-f06f2d0/samples/MapTestbedTwoMaps/Classes -LRM/Alpstein-route-me-f06f2d0/samples/MarkerMurder/Classes -LRM/Alpstein-route-me-f06f2d0/samples/ProgrammaticMap/Classes -F/Users/macuser/Library/Developer/Xcode/DerivedData/G4EMA-djubtvaxtspjxbbolnkeaoatnyqd/Build/Products/Debug-iphonesimulator -filelist /Users/macuser/Library/Developer/Xcode/DerivedData/G4EMA-djubtvaxtspjxbbolnkeaoatnyqd/Build/Intermediates/G4EMA.build/Debug-iphonesimulator/G4EMA.build/Objects-normal/i386/G4EMA.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -objc,-all_load -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=5.1 /Users/macuser/Library/Developer/Xcode/DerivedData/G4EMA-djubtvaxtspjxbbolnkeaoatnyqd/Build/Products/Debug-iphonesimulator/libMapView.a -lz -framework SystemConfiguration -lsqlite3 -framework QuartzCore -framework CoreLocation -framework UIKit -framework Foundation -framework CoreGraphics -Xlinker -dependency_info -Xlinker /Users/macuser/Library/Developer/Xcode/DerivedData/G4EMA-djubtvaxtspjxbbolnkeaoatnyqd/Build/Intermediates/G4EMA.build/Debug-iphonesimulator/G4EMA.build/Objects-normal/i386/G4EMA_dependency_info.dat -o /Users/macuser/Library/Developer/Xcode/DerivedData/G4EMA-djubtvaxtspjxbbolnkeaoatnyqd/Build/Products/Debug-iphonesimulator/G4EMA.app/G4EMA
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_RMTileImage", referenced from:
objc-class-ref in libMapView.a(RMMapTiledLayerView.o)
"_RMTileDummy", referenced from:
-[RMFractalTileProjection normaliseTile:] in libMapView.a(RMFractalTileProjection.o)
"_RMTileKey", referenced from:
+[RMTileCache tileHash:] in libMapView.a(RMTileCache.o)
-[RMAbstractWebMapSource imageForTile:inCache:] in libMapView.a(RMAbstractWebMapSource.o)
___47-[RMAbstractWebMapSource imageForTile:inCache:]_block_invoke in libMapView.a(RMAbstractWebMapSource.o)
___47-[RMAbstractWebMapSource imageForTile:inCache:]_block_invoke108 in libMapView.a(RMAbstractWebMapSource.o)
___42-[RMCompositeSource imageForTile:inCache:]_block_invoke in libMapView.a(RMCompositeSource.o)
___42-[RMCompositeSource imageForTile:inCache:]_block_invoke_2 in libMapView.a(RMCompositeSource.o)
"_RMTileMake", referenced from:
-[RMMapTiledLayerView drawLayer:inContext:] in libMapView.a(RMMapTiledLayerView.o)
-[RMTileCache beginBackgroundCacheForTileSource:southWest:northEast:minZoom:maxZoom:] in libMapView.a(RMTileCache.o)
___85-[RMTileCache beginBackgroundCacheForTileSource:southWest:northEast:minZoom:maxZoom:]_block_invoke_2 in libMapView.a(RMTileCache.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am truly at a loss as to why this is happening, my Research on s/o has drawn a blank so any information or pointers would be appreciated.

Linker Error with Tests in Xcode

I was following along the instructions for building tests using xcode/appcode from TDD site. I got through the initial part ok and started to experiment in my own project, but I keep getting a linking error and can't figure out where from?
The output I get is this
Ld /Users/prasanth/Library/Developer/Xcode/DerivedData/acidplus-ctbnayjfiyhfxkccqyopjsnfagos/Build/Products/Debug-iphonesimulator/acidplusTests.octest/acidplusTests normal i386
cd /Volumes/Defiant/Freeradical/freeradical_newacidbase/acidplus
setenv IPHONEOS_DEPLOYMENT_TARGET 6.1
setenv 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 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/prasanth/Library/Developer/Xcode/DerivedData/acidplus-ctbnayjfiyhfxkccqyopjsnfagos/Build/Products/Debug-iphonesimulator -LLibs/OCMock/iOS -LLibs/OCMock/iOS/OCMock -F/Users/prasanth/Library/Developer/Xcode/DerivedData/acidplus-ctbnayjfiyhfxkccqyopjsnfagos/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -filelist /Users/prasanth/Library/Developer/Xcode/DerivedData/acidplus-ctbnayjfiyhfxkccqyopjsnfagos/Build/Intermediates/acidplus.build/Debug-iphonesimulator/acidplusTests.build/Objects-normal/i386/acidplusTests.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -force_load Libs/OCMock/iOS/libOCMock.a -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.1 -framework CoreGraphics -framework SenTestingKit -framework UIKit -framework Foundation -lOCMock -o /Users/prasanth/Library/Developer/Xcode/DerivedData/acidplus-ctbnayjfiyhfxkccqyopjsnfagos/Build/Products/Debug-iphonesimulator/acidplusTests.octest/acidplusTests
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_BPG_testModelObject", referenced from:
objc-class-ref in testModelTest.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I tried looking at missing Sources or Linked libraries, but couldn't find anything. Anyone know what else could be wrong?
thanks!
Have you tried the following:
Go to XCode, Under Project -> do a clean and Build your solution again.

Apple Match - O Linker (Id) Error

I don't know what this error is saying. The retrievePatients method interacts with a WSDL file. What is the error exactly? What do I search for to fix it?
Thanks!
Ld /Users/chibb9/Library/Developer/Xcode/DerivedData/AllRelatedMethodsDemo-cixcxshgvqywvcgbqxcivzvomzuf/Build/Products/Debug-iphonesimulator/AllRelatedMethodsDemo.app/AllRelatedMethodsDemo normal i386
cd "/Users/chibb9/MEDiSN Research/AllRelatedMethodsDemo"
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang
-arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk
-L/Users/chibb9/Library/Developer/Xcode/DerivedData/AllRelatedMethodsDemo-cixcxshgvqywvcgbqxcivzvomzuf/Build/Products/Debug-iphonesimulator
-F/Users/chibb9/Library/Developer/Xcode/DerivedData/AllRelatedMethodsDemo-cixcxshgvqywvcgbqxcivzvomzuf/Build/Products/Debug-iphonesimulator
-filelist /Users/chibb9/Library/Developer/Xcode/DerivedData/AllRelatedMethodsDemo-cixcxshgvqywvcgbqxcivzvomzuf/Build/Intermediates/AllRelatedMethodsDemo.build/Debug-iphonesimulator/AllRelatedMethodsDemo.build/Objects-normal/i386/AllRelatedMethodsDemo.LinkFileList
-mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -lxml2 -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 -framework SystemConfiguration -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/chibb9/Library/Developer/Xcode/DerivedData/AllRelatedMethodsDemo-cixcxshgvqywvcgbqxcivzvomzuf/Build/Products/Debug-iphonesimulator/AllRelatedMethodsDemo.app/AllRelatedMethodsDemo
Undefined symbols for architecture i386: "_retrievePatients", referenced from:
-[MEDiSN20AidnWebServiceRunner run] in MEDiSN20AidnWebServiceRunner.o "_OBJC_METACLASS_$_NSManagedObject", referenced from:
_OBJC_METACLASS_$_Download in Download.o "_OBJC_CLASS_$_NSManagedObject", referenced from:
_OBJC_CLASS_$_Download in Download.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
In Download.h or .m, link against and #import <CoreData/CoreData.h>

Coreplot for implementing barchart

Am implementing barchart using coreplot...am getting the errors bellow which am unable to debug. Can anybody please help me out with the solution for this..Tried all ways but still couldn find the solution.
Ld /Users/MacMini/Library/Developer/Xcode/DerivedData/DashBoard-cmeoxsnbrnrzrkcwmgmfxqlfuzvo/Build/Products/Debug-iphonesimulator/DashBoard.app/DashBoard normal i386
cd /Users/MacMini/Desktop/DashBoard
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/Users/MacMini/Library/Developer/Xcode/DerivedData/DashBoard-cmeoxsnbrnrzrkcwmgmfxqlfuzvo/Build/Products/Debug-iphonesimulator -L/Users/MacMini/Desktop/DashBoard -F/Users/MacMini/Library/Developer/Xcode/DerivedData/DashBoard-cmeoxsnbrnrzrkcwmgmfxqlfuzvo/Build/Products/Debug-iphonesimulator -F/Users/MacMini/Desktop/DashBoard -filelist /Users/MacMini/Library/Developer/Xcode/DerivedData/DashBoard-cmeoxsnbrnrzrkcwmgmfxqlfuzvo/Build/Intermediates/DashBoard.build/Debug-iphonesimulator/DashBoard.build/Objects-normal/i386/DashBoard.LinkFileList -mmacosx-version-min=10.6 -ObjC -all_load -Xlinker -objc_abi_version -Xlinker 2 -framework QuartzCore -lCorePlot-CocoaTouch -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/MacMini/Library/Developer/Xcode/DerivedData/DashBoard-cmeoxsnbrnrzrkcwmgmfxqlfuzvo/Build/Products/Debug-iphonesimulator/DashBoard.app/DashBoard
Undefined symbols for architecture i386:
"_CPTDecimalFromDouble", referenced from:
-[Barchart viewDidLoad] in Barchart.o
"_OBJC_CLASS_$_CPTGraphHostingView", referenced from:
objc-class-ref in Barchart.o
"_OBJC_CLASS_$_CPTXYGraph", referenced from:
objc-class-ref in Barchart.o
"_OBJC_CLASS_$_CPTPlotRange", referenced from:
objc-class-ref in Barchart.o
"_OBJC_CLASS_$_CPTBarPlot", referenced from:
objc-class-ref in Barchart.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This page (in the comments section) may help you with that: http://code.google.com/p/core-plot/wiki/UsingCorePlotInApplications
And this is a previous Stack Overflow question that looks like yours:
Using Core Plot iPhone - Linker error
Here are some fixes I found on the pages above:
In CorePlot-CocoaTouch project settings, change iOS Deployment Target to 3.2
change Build Active Architecture Only to No for all configurations
change C/C++ Compiler Version from GCC 4.2 to LLVM GCC 4.2
Reinstall Core-Plot after downloading its latest stable version

Resources