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 8 errors #437
Comments
Try the swift3 branch |
I'm not sure, if you have Xcode setup right, and are on the swift3 branch, it should compile. |
@nuclearace i am using the same branch, here is the pod i am using to pull from branch swift3 |
I've never tried to use CocoaPods with betas, could be something related to that. |
Are you on the swift3 branch |
Yes |
Issue compiling in beta 6 |
Oh I haven't updated it for that beta yet |
Downloading it now |
This might take awhile, swiftc seems to want to segfault on something now |
I don't think your project is setup right. |
When do you expect to have the compilation issues for Beta 6 resolved? We'd like to start prepping for iOS 10 release. |
It should work for the most part, except for websocket SSL. https://github.com/socketio/socket.io-client-swift/blob/swift3/Source/WebSocket.swift#L310 Crashes swiftc, so you'll have to wait for betaX for them to fix that. |
I also noticed that JSONSerialization is now turning Booleans into 0's and 1's, so some of the tests fail now. But until I read somewhere that this was intentional, and won't cause problems for sending json, I would be wary. |
On that note, it might be related to apple/swift#4366 |
Any update? We'd like to be able to prep for the next iOS release and have had to remove this library until it's fixed. |
The swift3 branch should compile on beta6. |
Sooo Xcode 8 GM is out today 😬 When can we expect this to be fixed and merged? I'd prefer not having to refer to a branch for this anymore. |
Depends, is swift 3 going to be released as default on Xcode 8? What about Swift 2.3? |
@nuclearace from https://developer.apple.com/swift/blog/?id=36
|
Not compiling in Xcode 8 GM- getting a few of these errors: |
@minoue10 Then when Xcode is released publicly it'll be merged into master and a new version will come out. |
Developers need to submit apps before public versions are out. The GM is basically the public version. |
@nuclearace The GM for Xcode 8 was released yesterday: https://developer.apple.com/xcode/ |
I'll also have to check and see if CocoaPods supports Xcode 8 yet. I'd hate to merge it now and then find out that I have to do some annoying stuff to tell CocoaPods where to find the right toolchain to build it. |
And another minor thing is that I'll have to turn off travis-ci until they update. But I would have to do that regardless, last time it took them about a week or two to update to Xcode. Edit: They already have the GM. |
Looks like they need to update xctools for Xcode8. |
I also can't build my project with SocketIO in Xcode 8 GM. |
Are you on the development branch? I'll be dropping a new version when Xcode 8 is released proper. |
Now i tried with development branch, all the errors are gone, but now i get a new one: I am using cocoapods version 1.0.0 (also tried with 1.1.0 RC1) |
@nuclearace what do you mean by
? Also, Xcode 7 isn't compatible with iOS 10 devices (and iOS10 was released today), so I'd really like to move to Xcode 8 as soon as possible. |
When I wrote that it wasn't out yet. I'm downloading it now. |
At what point will the Swift 3 branch become the Master? |
Swift 3 branch doesn't exist anymore. |
Plz tell me , Should I use which branch in xcode 8 release version? thxxxx😁 |
Swift 3 code is in development now. There'll probably be a new release today |
As I suspected would happen, CocoaPods sucks and is broken for Xcode 8. |
Figured out how to kerjiggle CocoaPods into pushing the new version. |
Have you pushed your latest changes to dev. branch yet? |
Yes |
I tried with the latest code and i get "module file was created by an older version of the compiler, rebuild and try again". So the error "No such module SocketIOClientSwift" is gone but i have a new one. Any idea? |
What Xcode are you on? Also I had to use CocoaPods 1.1.0rc2. And it still messed up git remotes... I can't wait till the swift package manager is mature enough where I can drop CocoaPods. |
Xcode 8 (final). |
I have the same problem. |
If you want to use Swift 2.3 you'll have to use the swift2.3 branch. |
Hi, |
@vikiBenHaim1 you were able to get things working using swift 3.0 (aka, master)? |
@vikiBenHaim1 What is documentation you referred so that you get things done ? thanks. |
Hi I am using latest socket-io for swift 3.0 , I am able to connect my local host, but when i am emiting the message , its not emiting. |
I just tried building my app using xcode 8 and got multiple erros in socket.io client.
Is there something I can do to build, or do I just need to wait?
The text was updated successfully, but these errors were encountered: