15
我很努力,在我的代碼鏈接ALAssetsLibrary鏈接。無法ALAssetsLibrary
我用Google搜索這個了很多,跟着不止一個教程,最後點但我仍然在那裏我開始。
Ld /Users/vedprakash/Library/Developer/Xcode/DerivedData/PickThumb-gmvprlkgmgexedeojbaoeidbadnw/Build/Products/Debug-iphonesimulator/PickThumb.app/PickThumb normal i386
cd "/Users/vedprakash/Documents/XCode Projects/PickThumb"
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/vedprakash/Library/Developer/Xcode/DerivedData/PickThumb-gmvprlkgmgexedeojbaoeidbadnw/Build/Products/Debug-iphonesimulator -F/Users/vedprakash/Library/Developer/Xcode/DerivedData/PickThumb-gmvprlkgmgexedeojbaoeidbadnw/Build/Products/Debug-iphonesimulator -filelist /Users/vedprakash/Library/Developer/Xcode/DerivedData/PickThumb-gmvprlkgmgexedeojbaoeidbadnw/Build/Intermediates/PickThumb.build/Debug-iphonesimulator/PickThumb.build/Objects-normal/i386/PickThumb.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/vedprakash/Library/Developer/Xcode/DerivedData/PickThumb-gmvprlkgmgexedeojbaoeidbadnw/Build/Products/Debug-iphonesimulator/PickThumb.app/PickThumb
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_ALAssetsLibrary", referenced from:
objc-class-ref in PickThumbViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
加入我收到此錯誤後: 'LD:警告:忽略文件/用戶/ vedprakash /文檔/ XCode的項目/ PickThumb/AssetsLibrary.framework/AssetsLibrary,文件是專爲不支持的文件格式這不是被鏈接的架構(i386)' – nirvana74v
這不是'AssetsLibrary'框架的正確位置。我不認爲你遵循鏈接中的指示。 –
我已經添加了框架,因爲它是在鏈接和庫顯示了下「鏈接二進制與圖書館」 – nirvana74v