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

Build error #5

Open
sindresorhus opened this issue Sep 10, 2013 · 0 comments
Open

Build error #5

sindresorhus opened this issue Sep 10, 2013 · 0 comments

Comments

@sindresorhus
Copy link

I built it against Ti SDK 3.1.2 and then included it in my project, but it causes the whole project build to fail.

Ld /Users/sindresorhus/Library/Developer/Xcode/DerivedData/Forkortelser-ggxwdblqewfmqhdmzdekbxhstmdb/Build/Products/Debug-iphonesimulator/Forkortelser.app/Forkortelser normal i386
    cd /Users/sindresorhus/dev/titanium/Forkortelser/build/iphone
    setenv IPHONEOS_DEPLOYMENT_TARGET 5.0
    setenv PATH "/Applications/Xcode5-DP6.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode5-DP6.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode5-DP6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch i386 -isysroot /Applications/Xcode5-DP6.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -L/Users/sindresorhus/Library/Developer/Xcode/DerivedData/Forkortelser-ggxwdblqewfmqhdmzdekbxhstmdb/Build/Products/Debug-iphonesimulator -L/Users/sindresorhus/dev/titanium/Forkortelser/build/iphone/lib -L/Users/sindresorhus/dev/titanium/Forkortelser/modules/iphone/ti.social/0.2 -F/Users/sindresorhus/Library/Developer/Xcode/DerivedData/Forkortelser-ggxwdblqewfmqhdmzdekbxhstmdb/Build/Products/Debug-iphonesimulator -filelist /Users/sindresorhus/Library/Developer/Xcode/DerivedData/Forkortelser-ggxwdblqewfmqhdmzdekbxhstmdb/Build/Intermediates/Forkortelser.build/Debug-iphonesimulator/Forkortelser.build/Objects-normal/i386/Forkortelser.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -weak_framework iAd -weak_framework iAd -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=5.0 -framework EventKit -framework EventKitUI -weak_framework Security -licucore -framework Foundation -weak_framework UIKit -framework CoreGraphics -weak_framework AddressBook -framework AddressBookUI -framework CFNetwork -framework CoreLocation -framework MapKit -framework MessageUI -framework MobileCoreServices -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -lsqlite3 -lz -framework AudioToolbox -weak_framework MediaPlayer -framework AVFoundation -lxml2 -framework StoreKit -lTiCore -lti.social -framework ExternalAccessory -ltiverify -lti_ios_debugger -lti_ios_profiler -Xlinker -dependency_info -Xlinker /Users/sindresorhus/Library/Developer/Xcode/DerivedData/Forkortelser-ggxwdblqewfmqhdmzdekbxhstmdb/Build/Intermediates/Forkortelser.build/Debug-iphonesimulator/Forkortelser.build/Objects-normal/i386/Forkortelser_dependency_info.dat -o /Users/sindresorhus/Library/Developer/Xcode/DerivedData/Forkortelser-ggxwdblqewfmqhdmzdekbxhstmdb/Build/Products/Debug-iphonesimulator/Forkortelser.app/Forkortelser

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_SLComposeViewController", referenced from:
      objc-class-ref in libti.social.a(TiSocialModule.o)
  "_SLServiceTypeFacebook", referenced from:
      -[TiSocialModule isFacebookSupported] in libti.social.a(TiSocialModule.o)
      -[TiSocialModule createFacebookDialog:] in libti.social.a(TiSocialModule.o)
  "_SLServiceTypeSinaWeibo", referenced from:
      -[TiSocialModule isSinaWeiboSupported] in libti.social.a(TiSocialModule.o)
      -[TiSocialModule createSinaWeiboDialog:] in libti.social.a(TiSocialModule.o)
  "_SLServiceTypeTwitter", referenced from:
      -[TiSocialModule isTwitterSupported] in libti.social.a(TiSocialModule.o)
      -[TiSocialModule createTwitterDialog:] in libti.social.a(TiSocialModule.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

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

1 participant