Closed QuentinFchx closed 9 years ago
I am not an expert either :smile:. That part of plugin is my only code written in swift so far. Try to open project in xcode and make sure bridging headers are correct. It should be main Bridging-Header.h
which basically import others "bridging headers" from the project (it should be generated by add_swift_support
hook) and Geo-Bridging-Header.h
. I've tried to make my plugin compatible with other swift plugins.
Yep, it was an issue with bridging header :) Thanks for your help ! :+1:
I am having this same issue as posted below in stackoverflow. I can open my project in xcode but I am not sure how to make sure bridging headers are correct.
@tsubik Following updating Cordova to version 4 and https://issues.apache.org/jira/browse/CB-10072, I had to change the content of SWIFT_OBJC_BRIDGING_HEADER and add 'Plugins' to the path for the building to find the header file. Not sure how other plugins are doing, perhaps you want to locate the bridge in the PROJECT_NAME folder, not PROJECT_NAME/PLUGINS anymore? For your consideration.
I am encountering this issue on phonegap build. Anyone know how to resolve it there?
When using this plugin with Phonegap Build, it fails during the compilation.
Full stack trace
I have absolutely no knowledge of Swift. @tsubik could you help me please ?