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