jwaitzel / SuggestedColors

Xcode Plugin for replacing the system suggested colors
80 stars 10 forks source link

"Create SuggestedColors file" option not working and automatically converts project to XML format #10

Open bagage opened 9 years ago

bagage commented 9 years ago

This seems to be project specific, but at least I can reproduce it 100% time on Linphone project.

Steps to reproduce:

Expected: a file should have been created at the root of Linphone project and xcode project structure not modified. Any know issue about that?

bagage commented 9 years ago

Regarding automatic json to XML conversion, this is probably caused by SuggestedColors.m:260:

NSData  *dicDat = [NSPropertyListSerialization dataWithPropertyList:dictionary format:NSPropertyListXMLFormat_v1_0 options:0 error:&error];

It seems that there is no way to write a JSON formatted xcodeproj from XCode API. Maybe using an external project such as XcodeEditor would help on this matter?