Commit f98dfc95 authored by Boris Bügling's avatar Boris Bügling

Fix some issues with the new `watchos` platform.

parent 3cd3de40
......@@ -51,6 +51,7 @@ module Pod
EXTERNAL_STRINGS_FILE_MIMINUM_DEPLOYMENT_TARGET = {
:ios => Version.new('6.0'),
:osx => Version.new('10.8'),
:watchos => Version.new('2.0')
}
# @return [Bool] Whether the external strings file is supported by the
......
......@@ -82,7 +82,7 @@ module Pod
# @return [String]
#
def generate_platform_import_header
"#import #{platform == :ios ? '<UIKit/UIKit.h>' : '<Cocoa/Cocoa.h>'}\n"
"#import <Foundation/Foundation.h>\n"
end
end
end
......
......@@ -186,6 +186,7 @@ module Pod
ENABLE_OBJECT_USE_OBJC_FROM = {
:ios => Version.new('6'),
:osx => Version.new('10.8'),
:watchos => Version.new('2.0')
}
# Returns the compiler flags for the source files of the given specification.
......
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