Commit ffa5e637 authored by Kaelin Colclasure's avatar Kaelin Colclasure

Add #import <Foundation/Foundation.h> to generated source so it compiles without…

Add #import <Foundation/Foundation.h> to generated source so it compiles without a prefix header in the project's build settings.
parent e67f3912
......@@ -10,6 +10,7 @@ module Pod
def save_as(pathname)
pathname.open('w') do |source|
source.puts "#import <Foundation/Foundation.h>"
source.puts "@interface #{class_name} : NSObject"
source.puts "@end"
source.puts "@implementation #{class_name}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment