Skip to content

Commit

Permalink
Adding tvOS support
Browse files Browse the repository at this point in the history
  • Loading branch information
marmelroy committed Jun 18, 2016
1 parent 20e2773 commit 7031bd3
Show file tree
Hide file tree
Showing 4 changed files with 217 additions and 5 deletions.
26 changes: 26 additions & 0 deletions Localize_Swift-tvOS.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.1.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>9</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
110 changes: 108 additions & 2 deletions Localize_Swift.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
343A6DD11D1529560081AA37 /* Localize.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3433F2511C518B38003AE34D /* Localize.swift */; };
343A6DD41D1529560081AA37 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 344169461C67539300B93D28 /* Foundation.framework */; };
343A6DD61D1529560081AA37 /* Localize_Swift.h in Headers */ = {isa = PBXBuildFile; fileRef = 3433F2501C518B38003AE34D /* Localize_Swift.h */; settings = {ATTRIBUTES = (Public, ); }; };
343A6DDF1D152B1B0081AA37 /* Localize.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3433F2511C518B38003AE34D /* Localize.swift */; };
343A6DE11D152B1B0081AA37 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 344169461C67539300B93D28 /* Foundation.framework */; };
343A6DE31D152B1B0081AA37 /* Localize_Swift.h in Headers */ = {isa = PBXBuildFile; fileRef = 3433F2501C518B38003AE34D /* Localize_Swift.h */; settings = {ATTRIBUTES = (Public, ); }; };
344169471C67539300B93D28 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 344169461C67539300B93D28 /* Foundation.framework */; };
/* End PBXBuildFile section */

Expand All @@ -36,8 +39,9 @@
3433F2501C518B38003AE34D /* Localize_Swift.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Localize_Swift.h; path = Sources/Localize_Swift.h; sourceTree = SOURCE_ROOT; };
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 = "<absolute>"; };
344169461C67539300B93D28 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
344169481C67539700B93D28 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -65,6 +69,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
343A6DE01D152B1B0081AA37 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
343A6DE11D152B1B0081AA37 /* Foundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand All @@ -83,6 +95,7 @@
3433F2361C518AF7003AE34D /* Localize_Swift.framework */,
3433F2401C518AF7003AE34D /* Localize_SwiftTests.xctest */,
343A6DDB1D1529560081AA37 /* Localize_Swift.framework */,
343A6DE81D152B1B0081AA37 /* Localize_Swift.framework */,
);
name = Products;
sourceTree = "<group>";
Expand All @@ -93,7 +106,7 @@
3433F2501C518B38003AE34D /* Localize_Swift.h */,
3433F2511C518B38003AE34D /* Localize.swift */,
3433F23B1C518AF7003AE34D /* Info.plist */,
344169481C67539700B93D28 /* UIKit.framework */,
343A6DE91D152B1B0081AA37 /* Localize_Swift-tvOS.plist */,
344169461C67539300B93D28 /* Foundation.framework */,
);
path = Localize_Swift;
Expand Down Expand Up @@ -127,6 +140,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
343A6DE21D152B1B0081AA37 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
343A6DE31D152B1B0081AA37 /* Localize_Swift.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -184,6 +205,24 @@
productReference = 343A6DDB1D1529560081AA37 /* Localize_Swift.framework */;
productType = "com.apple.product-type.framework";
};
343A6DDD1D152B1B0081AA37 /* Localize_Swift tvOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = 343A6DE51D152B1B0081AA37 /* Build configuration list for PBXNativeTarget "Localize_Swift tvOS" */;
buildPhases = (
343A6DDE1D152B1B0081AA37 /* Sources */,
343A6DE01D152B1B0081AA37 /* Frameworks */,
343A6DE21D152B1B0081AA37 /* Headers */,
343A6DE41D152B1B0081AA37 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "Localize_Swift tvOS";
productName = Localize_Swift;
productReference = 343A6DE81D152B1B0081AA37 /* Localize_Swift.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand Down Expand Up @@ -217,6 +256,7 @@
3433F2351C518AF7003AE34D /* Localize_Swift */,
3433F23F1C518AF7003AE34D /* Localize_SwiftTests */,
343A6DCF1D1529560081AA37 /* Localize_Swift OSX */,
343A6DDD1D152B1B0081AA37 /* Localize_Swift tvOS */,
);
};
/* End PBXProject section */
Expand All @@ -243,6 +283,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
343A6DE41D152B1B0081AA37 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down Expand Up @@ -270,6 +317,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
343A6DDE1D152B1B0081AA37 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
343A6DDF1D152B1B0081AA37 /* Localize.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
Expand Down Expand Up @@ -468,6 +523,48 @@
};
name = Release;
};
343A6DE61D152B1B0081AA37 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 9;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "$(SRCROOT)/Localize_Swift-tvOS.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
ONLY_ACTIVE_ARCH = NO;
PRODUCT_BUNDLE_IDENTIFIER = "com.roymarmelstein.Localize-Swift";
PRODUCT_NAME = Localize_Swift;
SDKROOT = appletvos;
SKIP_INSTALL = YES;
SUPPORTED_PLATFORMS = "appletvsimulator appletvos";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
343A6DE71D152B1B0081AA37 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 9;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "$(SRCROOT)/Localize_Swift-tvOS.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.roymarmelstein.Localize-Swift";
PRODUCT_NAME = Localize_Swift;
SDKROOT = appletvos;
SKIP_INSTALL = YES;
SUPPORTED_PLATFORMS = "appletvsimulator appletvos";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand Down Expand Up @@ -507,6 +604,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
343A6DE51D152B1B0081AA37 /* Build configuration list for PBXNativeTarget "Localize_Swift tvOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
343A6DE61D152B1B0081AA37 /* Debug */,
343A6DE71D152B1B0081AA37 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 3433F22D1C518AF7003AE34D /* Project object */;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "343A6DCF1D1529560081AA37"
BuildableName = "Localize_Swift OSX.framework"
BuildableName = "Localize_Swift.framework"
BlueprintName = "Localize_Swift OSX"
ReferencedContainer = "container:Localize_Swift.xcodeproj">
</BuildableReference>
Expand Down Expand Up @@ -46,7 +46,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "343A6DCF1D1529560081AA37"
BuildableName = "Localize_Swift OSX.framework"
BuildableName = "Localize_Swift.framework"
BlueprintName = "Localize_Swift OSX"
ReferencedContainer = "container:Localize_Swift.xcodeproj">
</BuildableReference>
Expand All @@ -64,7 +64,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "343A6DCF1D1529560081AA37"
BuildableName = "Localize_Swift OSX.framework"
BuildableName = "Localize_Swift.framework"
BlueprintName = "Localize_Swift OSX"
ReferencedContainer = "container:Localize_Swift.xcodeproj">
</BuildableReference>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "343A6DDD1D152B1B0081AA37"
BuildableName = "Localize_Swift tvOS.framework"
BlueprintName = "Localize_Swift tvOS"
ReferencedContainer = "container:Localize_Swift.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "343A6DDD1D152B1B0081AA37"
BuildableName = "Localize_Swift tvOS.framework"
BlueprintName = "Localize_Swift tvOS"
ReferencedContainer = "container:Localize_Swift.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "343A6DDD1D152B1B0081AA37"
BuildableName = "Localize_Swift tvOS.framework"
BlueprintName = "Localize_Swift tvOS"
ReferencedContainer = "container:Localize_Swift.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

0 comments on commit 7031bd3

Please sign in to comment.