Coming soon - Get a detailed view of why an account is flagged as spam!
view details
18
Trying to build a simple Xcode project with a custom Swift snapshot/version and not having any luck :(
Post Body

I'm very much a noob when it comes to using Swift snapshots/different versions, but my understanding is that it shouldn't be too difficult. Go to the Swift snapshots page, download it, install it, then in Xcode's menu select it from Toolchain.

I'm trying to do a simple project, just from scratch in Xcode 11, where I import Texture as it's a dependency in another app I have. I just have a simple Podfile with Cocoapods where it only has import "Texture".

With Xcode 11.3 and the default Swift it compiles perfectly. If I select the custom toolchain, it throws up a ton of errors, primarily around PINRemoteImage (a dependency of Texture). Even if I comment out all the issues as a test, it eventually starts taking issue with arbitrary import statements, so I think it's just Xcode/Swift being weird.

Heck, even if on the Swift website I download the toolchain that's bundled with Xcode 11.3 and use it directly I still get the same errors, so I'm assuming I'm just doing something dumb.

Any help would be appreciated, I'll give Reddit Gold to the first person to crack it!

Author
Account Strength
100%
Account Age
14 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,715,057
Link Karma
529,042
Comment Karma
607,499
Profile updated: 3 days ago
Posts updated: 5 months ago
Objective-C / Swift

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago