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

Out of the box linker error #191

Open
patrickhno opened this issue Apr 13, 2013 · 1 comment
Open

Out of the box linker error #191

patrickhno opened this issue Apr 13, 2013 · 1 comment

Comments

@patrickhno
Copy link

X-Code Version 4.6
OSX 10.7.5

Ld /Users/patrick/Library/Developer/Xcode/DerivedData/SampleMap-fuanwvbafmrchqfhphvmsoooikxx/Build/Products/Debug-iphonesimulator/SampleMap.app/SampleMap normal i386
    cd /Users/patrick/develop/route-me/samples/SampleMap
    setenv IPHONEOS_DEPLOYMENT_TARGET 3.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/patrick/Library/Developer/Xcode/DerivedData/SampleMap-fuanwvbafmrchqfhphvmsoooikxx/Build/Products/Debug-iphonesimulator -F/Users/patrick/Library/Developer/Xcode/DerivedData/SampleMap-fuanwvbafmrchqfhphvmsoooikxx/Build/Products/Debug-iphonesimulator -filelist /Users/patrick/Library/Developer/Xcode/DerivedData/SampleMap-fuanwvbafmrchqfhphvmsoooikxx/Build/Intermediates/SampleMap.build/Debug-iphonesimulator/SampleMap.build/Objects-normal/i386/SampleMap.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=3.0 -framework Foundation -framework UIKit -framework CoreGraphics -framework CoreLocation -framework QuartzCore -lsqlite3 /Users/patrick/Library/Developer/Xcode/DerivedData/SampleMap-fuanwvbafmrchqfhphvmsoooikxx/Build/Products/Debug-iphonesimulator/libMapView.a -o /Users/patrick/Library/Developer/Xcode/DerivedData/SampleMap-fuanwvbafmrchqfhphvmsoooikxx/Build/Products/Debug-iphonesimulator/SampleMap.app/SampleMap

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_RMCloudMadeMapSource", referenced from:
      objc-class-ref in MainViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocat
@andrewljohnson
Copy link

Are you trying to build one of the sample projects? I see this forum post had the same issue a year ago, and says the solution You could correct the sample and offer a pull request:

https://groups.google.com/forum/?fromgroups=#!topic/route-me-map/YajRgFDoN00

I also think the samples work in the Alpstein fork: https://github.com/Alpstein/route-me

It might be a majority of route-me users use Alpstein now.

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

2 participants