Skip to content

Instantly share code, notes, and snippets.

@MartinStebler
Created January 7, 2012 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartinStebler/1574943 to your computer and use it in GitHub Desktop.
Save MartinStebler/1574943 to your computer and use it in GitHub Desktop.
ASIHTTPRequest Error
Ld /Users/mstebler/Library/Developer/Xcode/DerivedData/HelloWorld-czyixfszfhbscsgjrwnahmfpznsa/Build/Products/Debug-iphonesimulator/HelloWorld.app/HelloWorld normal i386
cd "/Users/mstebler/Documents/Coding Webspaces/XCode/HelloWorld"
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/mstebler/Library/Developer/Xcode/DerivedData/HelloWorld-czyixfszfhbscsgjrwnahmfpznsa/Build/Products/Debug-iphonesimulator -F/Users/mstebler/Library/Developer/Xcode/DerivedData/HelloWorld-czyixfszfhbscsgjrwnahmfpznsa/Build/Products/Debug-iphonesimulator -filelist /Users/mstebler/Library/Developer/Xcode/DerivedData/HelloWorld-czyixfszfhbscsgjrwnahmfpznsa/Build/Intermediates/HelloWorld.build/Debug-iphonesimulator/HelloWorld.build/Objects-normal/i386/HelloWorld.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 -lz -framework MobileCoreServices -framework SystemConfiguration -framework CFNetwork -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/mstebler/Library/Developer/Xcode/DerivedData/HelloWorld-czyixfszfhbscsgjrwnahmfpznsa/Build/Products/Debug-iphonesimulator/HelloWorld.app/HelloWorld
Undefined symbols for architecture i386:
"_objc_assign_ivar", referenced from:
-[ViewController setTextField:] in ViewController.o
-[ViewController setLabel:] in ViewController.o
-[ASIAuthenticationDialog presentingController] in ASIAuthenticationDialog.o
-[ASIDownloadCache setStoragePath:] in ASIDownloadCache.o
-[ASIHTTPRequest releaseBlocksOnMainThread] in ASIHTTPRequest.o
-[ASIHTTPRequest setRequestMethod:] in ASIHTTPRequest.o
-[ASIHTTPRequest setURL:] in ASIHTTPRequest.o
...
"_objc_assign_global", referenced from:
+[ASIAuthenticationDialog initialize] in ASIAuthenticationDialog.o
+[ASIAuthenticationDialog presentAuthenticationDialogForRequest:] in ASIAuthenticationDialog.o
-[ASIAuthenticationDialog viewDidDisappear:] in ASIAuthenticationDialog.o
+[ASIDownloadCache initialize] in ASIDownloadCache.o
+[ASIDownloadCache sharedCache] in ASIDownloadCache.o
+[ASIHTTPRequest initialize] in ASIHTTPRequest.o
+[ASIHTTPRequest sessionProxyCredentialsStore] in ASIHTTPRequest.o
...
"_objc_assign_strongCast", referenced from:
-[ASIDataCompressor compressBytes:length:error:shouldFinish:] in ASIDataCompressor.o
+[ASIDataCompressor compressData:error:] in ASIDataCompressor.o
+[ASIDataCompressor compressDataFromFile:toFile:error:] in ASIDataCompressor.o
-[ASIDataDecompressor uncompressBytes:length:error:] in ASIDataDecompressor.o
+[ASIDataDecompressor uncompressData:error:] in ASIDataDecompressor.o
+[ASIDataDecompressor uncompressDataFromFile:toFile:error:] in ASIDataDecompressor.o
-[ASIHTTPRequest main] in ASIHTTPRequest.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