由于项目中需要用到相机模块 5+sdk添加-llibCamera的时候就报错了,请赐教!:
Undefined symbols for architecture x86_64:
"_ALAssetPropertyAssetURL", referenced from:
-[QBImagePickerController assetsCollectionViewController:didSelectAsset:] in liblibCamera.a(QBImagePickerController.o)
-[QBImagePickerController assetsCollectionViewController:didDeselectAsset:] in liblibCamera.a(QBImagePickerController.o)
-[QBAssetsCollectionViewController selectAssetHavingURL:] in liblibCamera.a(QBAssetsCollectionViewController.o)
"_ALAssetPropertyType", referenced from:
-[QBAssetsCollectionViewCell setAsset:] in liblibCamera.a(QBAssetsCollectionViewCell.o)
_51-[PGGallery imagePickerController:didSelectAssets:]_block_invoke_2 in liblibCamera.a(PGGallery.o)
"ALAssetTypePhoto", referenced from:
51-[PGGallery imagePickerController:didSelectAssets:]_block_invoke_2 in liblibCamera.a(PGGallery.o)
"_ALAssetTypeVideo", referenced from:
-[QBAssetsCollectionViewCell setAsset:] in liblibCamera.a(QBAssetsCollectionViewCell.o)
___51-[PGGallery imagePickerController:didSelectAssets:]_block_invoke_2 in liblibCamera.a(PGGallery.o)
"_ALAssetsGroupPropertyName", referenced from:
-[QBImagePickerGroupCell setAssetsGroup:] in liblibCamera.a(QBImagePickerGroupCell.o)
-[QBAssetsCollectionViewController setAssetsGroup:] in liblibCamera.a(QBAssetsCollectionViewController.o)
"_ALAssetsGroupPropertyType", referenced from:
-[QBImagePickerController sortAssetsGroups:typesOrder:] in liblibCamera.a(QBImagePickerController.o)
"_OBJCCLASS$_ALAssetsFilter", referenced from:
objc-class-ref in liblibCamera.a(QBImagePickerController.o)
objc-class-ref in liblibCamera.a(QBAssetsCollectionViewController.o)
"_OBJCCLASS$_ALAssetsLibrary", referenced from:
objc-class-ref in liblibCamera.a(PGGallery.o)
objc-class-ref in liblibCamera.a(QBImagePickerController.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
![hzx7787](https://img-cdn-tc.dcloud.net.cn/account/identicon/86e887edb0001ff5da6c0c13b5556c08.png)
hzx7787
- 发布:2016-04-12 00:56
- 更新:2016-04-12 12:31
- 阅读:2071
5+sdk添加-llibCamera报错
分类:MUI
1***@qq.com
报错信息: Undefined symbols for architecture arm64:
"_CMTimeGetSeconds", referenced from:
___48-[DCTZVideoPlayerController addProgressObserver]_block_invoke in liblibCamera.a(TZVideoPlayerController.o)
"_kCMTimeZero", referenced from:
-[TZImageManager fixedCompositionWithAsset:] in liblibCamera.a(TZImageManager.o)
"_CMTimeRangeMake", referenced from:
-[TZImageManager fixedCompositionWithAsset:] in liblibCamera.a(TZImageManager.o)
"_CMTimeMake", referenced from:
-[DCTZVideoPlayerController addProgressObserver] in liblibCamera.a(TZVideoPlayerController.o)
-[DCTZVideoPlayerController playButtonClick] in liblibCamera.a(TZVideoPlayerController.o)
-[TZImageManager fixedCompositionWithAsset:] in liblibCamera.a(TZImageManager.o)
-[TZVideoPreviewCell playButtonClick] in liblibCamera.a(TZPhotoPreviewCell.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
2019-01-09 14:32