1
我正在試圖在我的項目中使用一個名爲WSAssetPickerController的庫。這是iOS的選取器控制器,可讓您選擇多張圖片。我按照嚴格的指令將其包含在我的項目,但我收到以下錯誤:使用WSAssetPickerController的麻煩
ld: warning: ignoring file /Users/davdon42/Documents/Apps/Photomosaic/Photo Mosaic/libWSAssetPicker.a, missing required architecture i386 in file /Users/davdon42/Documents/Apps/Photomosaic/Photo Mosaic/libWSAssetPicker.a (2 slices)
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_WSAssetPickerController", referenced from:
objc-class-ref in ImportImagesViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
什麼想法?
我認爲這可能與xcode和iphone sdk的版本有關。我正在使用針對iOS 5.1的Xcode版本4.5.1和iOS SDK 6.0。
由於
你是否已經仔細檢查過是否已將所有必需的框架添加到項目中? –
是的,我已經添加了所有必需的框架 – user1775671