kaandedeoglu / Shark

Swift CLI for strong-typing images, colors, storyboards, fonts and localizations
MIT License
381 stars 15 forks source link

Please support Framework target #14

Closed quangDecember closed 4 years ago

quangDecember commented 4 years ago

in line 28 of XcodeProjectHelper.swift ; I know you might want to eliminates Tests & Aggregate target but this eliminates SDK targets also

let applicationTargets = xcodeproj.pbxproj.nativeTargets.filter({ $0.productType == .application })

the generated code doesn't contain Bundle information, so it will fail for framework bundle

kaandedeoglu commented 4 years ago

Just released 1.1.1, it should now also work with framework targets