Commit 816b81bc authored by Fabio Pelosin's avatar Fabio Pelosin

Merge pull request #952 from kaelin/master

Add #import <Foundation/Foundation.h> to generated source so it compiles…
parents e67f3912 ffa5e637
...@@ -10,6 +10,7 @@ module Pod ...@@ -10,6 +10,7 @@ module Pod
def save_as(pathname) def save_as(pathname)
pathname.open('w') do |source| pathname.open('w') do |source|
source.puts "#import <Foundation/Foundation.h>"
source.puts "@interface #{class_name} : NSObject" source.puts "@interface #{class_name} : NSObject"
source.puts "@end" source.puts "@end"
source.puts "@implementation #{class_name}" 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