GeertWille / sketch-to-xcode-assets-catalog

Export assets for iOS directly from Sketch into Xcodes assets catalog
GNU General Public License v3.0
221 stars 17 forks source link

invalid Content.json #29

Closed schmargi closed 8 years ago

schmargi commented 8 years ago

the generated Content.json for each image is invalid, because of the comma, see code:

{  
   "images":[  
      {  
         "idiom":"universal",
         "scale":"1x",
         "filename":"green-button.png"
      },
      {  
         "idiom":"universal",
         "scale":"2x",
         "filename":"green-button@2x.png"
      },
      {  
         "idiom":"universal",
         "scale":"3x",
         "filename":"green-button@3x.png"
      }, <-------------------------------------------------THIS COMMA

   ],
   "info":{  
      "version":1,
      "author":"xcode"
   }
}
schmargi commented 8 years ago

oh and by the way.. :)

Thank you for you great plugin! it saves me a lot of time! :)

GeertWille commented 8 years ago

Thanks @schmargi !