From b0f1e5f53c21f84fea5091584e0f5c19e89ba19f Mon Sep 17 00:00:00 2001 From: Stefano Mondino Date: Thu, 4 May 2017 12:24:20 +0200 Subject: [PATCH 1/2] fix wrong plist for appletv --- Localize_Swift-tvOS.plist | 26 ------------------------ Localize_Swift.xcodeproj/project.pbxproj | 8 ++++---- 2 files changed, 4 insertions(+), 30 deletions(-) delete mode 100644 Localize_Swift-tvOS.plist diff --git a/Localize_Swift-tvOS.plist b/Localize_Swift-tvOS.plist deleted file mode 100644 index 66241e5..0000000 --- a/Localize_Swift-tvOS.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.1.2 - CFBundleSignature - ???? - CFBundleVersion - 9 - NSPrincipalClass - - - diff --git a/Localize_Swift.xcodeproj/project.pbxproj b/Localize_Swift.xcodeproj/project.pbxproj index 4677bae..96358dd 100644 --- a/Localize_Swift.xcodeproj/project.pbxproj +++ b/Localize_Swift.xcodeproj/project.pbxproj @@ -55,7 +55,6 @@ 3433F2511C518B38003AE34D /* Localize.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Localize.swift; path = Sources/Localize.swift; sourceTree = SOURCE_ROOT; }; 343A6DDB1D1529560081AA37 /* Localize_Swift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Localize_Swift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 343A6DE81D152B1B0081AA37 /* Localize_Swift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Localize_Swift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 343A6DE91D152B1B0081AA37 /* Localize_Swift-tvOS.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "Localize_Swift-tvOS.plist"; path = "/Users/marmelroy/Documents/Projects/OpenSource/Localize/Localize_Swift-tvOS.plist"; sourceTree = ""; }; 343A6DF51D152E5A0081AA37 /* Localize_Swift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Localize_Swift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 344169461C67539300B93D28 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 68973D651DA7AA200076F08A /* String+LocalizeBundle.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = "String+LocalizeBundle.swift"; path = "Sources/String+LocalizeBundle.swift"; sourceTree = SOURCE_ROOT; }; @@ -137,7 +136,6 @@ 68973D651DA7AA200076F08A /* String+LocalizeBundle.swift */, 68973D6A1DA7AB140076F08A /* String+LocalizedBundleTableName.swift */, 3433F23B1C518AF7003AE34D /* Info.plist */, - 343A6DE91D152B1B0081AA37 /* Localize_Swift-tvOS.plist */, 344169461C67539300B93D28 /* Foundation.framework */, ); path = Localize_Swift; @@ -631,7 +629,7 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 12; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "$(SRCROOT)/Localize_Swift-tvOS.plist"; + INFOPLIST_FILE = "$(SRCROOT)/Localize_Swift/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; @@ -641,6 +639,7 @@ SDKROOT = appletvos; SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TVOS_DEPLOYMENT_TARGET = 9.0; }; name = Debug; }; @@ -653,7 +652,7 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 12; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "$(SRCROOT)/Localize_Swift-tvOS.plist"; + INFOPLIST_FILE = "$(SRCROOT)/Localize_Swift/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; @@ -661,6 +660,7 @@ PRODUCT_NAME = Localize_Swift; SDKROOT = appletvos; SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 9.0; }; name = Release; }; From de4e5fe0de6cbaa73e8e19b0d5cc94bd3a7e0e0c Mon Sep 17 00:00:00 2001 From: Stefano Mondino Date: Thu, 4 May 2017 13:55:14 +0200 Subject: [PATCH 2/2] fix target family --- Localize_Swift.xcodeproj/project.pbxproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Localize_Swift.xcodeproj/project.pbxproj b/Localize_Swift.xcodeproj/project.pbxproj index 96358dd..77f3ac4 100644 --- a/Localize_Swift.xcodeproj/project.pbxproj +++ b/Localize_Swift.xcodeproj/project.pbxproj @@ -639,6 +639,7 @@ SDKROOT = appletvos; SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = 3; TVOS_DEPLOYMENT_TARGET = 9.0; }; name = Debug; @@ -660,6 +661,7 @@ PRODUCT_NAME = Localize_Swift; SDKROOT = appletvos; SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 3; TVOS_DEPLOYMENT_TARGET = 9.0; }; name = Release;