ios-control / ios-sim

Command-line application launcher for the iOS Simulator
Apache License 2.0
1.49k stars 253 forks source link

Add support to non binary Info.plist files #266

Open Danilo-Araujo-Silva opened 4 years ago

Danilo-Araujo-Silva commented 4 years ago

Please add support to non-binary Info.plist files.

In the ios-sim/src/commands/launch.js (also other files) we are using the bplist-parser library.

But the launch or install command does not work when the Info.plist is a text file. Related code here.

If we use plutil -convert binary1 Info.plist it works, but then the Info.plist becomes not human-readable.

Possibly checking if the file is non-binary and using the plist-parser library or another similar one.