-
Notifications
You must be signed in to change notification settings - Fork 58
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
iOS Build error: Cannot find 'Hostname' in scope #97
Comments
ZeroConf-Bridging-Header.h is included in the project on https://github.com/becvert/cordova-plugin-zeroconf/blob/master/plugin.xml#L40. If @alanjohnson if you could provide some extra info:
|
I'm running: Cordova 10.0.0 |
Hm. Does ZeroConf-Bridging-Header.h show up in the project build settings? Something like this: https://stackoverflow.com/a/37269127 |
No, I did not see it in there. If I manually update the Objective-C Bridging Header to point to that file, it starts to build again. Or if I make a new one (as per your provided link), and add the imports, it works as well. Looks like after running |
If I recall, Cordova is supposed to add the bridging header during I might recommend ensuring the header is present in the build settings manually, making a note in your project setup instructions, or even adding a Cordova hook to add it during |
i have same error. xcode 13.1 |
The plugin works perfect on android, but it seems to have broken my IOS build.
I'm seeing this error:
I did the steps listed for iOS, but can't find any information on how to resolve this error
The text was updated successfully, but these errors were encountered: