[
https://issues.apache.org/jira/browse/CB-14046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16458032#comment-16458032
]
Wojciech Trocki commented on CB-14046:
--------------------------------------
[~swift2geek] I have tried to replicate this issue and I can access the
resource. Are you adding all resources in the cordova plugin.xml?
For example:
{code:java}
<source-file src="./storyboards" target-dir="storyboards"/>{code}
Adding example project on github will be helpful.
> Bundle.main.path always return nil in ios
> -----------------------------------------
>
> Key: CB-14046
> URL: https://issues.apache.org/jira/browse/CB-14046
> Project: Apache Cordova
> Issue Type: Bug
> Reporter: Vladimir
> Priority: Major
>
> In the project, created from cordova with added plugin (like in this tutorial
> [https://moduscreate.com/blog/writing-a-cordova-plugin-in-swift-for-ios/])
> we are not able to access to bundle's resources.
> Bundle.main.path(forResource: "CDVLaunchScreen", ofType: "storyboard") or any
> kind of other resources always return nil.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]