lib/ib/project.rb in ib-0.0.1 vs lib/ib/project.rb in ib-0.0.2
- old
+ new
@@ -10,10 +10,10 @@
stubs = IB::Generator.new.write(app_path, "ui.xcodeproj")
stubs_path = Pathname.new("ui.xcodeproj/stubs.h")
files = [Xcodeproj::Project::PBXNativeTarget::SourceFileDescription.new(stubs_path, nil, nil)]
- Dir.glob("#{resources_path}/**/*.{png,jpg,jpeg,storyboard,xib}") do |file|
+ Dir.glob("#{resources_path}/**/*.{xcdatamodeld,png,jpg,jpeg,storyboard,xib}") do |file|
files << Xcodeproj::Project::PBXNativeTarget::SourceFileDescription.new(Pathname.new(file), nil, nil)
end
target.add_source_files(files)
\ No newline at end of file