-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Xcode 14.3 Beta Unable to compile with error 'MainActor' is only available in iOS 13.0 or newer #2181
Comments
|
Having the same issue here 👍 , whenever compiling with Swift 5.8's toolchain |
|
Same as well |
|
My team has this same issue with Xcode 14.3, too. |
|
Also seeing this with Xcode 14.3b1 - some other packages have already updated to handle this but not this package |
|
Bump.. can't compile my app with Xcode 14.3 Beta and these frameworks: |
|
Seeing this in our app too. Just tested with Xcode 14.3 Beta 2 and the issue is still present. |
|
Can confirm, still present for beta 2. |
|
If only we could contribute to patching a fix.. but since it's an XCFramework that seems to use a remote source that we don't have access to 😅 🤷♂️ .. or perhaps we could fork and attempt to regenerate the local binary (though unsure precisely how the Facebook team does that), so... Anyway, let us know if there's anything we can do to contribute towards having the fix earlier than later, Facebook team :) |
|
This would related to know issue: https://developer.apple.com/documentation/xcode-release-notes/xcode-14_3-release-notes#Known-Issues |
|
|
Follow Xcode alert, click fix button, the MainActor error should disappear. |
|
This is still an issue in Xcode 14.3 beta 3. It didn't seem like adding those compiler flags to my project did anything (I cannot see the compiler flags passed in the
Which alert? Or is this what Facebook developer need to do to fix the |
|
Fixing with swiftlang/swift#64412. |
|
Our team just ran into this with Xcode 14.3 RC using Xcode Cloud, hopefully @tshortli's fix makes it into the GM! 🤞 |
|
Our team just ran into this issue too, what can we do to solve it ? Our Xcode Cloud can't build testflight anymore. |
|
try download swift 5.7.2 from https://www.swift.org/download . and change the toolchain of Xcode when install is done. |
Yeah, we have the same issue with the RC in Xcode Cloud. |
|
XCode Cloud just stopped working for us too, what is the fix here @samodom? |
|
I can see that it's already fixed here, but I'm still getting the error in Xcode 14.3 RC. |
|
@nirb1991, nope. The fix was cherry picked to Swift 5.8 branch 3 days ago, so that hope is that it will make the next RC🤞 |
|
This issue (along with #2180) has been fixed in Xcode 14.3 RC2. The app compiles and builds successfully for me 🎉 From the Relese Notes:
|
Checklist before submitting a bug report
Xcode version
14.3 Beta
Facebook iOS SDK version
16.0.0
Dependency Manager
SPM
SDK Framework
Core
Goals
Compile the SDK and App.
Expected results
App should compile.
Actual results
App fails to compile with error message:
'MainActor' is only available in iOS 13.0 or newer
Steps to reproduce
Install SDK and try compile the app.
This could be related/duplicate #2180
The text was updated successfully, but these errors were encountered: