starscream

error: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2. (in target 'Starscream')

落爺英雄遲暮 提交于 2021-02-10 14:35:24
问题 Steps to recreate $ vue init nativescript-vue/vue-cli-template transport $ cd transport $ npm install $ tns run ios --bundle Log error: error: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2. (in target 'Starscream') note: Using new build systemnote: Planning buildnote: Constructing build description ** ARCHIVE FAILED ** Mac OS High Sierra 10.13.6 Darwin Aerosol.local 17.7.0 Darwin Kernel Version 17.7.0: Wed Feb 27 00:43:23 PST 2019; root:xnu-4570.71.35~1/RELEASE_X86

Why is Starscream not working anymore on real Apple Watch (WatchOS 6)?

两盒软妹~` 提交于 2020-01-05 03:26:12
问题 Recently I upgraded my Apple Watch to WatchOS 6.0.1, my iPhone to iOS 13.1.2, Xcode to 11.1. MacOS still 10.14.6. I've created an Independent Apple Watch project where I test the communication between the Watch and a WebSocket server using Starscream: https://github.com/daltoniam/Starscream It works perfectly on the Simulator but on real Apple Watch when I try to connect to the server I got these errors : 2019-10-08 18:57:53.064887+0200 BackgroundWebSocketOnlyWatch WatchKit Extension[251

Websocket keeps disconnecting (Starscream)

风流意气都作罢 提交于 2019-12-25 17:17:49
问题 I'm trying to subscribe to a Websocket hosted on a Mac in my local network. but it disconnects almost immediately after connecting. I can send messages and I can see on my Mac it is receiving them (at least commands) but then it disconnects immediately. It is supposed to work like this: I connect I send a json formatted string : {"+":["v.altitude"]} (to subscribe to the altitude) The Websocket responds regularly with {"v.altitude":71.323} I tried it locally on my Mac with websocoat and it

How to fix “websocket is disconnected: Invalid HTTP upgrade” error using Starscream

不问归期 提交于 2019-12-11 17:18:32
问题 I want to connect an iPhone to a web server running on my Macbook using MAMP and Starscream Library https://github.com/daltoniam/Starscream Installed using Cocoapods and set up the web server with this URL:localhost:8888 But I'm having a lot of headaches because the code doesn't work... I followed all the guides online, the official documentation and so on but none of them helped me... Whenever I run the code, the console shows this message: websocket is disconnected: Invalid HTTP upgrade So