nparashuram / cordova-plugin-browsersync

BrowserSync Plugin for Cordova
110 stars 69 forks source link

Plugin fails to start correctly #15

Closed megaFatXR closed 7 years ago

megaFatXR commented 8 years ago

After running cordova run ios -- --live-reload brower-sync seems to start ok but right after an error is logged and the server fails to start.

[xmldom error]  element parse error: Error: invalid tagName:^���Y�-
@#[line:4,col:107]
Error: Cannot read property 'nodeName' of null
screen shot 2016-04-17 at 01 37 55
axemclion commented 8 years ago

@jvnni looks like there was an unknown tag in the plist file. Can you paste your plist file here ?

P.S: I love the high resolution screenshot :)

Argurth commented 8 years ago

Hi ! Get a similar problem, to got it working, I must remove ios from the cordova platforms It's not a problem for developpement, I can develop on android only, and then, re-add ios but it's quite annoying because I have to reconfigure some xcode stuff each time I want to build my app Could you look into it ? :)

PS : Here is a screenshot capture d ecran 2016-04-30 a 19 57 24

rburgst commented 7 years ago

Have the same problem. It seems that this is caused by the patcher going too far and also scanning files in the platforms/ios/HelloCordova.xcarchive/ folder. These are binary plist files which cannot be parsed by the plain text xml parser.