You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir (JIRA)" <ji...@apache.org> on 2018/04/20 12:06:00 UTC

[jira] [Updated] (CB-14046) Bundle.main.path always return nil in ios

     [ https://issues.apache.org/jira/browse/CB-14046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir updated CB-14046:
--------------------------
    Description: 
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.

  was:
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") always return nil.


> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org