我有一个 cocoa pods Swift 项目,我试图安装 Amazon AWS Mobile Hub 框架,复制了 Sdks 和 MobileHubHelper 框架,但没有构建。
错误是这样的:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_AWSLambdaInvoker", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSCloudLogic.o)
"_OBJC_CLASS_$_AWSS3", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSContentManager.o)
(maybe you meant: _OBJC_CLASS_$_AWSS3ContentProvider)
"_OBJC_CLASS_$_AWSS3GetPreSignedURLRequest", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSContentManager.o)
"_OBJC_CLASS_$_AWSS3ListObjectsOutput", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSContentManager.o)
"_OBJC_CLASS_$_AWSS3ListObjectsRequest", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSContentManager.o)
从我发现的情况来看,似乎不鼓励将公共 SDK 与移动集线器框架一起使用,而是复制示例应用程序提供的那些,但无论哪种方式它都不起作用。
任何想法将不胜感激。谢谢!