0
我有一個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作爲其他庫。但對於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。