You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having an issue getting my project to recognise the SwiftJavaScriptBridge module. It is in my Podfile (version 0.3.0) and I can browse the Pods and see the SwiftJavaScriptBridge folder with SwiftJavaScriptBridge.swift and the Support Files directory there. However when I declare a variable such as:
fileprivate var bridge: SwiftWebViewBridge!
I get the compile error:
Use of undeclared type 'SwiftWebViewBridge'
I have tried setting up a fresh project and encounter the same issue. I can successfully compile and run SwiftWebViewBridgeDemo though.
I even tried not using the Podfile and adding SwiftWebViewBridge.swift directly to my project and the result was still the same.
Is there a project setting I am missing? I don't have a problem with any other Podfiles so I don't think it is a path problem. I am using Swift 3.0. Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
TheKongBakPau
changed the title
undeclared type SwiftWebViewBridge
undeclared type SwiftWebViewBridge label:question
Feb 13, 2017
TheKongBakPau
changed the title
undeclared type SwiftWebViewBridge label:question
undeclared type SwiftWebViewBridge
Feb 13, 2017
I am having an issue getting my project to recognise the SwiftJavaScriptBridge module. It is in my Podfile (version 0.3.0) and I can browse the Pods and see the SwiftJavaScriptBridge folder with SwiftJavaScriptBridge.swift and the Support Files directory there. However when I declare a variable such as:
I get the compile error:
I have tried setting up a fresh project and encounter the same issue. I can successfully compile and run SwiftWebViewBridgeDemo though.
I even tried not using the Podfile and adding SwiftWebViewBridge.swift directly to my project and the result was still the same.
Is there a project setting I am missing? I don't have a problem with any other Podfiles so I don't think it is a path problem. I am using Swift 3.0. Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: