Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14046

Bundle.main.path always return nil in ios

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-ios
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              swift2geek Vladimir
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: