Xcode4 ExternalHosts in .plist

I am new to Xcode and Mac, I am trying to configure PhoneGap / Cordova application and I get

ERROR whitelist rejection 

I did a thorough Google search and everything said that I need to edit my .plist file and add ExternalHosts to the key.

My application did not have an ExternalHosts key, so from random snapshots that I saw on the Internet, I added the ExternalHosts key as an array and tried to add the sites I needed, so now my Xpode .plist file looks something like this:

Xcode

As you can see, I tried both the domain path and the actual URI, but I still get the same whitelist reject error.

Can someone point in the right direction how to do this?

+2
source share
1 answer

I understood that. I tried to add ExternalHosts to the application build file.

A file that I was looking for was found, located under / Resources / Support Files / Cordoba (| Phone Book) .plist

+2
source

Source: https://habr.com/ru/post/1500196/


All Articles