royclarkson / xcode-templates

Create custom Xcode templates
Other
61 stars 19 forks source link

UTF-8 issues #2

Closed corinnekrych closed 11 years ago

corinnekrych commented 11 years ago

Trying the script with Xcode Version 4.6.1 (4H512) and ruby-2.0.0-p0 I bumped into:

Processing file... xctemplates.rb:73:in gsub': invalid byte sequence in UTF-8 (ArgumentError) from xctemplates.rb:73:inblock in

' from xctemplates.rb:69:in each' from xctemplates.rb:69:in
'

royclarkson commented 11 years ago

I made a change that should addresses this. Minimum Ruby version is now 1.9.3. Thanks for reporting!