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

can't compile on Xcode Version 10.0 beta 3 (10L201y), Swift 4.2 #510

Closed
caoer opened this issue Aug 5, 2018 · 18 comments
Closed

can't compile on Xcode Version 10.0 beta 3 (10L201y), Swift 4.2 #510

caoer opened this issue Aug 5, 2018 · 18 comments

Comments

@caoer
Copy link

caoer commented Aug 5, 2018

lock version is 2.6.0.

@caoer
Copy link
Author

caoer commented Aug 5, 2018

tried to tweak swift compiler with version 3, 4, and 4.2. neither works.
got following:

1.	While emitting SIL for 'webAuth(withConnection:loginHint:callback:)' at xxxxxx/Pods/Lock/Lock/Auth0OAuth2Interactor.swift:41:13
2.	While silgen emitFunction SIL function "@$S4Lock21Auth0OAuth2InteractorV7webAuth33_55174515167EA671E301025ECEBD8F84LL14withConnection9loginHint8callbackySS_SSSgyAA0C20AuthenticatableErrorOSgctF".
 for 'webAuth(withConnection:loginHint:callback:)' at xxxxxx/Pods/Lock/Lock/Auth0OAuth2Interactor.swift:41:13
error: Segmentation fault: 11

@cocojoe
Copy link
Member

cocojoe commented Aug 5, 2018

Xcode 10 is beta, betas are not officially supported. What version of Cocoapods are you using?

@caoer
Copy link
Author

caoer commented Aug 5, 2018

version is 1.5.3

@cocojoe
Copy link
Member

cocojoe commented Aug 8, 2018

I will be looking at Xcode 10 once we get a bit closer to release.

@nab0y4enko
Copy link

Hello @cocojoe. We also want to update our application in advance, but this error prevents us.

@cocojoe
Copy link
Member

cocojoe commented Aug 16, 2018

I'll take a look.

@nickvelloff
Copy link

Version 10.0 beta 6 (10L232m)
Same issue.

@cocojoe
Copy link
Member

cocojoe commented Aug 20, 2018

Thanks, I'm going to report to Apple as this feels like an Xcode bug. A Segmentation Fault is the compiler bombing out. As the code compiles just fine in Xcode 9 there is no good reason for this type of behaviour.

@nab0y4enko
Copy link

@cocojoe Hello! Any updates? Can we help?

@cocojoe
Copy link
Member

cocojoe commented Sep 11, 2018

Sorry I was on vacation, so it turns out these are bugs in Swift compiler.

swiftlang/swift#18937
swiftlang/swift#19038

I am hoping these will make it into the next release of Xcode 10, otherwise will need to work around.

@luisgizirian
Copy link

Hi :) Is there a time frame for Swift 4.2, IOS 12 and Xcode 10 support for Lock? Their GM is around the corner. I didn't find any in-the-work branches. Thanks!

@OrestNazarewycz
Copy link

Looks like they didn't make it into XCode 10 GM. Any workarounds would be very much appreciated.

@cocojoe
Copy link
Member

cocojoe commented Sep 12, 2018

That's disappointing, I'll look at it tomorrow.

@cocojoe
Copy link
Member

cocojoe commented Sep 13, 2018

Moving discussion to auth0/Auth0.swift#220
As the issue is really in the Auth0.swift Dependency.

@ppaulojr
Copy link
Contributor

Now it's released and it does not work too.

@cocojoe
Copy link
Member

cocojoe commented Sep 17, 2018

The PR is here #515, making its way through release.

@ppaulojr
Copy link
Contributor

Not sure if it will solve #515 (comment)

@cocojoe
Copy link
Member

cocojoe commented Apr 25, 2019

This was resolved

@cocojoe cocojoe closed this as completed Apr 25, 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

No branches or pull requests

7 participants