-
Notifications
You must be signed in to change notification settings - Fork 889
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Build AWSMobileClientXCF #3795
Comments
I have also tried importing the I got the same issue. Attached screenshot of the error. |
@invinciible What do you have listed under target dependencies for the app's build target? |
Hi @invinciible, thanks for opening this issue, i've transferred it over to the main repro from https://github.com/aws-amplify/aws-sdk-ios-spm so that there is more visibility |
Looks like the CircleCI was using older Xcode version, created this PR to address this - #3803 |
Thank you. It's working now. |
It's failing again on Version Xcode 13.1 (13A1030d). |
Is it possible for Circle CI to consider building with the new Xcode whenever it's available? I know Github Actions does that if you don't specify the version. |
Having the same issue as @invinciible. |
Closing this issue in favor of issue #3874 |
I have added the target dependency as .product(name: "AWSMobileClientXCF", package: "AWSiOSSDKV2")
However in the existing project which was using
AWSMobileClient
and now when I add#if canImport(AWSMobileClientXCF)
import AWSMobileClientXCF
#endif
It doesn't build.
Error: Failed to build module 'AWSMobileClientXCF' from its module interface; the compiler that produced it, 'Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)', may have used features that aren't supported by this compiler, 'Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)'
Xcode: 12.5.1
The text was updated successfully, but these errors were encountered: