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

Swift 4 error #79

Open
aabitbol opened this issue Apr 11, 2019 · 2 comments
Open

Swift 4 error #79

aabitbol opened this issue Apr 11, 2019 · 2 comments

Comments

@aabitbol
Copy link

aabitbol commented Apr 11, 2019

Hi
I'm getting an error in XCode when running zeroconf.watch from my cordova app.
The error is in ZeroConf.swift:398:

let dict = NetService.dictionary(fromTXTRecord: txtRecordData)

The error is : Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)

When I run the app without being plugged in and inspecting with XCode, the app simply crashes / exits.

Is anybody else getting this?

I tried with cordova v9, and v5.3.3
ZeroConf Plugin: v1.4.0
Xcode: 10.2
ionic: 4.12
I tried removing the ios platform from cordova and re-adding it. Same result.

Also tried changing the Build Target to Swift 4, 4.2 and 5 with same result.

Thanks

@wang3g
Copy link

wang3g commented Mar 6, 2020

Having the same issue. Any fix yet?

@emcniece emcniece mentioned this issue Apr 4, 2020
@emcniece
Copy link
Collaborator

emcniece commented Apr 4, 2020

Version 1.4.2 #87 has just been merged, please test & report back! 🙏

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

3 participants