【发布时间】:2017-09-05 00:29:57
【问题描述】:
我对 aws 有疑问。 我从https://console.aws.amazon.com/mobilehub/home?region=us-east-1#/75a98ed6-3ba6-4974-a3b2-4ba9c53a9b8f/source?platform=ios-swift&topic=u101做所有步骤
但是当我构建我的项目时,我遇到了很多错误。
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_AWSS3PreSignedURLBuilder", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSContentManager.o)
"_OBJC_CLASS_$_AWSS3ListObjectsOutput", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSContentManager.o)
"_OBJC_CLASS_$_AWSS3GetPreSignedURLRequest", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSContentManager.o)
"_OBJC_CLASS_$_AWSS3", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSContentManager.o)
我将 cocoapod 用于其他 lib 。但是对于 aws,我将 sdk 添加到我的项目中。
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
target 'MovieLand' do
use_frameworks!
pod 'SVProgressHUD'
pod 'Fabric'
pod 'Crashlytics'
pod 'Starscream'
pod 'RealmSwift'
pod 'SnapKit', '~> 3.0.2'
pod 'Kingfisher'
pod 'TZStackView'
pod 'Alamofire', '~> 4.0'
pod 'FontBlaster'
pod 'IDMPhotoBrowser'
pod 'CocoaLumberjack/Swift'
pod 'UIColor_Hex_Swift'
pod 'AlamofireObjectMapper', '~> 4.0'
pod 'ObjectMapper', '~> 2.2'
pod 'SwiftyJSON', git: 'https://github.com/BaiduHiDeviOS/SwiftyJSON.git', branch: 'swift3'
end
这是我的 Podfile。
【问题讨论】:
标签: ios amazon-s3 push-notification