Home > Uncategorized > PGWhitelist was not initialized properly, all urls will be disallowed.

PGWhitelist was not initialized properly, all urls will be disallowed.

When upgrading a project from PhoneGap 0.9.4 to PhoneGap 1.5.0, I got the error

PGWhitelist was not initialized properly, all urls will be disallowed.

This was because the PhoneGap.plist file was from the previous version of PhoneGap, and didn’t have all the required keys.

<?xml version=”1.0″ encoding=”UTF-8″?>

<!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd“>

<plist version=”1.0”>

<dict>

<key>DetectPhoneNumber</key>

<true/>

<key>TopActivityIndicator</key>

<string>gray</string>

<key>EnableLocation</key>

<true/>

<key>ExternalHosts</key>

<array>

<string>*</string>

</array>

<key>EnableAcceleration</key>

<true/>

<key>Plugins</key>

<dict>

<key>Accelerometer</key>

<string>Accelerometer</string>

<key>Camera</key>

<string>Camera</string>

<key>Connection</key>

<string>Connection</string>

<key>Contacts</key>

<string>Contacts</string>

<key>DebugConsole</key>

<string>DebugConsole</string>

<key>Contacts</key>

<string>Contacts</string>

<key>File</key>

<string>File</string>

<key>FileTransfer</key>

<string>FileTransfer</string>

<key>Image</key>

<string>Image</string>

<key>Location</key>

<string>Location</string>

<key>Movie</key>

<string>Movie</string>

<key>Network</key>

<string>Network</string>

<key>Notification</key>

<string>Notification</string>

<key>Sound</key>

<string>Sound</string>

<key>Capture</key>

<string>Capture</string>

</dict>

</dict>

</plist>

Advertisements
Categories: Uncategorized
  1. August 14, 2013 at 7:36 pm

    Undefined symbols:
    “_CMTimeGetSeconds”, referenced from:
    -[PGCapture getFormatData:withDict:] in libPhoneGap.a(Capture.o)
    ld: symbol(s) not found
    collect2: ld returned 1 exit status

    – Is another error I got, – Which is simply fixed by pressing Add > Existing Frameworks > CoreMedia.Framework

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: