15
Ich habe Probleme mit ALAsetsLibrary in meinem Code zu verknüpfen.ALAssetsLibrary kann nicht verknüpft werden
Ich habe viel gegooglet und folgte mehr als ein Tutorial bis zum letzten Punkt, aber ich bin immer noch wo ich begann.
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)
Nach dem Hinzufügen ich diesen Fehler erhalte: 'ld: Warnung: ignorieren Datei/Users/vedprakash/Dokumente/XCode Projekte/PickThumb/AssetsLibrary.framework/AssetsLibrary wurde Datei für nicht unterstützte Dateiformat gebaut was nicht die Architektur ist, die verbunden wird (i386) ' – nirvana74v
Das ist nicht der richtige Speicherort für das AssetsLibrary-Framework. Ich glaube nicht, dass Sie den Anweisungen in der Verknüpfung gefolgt sind. –
Ich habe das Framework so hinzugefügt, wie es in der Verknüpfung ist und die Bibliothek erscheint in der Liste unter "Link Binary with Libraries" – nirvana74v