gpt4 book ai didi

iphone - 使用 alassestsLibrary 时出错

转载 作者:行者123 更新时间:2023-12-03 18:50:54 27 4
gpt4 key购买 nike

我正在尝试使用 ALAssetsLibrary 从相册加载图像 iphone/ipad 的。我在构建和存档时收到以下警告。

ld: warning: in /Users/mark/Projects/Speech_Recognition/Protoype_Test1/AssetsLibrary.framework/AssetsLibrary, file was built for i386 which is not the architecture being linked (armv7)

我也收到错误

  "_OBJC_CLASS_$_ALAssetsLibrary", referenced from:
objc-class-ref-to-ALAssetsLibrary in PhotoPuller.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

在模拟器中运行时没有错误,但我没有收到任何返回给我的图像

我已经不知道该怎么做了

最佳答案

您尚未链接到 AssetsLibrary 框架,或者您的 SDK 设置不是您想象的那样。

关于iphone - 使用 alassestsLibrary 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5482482/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com