triniwiz / nativescript-socketio

Socket.IO for nativescript
Apache License 2.0
71 stars 31 forks source link

It works with nativescript vue? #88

Open iurydias opened 5 years ago

iurydias commented 5 years ago

I need to use a WebSocket on my nativescript vue application and I just wanna make sure that one works fine with.

rigor789 commented 5 years ago

Yes it works. We're using it for VueDevtools for example.

nuochong commented 5 years ago

Yes it works. We're using it for VueDevtools for example.

Execute tns run ios

Project successfully prepared (ios)
Building project...
Xcode build...
error: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2. (in target 'Starscream')
error: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2. (in target 'Starscream')
warning: Capabilities for nativescriptvueexamples may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the build settings editor. (in target 'nativescriptvueexamples')
note: Using new build systemnote: Planning buildnote: Constructing build description
** BUILD FAILED **

Unable to apply changes on device: 2B15A4F7-A85B-4E42-9D11-5DE643C6C45E. Error is: Command xcodebuild failed with exit code 65.
$ xcrun swift -version
Apple Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1)
Target: x86_64-apple-darwin18.0.0
rigor789 commented 5 years ago

@nuochong Make sure you're up-to-date (NativeScript 6.x, and XCode 10.3)