我按照AWS上的指示,當我嘗試構建應用程序時,出現以下錯誤消息。AWS集成ios問題
該應用程序與斯威夫特3的XCode內置8.3.3
錯誤消息:
"_OBJC_CLASS_$_AWSSNSGetEndpointAttributesInput", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSPushManager.o)
"_OBJC_CLASS_$_AWSSNSSubscribeInput", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSPushManager.o)
"_OBJC_CLASS_$_AWSSNSSetEndpointAttributesInput", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSPushManager.o)
"_OBJC_CLASS_$_AWSLambdaInvoker", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSCloudLogic.o)
"_OBJC_CLASS_$_AWSSNS", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSPushManager.o)
"_OBJC_CLASS_$_AWSSNSCreatePlatformEndpointInput", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSPushManager.o)
"_OBJC_CLASS_$_AWSSNSUnsubscribeInput", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSPushManager.o)
"_AWSSNSErrorDomain", referenced from:
___88-[AWSPushManager interceptApplication:didRegisterForRemoteNotificationsWithDeviceToken:]_block_invoke.235 in AWSMobileHubHelper(AWSPushManager.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
任何想法如何解決這一問題?
謝謝你試圖幫助,但我已經擁有了它們。 – user2867432
您是否將Sdk/Aws文件夾和AmazonAws /文件夾添加到XCode項目? 您可以通過點擊「添加文件到...」來完成這個操作,方法是右鍵單擊您的Xcode項目並將這兩個文件夾添加到項目中。 – Karthikeyan
是的。添加了上面的屏幕截圖來顯示它。謝謝 – user2867432