forked from TTTAttributedLabel/TTTAttributedLabel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from underarmour/swiftPackage
Swift package
- Loading branch information
Showing
7 changed files
with
443 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"object": {"artifacts": [], "dependencies": []}, "version": 4} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// swift-tools-version:5.3 | ||
import PackageDescription | ||
|
||
|
||
let package = Package( | ||
name: "TTTAttributedLabel", | ||
platforms: [.iOS(.v9)], | ||
products: [ | ||
.library( | ||
name: "TTTAttributedLabel", | ||
targets: ["TTTAttributedLabel"] | ||
), | ||
.library( | ||
name: "TTTAttributedLabelDynamic", | ||
type: .dynamic, | ||
targets: ["TTTAttributedLabel"] | ||
), | ||
], | ||
targets: [ | ||
.target( | ||
name: "TTTAttributedLabel", | ||
path: "TTTAttributedLabel", | ||
exclude: ["Example", "Carthage"], | ||
publicHeadersPath: "." | ||
) | ||
] | ||
) |
25 changes: 25 additions & 0 deletions
25
TTTAttributedLabel.xcodeproj/TTTAttributedLabel_Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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.0</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>$(CURRENT_PROJECT_VERSION)</string> | ||
<key>NSPrincipalClass</key> | ||
<string></string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,331 @@ | ||
// !$*UTF8*$! | ||
{ | ||
archiveVersion = 1; | ||
classes = { | ||
}; | ||
objectVersion = 46; | ||
objects = { | ||
|
||
/* Begin PBXBuildFile section */ | ||
OBJ_27 /* TTTAttributedLabel.m in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_10 /* TTTAttributedLabel.m */; }; | ||
/* End PBXBuildFile section */ | ||
|
||
/* Begin PBXFileReference section */ | ||
OBJ_10 /* TTTAttributedLabel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TTTAttributedLabel.m; sourceTree = "<group>"; }; | ||
OBJ_14 /* Example */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Example; sourceTree = SOURCE_ROOT; }; | ||
OBJ_15 /* Carthage */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Carthage; sourceTree = SOURCE_ROOT; }; | ||
OBJ_16 /* TTTAttributedLabel */ = {isa = PBXFileReference; lastKnownFileType = folder; path = TTTAttributedLabel; sourceTree = SOURCE_ROOT; }; | ||
OBJ_17 /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; }; | ||
OBJ_18 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; }; | ||
OBJ_19 /* TTTAttributedLabel.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = TTTAttributedLabel.podspec; sourceTree = "<group>"; }; | ||
OBJ_20 /* CONTRIBUTING.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = CONTRIBUTING.md; sourceTree = "<group>"; }; | ||
OBJ_21 /* circle.yml */ = {isa = PBXFileReference; lastKnownFileType = text.yaml; path = circle.yml; sourceTree = "<group>"; }; | ||
OBJ_6 /* Package.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; }; | ||
OBJ_9 /* TTTAttributedLabel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TTTAttributedLabel.h; sourceTree = "<group>"; }; | ||
"TTTAttributedLabel::TTTAttributedLabel::Product" /* TTTAttributedLabel.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = TTTAttributedLabel.framework; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
/* End PBXFileReference section */ | ||
|
||
/* Begin PBXFrameworksBuildPhase section */ | ||
OBJ_28 /* Frameworks */ = { | ||
isa = PBXFrameworksBuildPhase; | ||
buildActionMask = 0; | ||
files = ( | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXFrameworksBuildPhase section */ | ||
|
||
/* Begin PBXGroup section */ | ||
OBJ_11 /* Tests */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
); | ||
name = Tests; | ||
sourceTree = SOURCE_ROOT; | ||
}; | ||
OBJ_12 /* Products */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
"TTTAttributedLabel::TTTAttributedLabel::Product" /* TTTAttributedLabel.framework */, | ||
); | ||
name = Products; | ||
sourceTree = BUILT_PRODUCTS_DIR; | ||
}; | ||
OBJ_5 /* */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
OBJ_6 /* Package.swift */, | ||
OBJ_7 /* Sources */, | ||
OBJ_11 /* Tests */, | ||
OBJ_12 /* Products */, | ||
OBJ_14 /* Example */, | ||
OBJ_15 /* Carthage */, | ||
OBJ_16 /* TTTAttributedLabel */, | ||
OBJ_17 /* LICENSE */, | ||
OBJ_18 /* README.md */, | ||
OBJ_19 /* TTTAttributedLabel.podspec */, | ||
OBJ_20 /* CONTRIBUTING.md */, | ||
OBJ_21 /* circle.yml */, | ||
); | ||
name = ""; | ||
sourceTree = "<group>"; | ||
}; | ||
OBJ_7 /* Sources */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
OBJ_8 /* TTTAttributedLabel */, | ||
); | ||
name = Sources; | ||
sourceTree = SOURCE_ROOT; | ||
}; | ||
OBJ_8 /* TTTAttributedLabel */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
OBJ_9 /* TTTAttributedLabel.h */, | ||
OBJ_10 /* TTTAttributedLabel.m */, | ||
); | ||
path = TTTAttributedLabel; | ||
sourceTree = SOURCE_ROOT; | ||
}; | ||
/* End PBXGroup section */ | ||
|
||
/* Begin PBXNativeTarget section */ | ||
"TTTAttributedLabel::SwiftPMPackageDescription" /* TTTAttributedLabelPackageDescription */ = { | ||
isa = PBXNativeTarget; | ||
buildConfigurationList = OBJ_30 /* Build configuration list for PBXNativeTarget "TTTAttributedLabelPackageDescription" */; | ||
buildPhases = ( | ||
OBJ_33 /* Sources */, | ||
); | ||
buildRules = ( | ||
); | ||
dependencies = ( | ||
); | ||
name = TTTAttributedLabelPackageDescription; | ||
productName = TTTAttributedLabelPackageDescription; | ||
productType = "com.apple.product-type.framework"; | ||
}; | ||
"TTTAttributedLabel::TTTAttributedLabel" /* TTTAttributedLabel */ = { | ||
isa = PBXNativeTarget; | ||
buildConfigurationList = OBJ_23 /* Build configuration list for PBXNativeTarget "TTTAttributedLabel" */; | ||
buildPhases = ( | ||
OBJ_26 /* Sources */, | ||
OBJ_28 /* Frameworks */, | ||
); | ||
buildRules = ( | ||
); | ||
dependencies = ( | ||
); | ||
name = TTTAttributedLabel; | ||
productName = TTTAttributedLabel; | ||
productReference = "TTTAttributedLabel::TTTAttributedLabel::Product" /* TTTAttributedLabel.framework */; | ||
productType = "com.apple.product-type.framework"; | ||
}; | ||
/* End PBXNativeTarget section */ | ||
|
||
/* Begin PBXProject section */ | ||
OBJ_1 /* Project object */ = { | ||
isa = PBXProject; | ||
attributes = { | ||
LastSwiftMigration = 9999; | ||
LastUpgradeCheck = 9999; | ||
}; | ||
buildConfigurationList = OBJ_2 /* Build configuration list for PBXProject "TTTAttributedLabel" */; | ||
compatibilityVersion = "Xcode 3.2"; | ||
developmentRegion = en; | ||
hasScannedForEncodings = 0; | ||
knownRegions = ( | ||
en, | ||
); | ||
mainGroup = OBJ_5 /* */; | ||
productRefGroup = OBJ_12 /* Products */; | ||
projectDirPath = ""; | ||
projectRoot = ""; | ||
targets = ( | ||
"TTTAttributedLabel::TTTAttributedLabel" /* TTTAttributedLabel */, | ||
"TTTAttributedLabel::SwiftPMPackageDescription" /* TTTAttributedLabelPackageDescription */, | ||
); | ||
}; | ||
/* End PBXProject section */ | ||
|
||
/* Begin PBXSourcesBuildPhase section */ | ||
OBJ_26 /* Sources */ = { | ||
isa = PBXSourcesBuildPhase; | ||
buildActionMask = 0; | ||
files = ( | ||
OBJ_27 /* TTTAttributedLabel.m in Sources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
OBJ_33 /* Sources */ = { | ||
isa = PBXSourcesBuildPhase; | ||
buildActionMask = 0; | ||
files = ( | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXSourcesBuildPhase section */ | ||
|
||
/* Begin XCBuildConfiguration section */ | ||
OBJ_24 /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ENABLE_TESTABILITY = YES; | ||
FRAMEWORK_SEARCH_PATHS = ( | ||
"$(inherited)", | ||
"$(PLATFORM_DIR)/Developer/Library/Frameworks", | ||
); | ||
HEADER_SEARCH_PATHS = ( | ||
"$(inherited)", | ||
"$(SRCROOT)/TTTAttributedLabel/include", | ||
); | ||
INFOPLIST_FILE = TTTAttributedLabel.xcodeproj/TTTAttributedLabel_Info.plist; | ||
IPHONEOS_DEPLOYMENT_TARGET = 12.0; | ||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/macosx"; | ||
MACOSX_DEPLOYMENT_TARGET = 10.10; | ||
OTHER_CFLAGS = "$(inherited)"; | ||
OTHER_LDFLAGS = "$(inherited)"; | ||
OTHER_SWIFT_FLAGS = "$(inherited)"; | ||
PRODUCT_BUNDLE_IDENTIFIER = TTTAttributedLabel; | ||
PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; | ||
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; | ||
SKIP_INSTALL = YES; | ||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; | ||
TARGET_NAME = TTTAttributedLabel; | ||
TVOS_DEPLOYMENT_TARGET = 9.0; | ||
WATCHOS_DEPLOYMENT_TARGET = 3.0; | ||
}; | ||
name = Debug; | ||
}; | ||
OBJ_25 /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ENABLE_TESTABILITY = YES; | ||
FRAMEWORK_SEARCH_PATHS = ( | ||
"$(inherited)", | ||
"$(PLATFORM_DIR)/Developer/Library/Frameworks", | ||
); | ||
HEADER_SEARCH_PATHS = ( | ||
"$(inherited)", | ||
"$(SRCROOT)/TTTAttributedLabel/include", | ||
); | ||
INFOPLIST_FILE = TTTAttributedLabel.xcodeproj/TTTAttributedLabel_Info.plist; | ||
IPHONEOS_DEPLOYMENT_TARGET = 12.0; | ||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/macosx"; | ||
MACOSX_DEPLOYMENT_TARGET = 10.10; | ||
OTHER_CFLAGS = "$(inherited)"; | ||
OTHER_LDFLAGS = "$(inherited)"; | ||
OTHER_SWIFT_FLAGS = "$(inherited)"; | ||
PRODUCT_BUNDLE_IDENTIFIER = TTTAttributedLabel; | ||
PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; | ||
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; | ||
SKIP_INSTALL = YES; | ||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; | ||
TARGET_NAME = TTTAttributedLabel; | ||
TVOS_DEPLOYMENT_TARGET = 9.0; | ||
WATCHOS_DEPLOYMENT_TARGET = 3.0; | ||
}; | ||
name = Release; | ||
}; | ||
OBJ_3 /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
CLANG_ENABLE_OBJC_ARC = YES; | ||
COMBINE_HIDPI_IMAGES = YES; | ||
COPY_PHASE_STRIP = NO; | ||
DEBUG_INFORMATION_FORMAT = dwarf; | ||
DYLIB_INSTALL_NAME_BASE = "@rpath"; | ||
ENABLE_NS_ASSERTIONS = YES; | ||
GCC_OPTIMIZATION_LEVEL = 0; | ||
GCC_PREPROCESSOR_DEFINITIONS = ( | ||
"$(inherited)", | ||
"SWIFT_PACKAGE=1", | ||
"DEBUG=1", | ||
); | ||
MACOSX_DEPLOYMENT_TARGET = 10.10; | ||
ONLY_ACTIVE_ARCH = YES; | ||
OTHER_SWIFT_FLAGS = "$(inherited) -DXcode"; | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
SDKROOT = macosx; | ||
SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator"; | ||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) SWIFT_PACKAGE DEBUG"; | ||
SWIFT_OPTIMIZATION_LEVEL = "-Onone"; | ||
USE_HEADERMAP = NO; | ||
}; | ||
name = Debug; | ||
}; | ||
OBJ_31 /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
LD = /usr/bin/true; | ||
OTHER_SWIFT_FLAGS = "-swift-version 5 -I $(TOOLCHAIN_DIR)/usr/lib/swift/pm/4_2 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk -package-description-version 5.3.0"; | ||
SWIFT_VERSION = 5.0; | ||
}; | ||
name = Debug; | ||
}; | ||
OBJ_32 /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
LD = /usr/bin/true; | ||
OTHER_SWIFT_FLAGS = "-swift-version 5 -I $(TOOLCHAIN_DIR)/usr/lib/swift/pm/4_2 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk -package-description-version 5.3.0"; | ||
SWIFT_VERSION = 5.0; | ||
}; | ||
name = Release; | ||
}; | ||
OBJ_4 /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
CLANG_ENABLE_OBJC_ARC = YES; | ||
COMBINE_HIDPI_IMAGES = YES; | ||
COPY_PHASE_STRIP = YES; | ||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | ||
DYLIB_INSTALL_NAME_BASE = "@rpath"; | ||
GCC_OPTIMIZATION_LEVEL = s; | ||
GCC_PREPROCESSOR_DEFINITIONS = ( | ||
"$(inherited)", | ||
"SWIFT_PACKAGE=1", | ||
); | ||
MACOSX_DEPLOYMENT_TARGET = 10.10; | ||
OTHER_SWIFT_FLAGS = "$(inherited) -DXcode"; | ||
PRODUCT_NAME = "$(TARGET_NAME)"; | ||
SDKROOT = macosx; | ||
SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator"; | ||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) SWIFT_PACKAGE"; | ||
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; | ||
USE_HEADERMAP = NO; | ||
}; | ||
name = Release; | ||
}; | ||
/* End XCBuildConfiguration section */ | ||
|
||
/* Begin XCConfigurationList section */ | ||
OBJ_2 /* Build configuration list for PBXProject "TTTAttributedLabel" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
OBJ_3 /* Debug */, | ||
OBJ_4 /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
OBJ_23 /* Build configuration list for PBXNativeTarget "TTTAttributedLabel" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
OBJ_24 /* Debug */, | ||
OBJ_25 /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
OBJ_30 /* Build configuration list for PBXNativeTarget "TTTAttributedLabelPackageDescription" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
OBJ_31 /* Debug */, | ||
OBJ_32 /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
/* End XCConfigurationList section */ | ||
}; | ||
rootObject = OBJ_1 /* Project object */; | ||
} |
Oops, something went wrong.