mac

command c expects followed by text error in Mac

You received error from the sed command in Mac, because the argument in mac is different. If you type in Mac terminal, you may receive error like this [code lang=”bash”] Justins-MacBook-Pro:2 juzhax$ sed -i ‘s/old_text/new_text/g’ example.txt sed: 1: "config.php": command c expects \ followed by text [/code] The first argument should be the extension of …

command c expects followed by text error in Mac Read More »

invalid object in plist for destination format

Error: invalid object in plist for destination format When you convert the .plist file to json, you could see this problem plutil -convert json -e json ./filename.plist ./filename.plist: invalid object in plist for destination format Solution Remove the key and date using any editor, then re convert again.   <key>some text</key> <date>2013-06-20T15:31:58Z</date>