Mr顾
Mr顾
  • 发布:2018-10-19 15:18
  • 更新:2018-11-28 14:10
  • 阅读:1611

升级SDK BUG

分类:5+ SDK

升级2018.9.29SDK报错
所有相关SDK都引入了。
怀疑就是liblibCamera.a这个文件引起的,用了老版的liblibCamera.a替换就没有报错了。

报错内容是:

Undefined symbols for architecture armv7:
"_PHImageManagerMaximumSize", referenced from:
-[TZImageManager getOriginalPhotoWithAsset:newCompletion:] in liblibCamera.a(TZImageManager.o)
"_PHImageErrorKey", referenced from:
_95-[TZImageManager getPhotoWithAsset:photoWidth:completion:progressHandler:networkAccessAllowed:]_blockinvoke in liblibCamera.a(TZImageManager.o)
58-[TZImageManager getOriginalPhotoWithAsset:newCompletion:]_block_invoke in liblibCamera.a(TZImageManager.o)
_59-[TZImageManager getOriginalPhotoDataWithAsset:completion:]_block_invoke in liblibCamera.a(TZImageManager.o)
"_PHImageResultIsDegradedKey", referenced from:
___95-[TZImageManager getPhotoWithAsset:photoWidth:completion:progressHandler:networkAccessAllowed:]_blockinvoke in liblibCamera.a(TZImageManager.o)
58-[TZImageManager getOriginalPhotoWithAsset:newCompletion:]_block_invoke in liblibCamera.a(TZImageManager.o)
"_PHImageCancelledKey", referenced from:
_95-[TZImageManager getPhotoWithAsset:photoWidth:completion:progressHandler:networkAccessAllowed:]_blockinvoke in liblibCamera.a(TZImageManager.o)
58-[TZImageManager getOriginalPhotoWithAsset:newCompletion:]_block_invoke in liblibCamera.a(TZImageManager.o)
_59-[TZImageManager getOriginalPhotoDataWithAsset:completion:]_block_invoke in liblibCamera.a(TZImageManager.o)
"_OBJCCLASS$_PHFetchResult", referenced from:
objc-class-ref in liblibCamera.a(TZImageManager.o)
"_OBJCCLASS$_PHFetchOptions", referenced from:
objc-class-ref in liblibCamera.a(TZImageManager.o)
"_OBJCCLASS$_PHAssetCreationRequest", referenced from:
objc-class-ref in liblibCamera.a(TZImageManager.o)
"_OBJCCLASS$_PHAssetCollection", referenced from:
objc-class-ref in liblibCamera.a(TZImageManager.o)
"_OBJCCLASS$_PHCollectionList", referenced from:
objc-class-ref in liblibCamera.a(TZImageManager.o)
"_OBJCCLASS$_PHAsset", referenced from:
objc-class-ref in liblibCamera.a(TZImageManager.o)
objc-class-ref in liblibCamera.a(TZPhotoPreviewCell.o)
"_OBJCCLASS$_PHAssetResourceCreationOptions", referenced from:
objc-class-ref in liblibCamera.a(TZImageManager.o)
"_OBJCCLASS$_PHAssetChangeRequest", referenced from:
objc-class-ref in liblibCamera.a(TZImageManager.o)
"_OBJCCLASS$_PHVideoRequestOptions", referenced from:
objc-class-ref in liblibCamera.a(TZImageManager.o)
"_OBJCCLASS$_PHPhotoLibrary", referenced from:
objc-class-ref in liblibCamera.a(TZImageManager.o)
"PHImageResultIsInCloudKey", referenced from:
95-[TZImageManager getPhotoWithAsset:photoWidth:completion:progressHandler:networkAccessAllowed:]_block_invoke in liblibCamera.a(TZImageManager.o)
"_OBJCCLASS$_PHImageRequestOptions", referenced from:
objc-class-ref in liblibCamera.a(TZImageManager.o)
"_OBJCCLASS$_PHImageManager", referenced from:
objc-class-ref in liblibCamera.a(TZAssetCell.o)
objc-class-ref in liblibCamera.a(TZImageManager.o)
objc-class-ref in liblibCamera.a(TZPhotoPreviewCell.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

2018-10-19 15:18 负责人:无 分享
已邀请:
杨西

杨西 - iOS开发,H5混合开发

引入GTSDK.framework可以解决。

该问题目前已经被锁定, 无法添加新回复