Skip to content

Commit

Permalink
watchOS support. Enable Bitcode.
Browse files Browse the repository at this point in the history
  • Loading branch information
thii committed Feb 10, 2016
1 parent 287c801 commit a28a25d
Show file tree
Hide file tree
Showing 3 changed files with 186 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ language: objective-c
osx_image: xcode7.2
script:
- xctool test -project FontAwesome.xcodeproj -scheme FontAwesome -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
- xctool -project FontAwesome.xcodeproj -scheme FontAwesome-watchOS -sdk watchsimulator ONLY_ACTIVE_ARCH=NO
105 changes: 105 additions & 0 deletions FontAwesome.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
8401A8F11B39610F00269D14 /* FontAwesome.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8401A8F01B39610F00269D14 /* FontAwesome.swift */; };
8401A8F31B3961B800269D14 /* FontAwesome.otf in Resources */ = {isa = PBXBuildFile; fileRef = 8401A8F21B3961B800269D14 /* FontAwesome.otf */; };
841575DA1B3A490A001092B6 /* Enum.swift in Sources */ = {isa = PBXBuildFile; fileRef = 841575D91B3A490A001092B6 /* Enum.swift */; };
848938011C6AF0770085F6D1 /* FontAwesome.h in Headers */ = {isa = PBXBuildFile; fileRef = 8401A8D71B39601400269D14 /* FontAwesome.h */; settings = {ATTRIBUTES = (Public, ); }; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -35,6 +36,7 @@
8401A8F01B39610F00269D14 /* FontAwesome.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FontAwesome.swift; sourceTree = "<group>"; };
8401A8F21B3961B800269D14 /* FontAwesome.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = FontAwesome.otf; sourceTree = "<group>"; };
841575D91B3A490A001092B6 /* Enum.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Enum.swift; sourceTree = "<group>"; };
848937F91C6AF0660085F6D1 /* FontAwesome.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = FontAwesome.framework; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -53,6 +55,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
848937F51C6AF0660085F6D1 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand All @@ -70,6 +79,7 @@
children = (
8401A8D21B39601400269D14 /* FontAwesome.framework */,
8401A8DD1B39601400269D14 /* FontAwesomeTests.xctest */,
848937F91C6AF0660085F6D1 /* FontAwesome.framework */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -122,6 +132,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
848937F61C6AF0660085F6D1 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
848938011C6AF0770085F6D1 /* FontAwesome.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -161,6 +179,24 @@
productReference = 8401A8DD1B39601400269D14 /* FontAwesomeTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
848937F81C6AF0660085F6D1 /* FontAwesome-watchOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = 848938001C6AF0660085F6D1 /* Build configuration list for PBXNativeTarget "FontAwesome-watchOS" */;
buildPhases = (
848937F41C6AF0660085F6D1 /* Sources */,
848937F51C6AF0660085F6D1 /* Frameworks */,
848937F61C6AF0660085F6D1 /* Headers */,
848937F71C6AF0660085F6D1 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "FontAwesome-watchOS";
productName = "FontAwesome";
productReference = 848937F91C6AF0660085F6D1 /* FontAwesome.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand All @@ -176,6 +212,9 @@
8401A8DC1B39601400269D14 = {
CreatedOnToolsVersion = 6.3.2;
};
848937F81C6AF0660085F6D1 = {
CreatedOnToolsVersion = 7.2.1;
};
};
};
buildConfigurationList = 8401A8CC1B39601400269D14 /* Build configuration list for PBXProject "FontAwesome" */;
Expand All @@ -192,6 +231,7 @@
targets = (
8401A8D11B39601400269D14 /* FontAwesome */,
8401A8DC1B39601400269D14 /* FontAwesomeTests */,
848937F81C6AF0660085F6D1 /* FontAwesome-watchOS */,
);
};
/* End PBXProject section */
Expand All @@ -212,6 +252,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
848937F71C6AF0660085F6D1 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand All @@ -232,6 +279,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
848937F41C6AF0660085F6D1 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
Expand Down Expand Up @@ -266,6 +320,7 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
ENABLE_BITCODE = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
Expand Down Expand Up @@ -315,6 +370,7 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_BITCODE = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
Expand Down Expand Up @@ -396,6 +452,47 @@
};
name = Release;
};
848937FE1C6AF0660085F6D1 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = FontAwesome/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = im.thi.FontAwesome;
PRODUCT_NAME = FontAwesome;
SDKROOT = watchos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = 4;
WATCHOS_DEPLOYMENT_TARGET = 2.1;
};
name = Debug;
};
848937FF1C6AF0660085F6D1 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = FontAwesome/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = im.thi.FontAwesome;
PRODUCT_NAME = FontAwesome;
SDKROOT = watchos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = 4;
WATCHOS_DEPLOYMENT_TARGET = 2.1;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand Down Expand Up @@ -426,6 +523,14 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
848938001C6AF0660085F6D1 /* Build configuration list for PBXNativeTarget "FontAwesome-watchOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
848937FE1C6AF0660085F6D1 /* Debug */,
848937FF1C6AF0660085F6D1 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = 8401A8C91B39601400269D14 /* Project object */;
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 = "0720"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "848937F81C6AF0660085F6D1"
BuildableName = "FontAwesome.framework"
BlueprintName = "FontAwesome-watchOS"
ReferencedContainer = "container:FontAwesome.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 = "848937F81C6AF0660085F6D1"
BuildableName = "FontAwesome.framework"
BlueprintName = "FontAwesome-watchOS"
ReferencedContainer = "container:FontAwesome.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "848937F81C6AF0660085F6D1"
BuildableName = "FontAwesome.framework"
BlueprintName = "FontAwesome-watchOS"
ReferencedContainer = "container:FontAwesome.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

0 comments on commit a28a25d

Please sign in to comment.