I'm trying to get AWS frameworks working in Xcode(version 11.2.1) by importing them manually. The only way I get them working is by adding them in the Embed Frameworks under Build Phases. Everything is fine until I import AWSMobileClient in one of my swift files. Here things go wrong. If I try to build project on device simulator I get this error:
Could not find module 'AWSMobileClient' for target 'x86_64-apple-ios-simulator'; found: arm64, armv7-apple-ios, arm64-apple-ios, arm, armv7
Then I change to physical device and I get this error:
Module compiled with Swift 5.1 cannot be imported by the Swift 5.1.2 compiler: /Users/lukacefarin/Library/Mobile Documents/com~apple~CloudDocs/Projects/InoSupport/AWSMobileClient.framework/Modules/AWSMobileClient.swiftmodule/arm64-apple-ios.swiftmodule
I read about this error on stack overflow and it seems that I can't do much except waiting that AWS will fix that.
Is there any workarounds? All my project frameworks are imported manually so I don't want to use Cocoapods or Carthage.
EDITED on 9 February 2020:
I posted this issue on GitHub and get replay that they are working on the solution. Till then use dependency managers I guess.