gpt4 book ai didi

ios - 将图像和视频上传到亚马逊 S3(arm64 错误)

转载 作者:行者123 更新时间:2023-11-29 10:32:41 25 4
gpt4 key购买 nike

我的代码用于上传视频和照片,它工作正常,但是当我将 arm64 置于有效架构时,它显示以下错误

ld: warning: ignoring file /Users/clicktraders/Desktop/On Going Projects/VideoUploading/AWSRuntime.framework/AWSRuntime, missing required architecture x86_64 in file /Users/clicktraders/Desktop/On Going Projects/VideoUploading/AWSRuntime.framework/AWSRuntime (3 slices)
ld: warning: ignoring file /Users/clicktraders/Desktop/On Going Projects/VideoUploading/AWSS3.framework/AWSS3, missing required architecture x86_64 in file /Users/clicktraders/Desktop/On Going Projects/VideoUploading/AWSS3.framework/AWSS3 (3 slices)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_AmazonS3Client", referenced from:
objc-class-ref in CLUploadService.o
objc-class-ref in SyncViewController.o
objc-class-ref in FirstViewController.o
"_OBJC_CLASS_$_S3CannedACL", referenced from:
objc-class-ref in CLUploadService.o
"_OBJC_CLASS_$_S3PutObjectRequest", referenced from:
objc-class-ref in CLUploadService.o
"_OBJC_CLASS_$_S3TransferManager", referenced from:
objc-class-ref in SyncViewController.o
objc-class-ref in FirstViewController.o
"_OBJC_EHTYPE_$_AmazonClientException", referenced from:
GCC_except_table1 in CLUploadService.o
"_OBJC_EHTYPE_$_AmazonServiceException", referenced from:

请指导我这有什么问题。 @z3r0

最佳答案

基于评论:

在您使用预构建的 libXYZ.a 的情况下,您的静态库不是针对 64 位编译的。你需要一个更新的版本。如果你有源代码,你可以重新编译支持64位系统。

关于ios - 将图像和视频上传到亚马逊 S3(arm64 错误),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28810054/

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