Skip to content
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

Swindler does not compile on Xcode 10.2 #57

Closed
thieso2 opened this issue Mar 26, 2019 · 2 comments · Fixed by #58
Closed

Swindler does not compile on Xcode 10.2 #57

thieso2 opened this issue Mar 26, 2019 · 2 comments · Fixed by #58

Comments

@thieso2
Copy link

thieso2 commented Mar 26, 2019

The new compiler seems more picky. I would try to fix it myself and my Swift Kung-Fu is not yet strong enough to see the fixes immediately. I tried setting the SWIFT_VERSION to 4.x, it does not help. Once you have upgraded to Xcode 10.2 you cannot compile Swindler any more.

I have attached the output of:

xcodebuild -workspace "Swindler.xcworkspace" -scheme "Swindler" | xcpretty

Mostly it complains about "parameter ... could not be inferred".

xcodebuild-xcpretty.log

@wizardguy
Copy link

Same issue.

@tmandry
Copy link
Owner

tmandry commented Apr 1, 2019

This looks like it will take some time to get to the bottom of. The way Swift type constraints / inference has worked since the beginning of the project just changed in a minor version of Xcode.

I'll need to set aside some time to minimize the errors down to a smaller example so I can play with it and understand what's going on. If anyone is interested in doing the minimization part of this, feel free, otherwise I'll get to it when I can set aside a few hours to work on this.

tmandry added a commit that referenced this issue Apr 20, 2019
tmandry added a commit that referenced this issue Apr 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants