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

Cannot create CDVViewController in Storyboard

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8.0, 2.9.0
    • None
    • cordova-ios
    • None
    • iOS, XCode 4.6.3

    Description

      I am unable to create a CDVViewController via storyboard. It results in a white screen and an error in the log: "WARNING: NO whitelist has been set in CDVURLProtocol.".

      This problem can be recreated by creating a new iOS PhoneGap projects with ./create. Commenting out "application:didFinishLaunchingWithOptions:" in the AppDelegate.m (leave the 'return YES;' uncommented). Create a new storyboard file, drag a UIViewController to the canvas and set its class type to MainViewController. Finally, go to the project's summary and set the Main Storyboard.

      Attachments

        Activity

          People

            agrieve Andrew Grieve
            mosca1337 Patrick Mosca
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: