You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm a novice with Swift and I was trying to get my iOS app to build using xtool on Linux. I got a ton of concurrency-related errors from a library I was using, so to save others a bunch of time - make sure you're compiling with the same version of Swift that Xcode is using. It turns out that my project was using Swift 5, not 6, but a new xtool project defaults to Swift 6, and Swift 6 has new concurrency checking that older libraries may not support. So before you go tearing your hair out, try downgrading to Swift 5.10 or something like that. Hope this helps someone!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm a novice with Swift and I was trying to get my iOS app to build using xtool on Linux. I got a ton of concurrency-related errors from a library I was using, so to save others a bunch of time - make sure you're compiling with the same version of Swift that Xcode is using. It turns out that my project was using Swift 5, not 6, but a new xtool project defaults to Swift 6, and Swift 6 has new concurrency checking that older libraries may not support. So before you go tearing your hair out, try downgrading to Swift 5.10 or something like that. Hope this helps someone!
Beta Was this translation helpful? Give feedback.
All reactions