From 0796cef67358fefe3ad494e968d698b0ae3bda13 Mon Sep 17 00:00:00 2001 From: Marcus Wu Date: Tue, 3 Dec 2019 18:27:33 +0800 Subject: [PATCH 1/5] Migrate Example project to use Swift 5 Also update StyledTextKit version --- Example/Example.xcodeproj/project.pbxproj | 18 +- Example/Example/AppDelegate.swift | 2 +- .../BackgroundRenderingViewController.swift | 10 +- .../RenderingTextBitmapsViewController.swift | 2 +- Example/Podfile.lock | 6 +- .../Local Podspecs/StyledTextKit.podspec.json | 9 +- Example/Pods/Manifest.lock | 6 +- Example/Pods/Pods.xcodeproj/project.pbxproj | 622 +++++++++--------- .../Pods-Example/Pods-Example-Info.plist | 26 + ...le-frameworks-Debug-input-files.xcfilelist | 2 + ...e-frameworks-Debug-output-files.xcfilelist | 1 + ...-frameworks-Release-input-files.xcfilelist | 2 + ...frameworks-Release-output-files.xcfilelist | 1 + .../Pods-Example/Pods-Example-frameworks.sh | 38 +- .../Pods-Example/Pods-Example.debug.xcconfig | 5 +- .../Pods-Example.release.xcconfig | 5 +- .../StyledTextKit/StyledTextKit-Info.plist | 26 + .../StyledTextKit/StyledTextKit.xcconfig | 3 +- 18 files changed, 448 insertions(+), 336 deletions(-) create mode 100644 Example/Pods/Target Support Files/Pods-Example/Pods-Example-Info.plist create mode 100644 Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks-Debug-input-files.xcfilelist create mode 100644 Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks-Debug-output-files.xcfilelist create mode 100644 Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks-Release-input-files.xcfilelist create mode 100644 Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks-Release-output-files.xcfilelist create mode 100644 Example/Pods/Target Support Files/StyledTextKit/StyledTextKit-Info.plist diff --git a/Example/Example.xcodeproj/project.pbxproj b/Example/Example.xcodeproj/project.pbxproj index 97f6baa..f5dba78 100644 --- a/Example/Example.xcodeproj/project.pbxproj +++ b/Example/Example.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 51; objects = { /* Begin PBXBuildFile section */ @@ -134,6 +134,7 @@ TargetAttributes = { 099226AE20D286950002EBDA = { CreatedOnToolsVersion = 9.3.1; + LastSwiftMigration = 1120; }; }; }; @@ -192,17 +193,16 @@ buildActionMask = 2147483647; files = ( ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/StyledTextKit/StyledTextKit.framework", + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/StyledTextKit.framework", + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ @@ -371,7 +371,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "Marcus-Wu.Example"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; @@ -390,7 +390,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "Marcus-Wu.Example"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Release; diff --git a/Example/Example/AppDelegate.swift b/Example/Example/AppDelegate.swift index 8879b32..411bc3a 100644 --- a/Example/Example/AppDelegate.swift +++ b/Example/Example/AppDelegate.swift @@ -14,7 +14,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { return true } diff --git a/Example/Example/BackgroundRenderingViewController.swift b/Example/Example/BackgroundRenderingViewController.swift index 985bf8b..c680327 100644 --- a/Example/Example/BackgroundRenderingViewController.swift +++ b/Example/Example/BackgroundRenderingViewController.swift @@ -10,9 +10,9 @@ import UIKit import StyledTextKit import SafariServices -extension NSAttributedStringKey { +extension NSAttributedString.Key { - public static let tapable = NSAttributedStringKey(rawValue: "tapable") + public static let tapable = NSAttributedString.Key(rawValue: "tapable") } @@ -83,13 +83,13 @@ class BackgroundRenderingViewController: UIViewController { } extension BackgroundRenderingViewController: StyledTextViewDelegate { - - func didTap(view: StyledTextView, attributes: [NSAttributedStringKey : Any], point: CGPoint) { + + func didTap(view: StyledTextView, attributes: NSAttributedStringAttributesType, point: CGPoint) { guard let action = attributes[.tapable] as? Selector else { return } perform(action) } - func didLongPress(view: StyledTextView, attributes: [NSAttributedStringKey : Any], point: CGPoint) {} + func didLongPress(view: StyledTextView, attributes: NSAttributedStringAttributesType, point: CGPoint) {} } diff --git a/Example/Example/RenderingTextBitmapsViewController.swift b/Example/Example/RenderingTextBitmapsViewController.swift index 20ed612..c1270d7 100644 --- a/Example/Example/RenderingTextBitmapsViewController.swift +++ b/Example/Example/RenderingTextBitmapsViewController.swift @@ -37,7 +37,7 @@ class RenderingTextBitmapsViewController: UIViewController { let result = renderer.render(for: UIScreen.main.bounds.width) view.layer.contents = result.image - view.layer.contentsGravity = kCAGravityCenter + view.layer.contentsGravity = CALayerContentsGravity.center } } diff --git a/Example/Podfile.lock b/Example/Podfile.lock index d48b455..243fb57 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - StyledTextKit (0.1.1) + - StyledTextKit (0.2.0) DEPENDENCIES: - StyledTextKit (from `../StyledTextKit.podspec`) @@ -9,8 +9,8 @@ EXTERNAL SOURCES: :path: "../StyledTextKit.podspec" SPEC CHECKSUMS: - StyledTextKit: 7fb706b7dce1bf5adcf7df6054b5c321b94ebfc0 + StyledTextKit: 72ce06a21fc6527093f2fcad246ed419707b4ff9 PODFILE CHECKSUM: cce33de777ba45b96bae71bcdc8c7705f353b112 -COCOAPODS: 1.5.0 +COCOAPODS: 1.8.4 diff --git a/Example/Pods/Local Podspecs/StyledTextKit.podspec.json b/Example/Pods/Local Podspecs/StyledTextKit.podspec.json index 4ef58fd..58506e8 100644 --- a/Example/Pods/Local Podspecs/StyledTextKit.podspec.json +++ b/Example/Pods/Local Podspecs/StyledTextKit.podspec.json @@ -1,6 +1,6 @@ { "name": "StyledTextKit", - "version": "0.1.1", + "version": "0.2.0", "license": { "type": "MIT" }, @@ -10,12 +10,13 @@ }, "summary": "Declarative building and fast rendering attributed string library.", "source": { - "git": "https://github.com/GitHawkApp/StyledTextKit/StyledTextKit.git", - "tag": "0.1.1" + "git": "https://github.com/GitHawkApp/StyledTextKit.git", + "tag": "0.2.0" }, "source_files": "Source/*.swift", "platforms": { "ios": "10.0" }, - "swift_version": "4.0" + "swift_versions": "5.0", + "swift_version": "5.0" } diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index d48b455..243fb57 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -1,5 +1,5 @@ PODS: - - StyledTextKit (0.1.1) + - StyledTextKit (0.2.0) DEPENDENCIES: - StyledTextKit (from `../StyledTextKit.podspec`) @@ -9,8 +9,8 @@ EXTERNAL SOURCES: :path: "../StyledTextKit.podspec" SPEC CHECKSUMS: - StyledTextKit: 7fb706b7dce1bf5adcf7df6054b5c321b94ebfc0 + StyledTextKit: 72ce06a21fc6527093f2fcad246ed419707b4ff9 PODFILE CHECKSUM: cce33de777ba45b96bae71bcdc8c7705f353b112 -COCOAPODS: 1.5.0 +COCOAPODS: 1.8.4 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index d6d8589..047170a 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -7,366 +7,384 @@ objects = { /* Begin PBXBuildFile section */ - 0076534DB4579DE8DC720103401EF0D7 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; - 2563C5DAEA96511DD4DD10C0EEE2C3F8 /* TextStyle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74D960413BB43C4198458E8AEB102279 /* TextStyle.swift */; }; - 280AE9A55E5941263418810D2768FB3B /* NSAttributedString+Trim.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B41C09C62974972ECEE49E20E104EBC /* NSAttributedString+Trim.swift */; }; - 2CE3CE9C2819CCFACA263F5B37CCDAEE /* StyledText.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BECFB6CE57689337508F008DF0936B1 /* StyledText.swift */; }; - 2D6B7A093DF67B0765B444A9EC02AAE7 /* StyledTextString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F8430A1B292CED47DFE2A2A4007F67D /* StyledTextString.swift */; }; - 2DF19734DD46D1E87D56DD0AD5B467A8 /* UIScreen+Static.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9A944568E8A62CBBE837A6BE4C4A25DF /* UIScreen+Static.swift */; }; - 4BFDE7D6BE71729C21EB7D7E48F91FF3 /* CGSize+Utility.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6061B9D1E487F29C4F716EDF6200E28 /* CGSize+Utility.swift */; }; - 563EDA662045138AD33B7E167657B090 /* Pods-Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 15D3FE98E9F2D34863BD3F3597A0485A /* Pods-Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 6B874D5378A52729C54DB1E6604417D4 /* UIFont+UnionTraits.swift in Sources */ = {isa = PBXBuildFile; fileRef = 26A270E6F817C31297BC1CCE1DB1EADC /* UIFont+UnionTraits.swift */; }; - 6F1E9B4362E79BFB84C5193DE2E0F7D6 /* StyledTextRenderCacheKey.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38A9739E0399DE8DB00D93B5CEFC91A9 /* StyledTextRenderCacheKey.swift */; }; - 8481CAC1D19F9905F649C1FB77F3DDFC /* NSLayoutManager+Render.swift in Sources */ = {isa = PBXBuildFile; fileRef = A8E624910A79239D6EAA041A3E0D8E14 /* NSLayoutManager+Render.swift */; }; - 88CF83EDD56080526F04864638297965 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; - 8A4B9C198E5A07F38880BC222307D89E /* StyledTextRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9CF976E8163006C4A91DD2D4278A5DA5 /* StyledTextRenderer.swift */; }; - A0FE5D54F60C851DA0A847D8D1C6E8AB /* UIContentSizeCategory+Scaling.swift in Sources */ = {isa = PBXBuildFile; fileRef = F77B7E3BB7118F5BB69A41EE6E170750 /* UIContentSizeCategory+Scaling.swift */; }; - A416D4ED48DCC160FC287938E79C29CE /* NSAttributedStringKey+StyledText.swift in Sources */ = {isa = PBXBuildFile; fileRef = D7EA4894F4286FAB8FD40110D92CDE53 /* NSAttributedStringKey+StyledText.swift */; }; - AC1D11067D9C8B7CCF63AB85637F9178 /* Font.swift in Sources */ = {isa = PBXBuildFile; fileRef = E4BE332BFC2A1AD85016AF45D9B1B574 /* Font.swift */; }; - D4F3BDDCA90F5B06B6B4438F4F938DF3 /* Pods-Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1AD65E35A3233FBE6F2EFDEB3D43D114 /* Pods-Example-dummy.m */; }; - D794BCE62B7C35AAACEB3B8D7795788E /* Hashable+Combined.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80525B175FA844B6E81291DFDBB62F09 /* Hashable+Combined.swift */; }; - DA8EE77D18FD86D74DD11FA39C090AAB /* StyledTextKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 991B070BFFF0055F8C05885D989CC91C /* StyledTextKit-dummy.m */; }; - DE884856074A685EC6C97526E0E49EBB /* CGSize+LRUCachable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 608513FE2931D9E9F7F4E398D1278B33 /* CGSize+LRUCachable.swift */; }; - E727FEDC94DE586EBD8B9B11B1C8428A /* StyledTextView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52F2322704DDBCBA86F38BFCA2901435 /* StyledTextView.swift */; }; - E7AAE1D41CA9EF7AB036861BBEE0BE26 /* CGImage+LRUCachable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F0888ABC5CDB3AFF8DDD1A067708E94 /* CGImage+LRUCachable.swift */; }; - EA3429E1E65530F95005A6520593F5D4 /* LRUCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9FFD4354E41899C325DF7449A412FFE7 /* LRUCache.swift */; }; - F4A87DC2C7D4BC2993CBD3DCBE5FA928 /* StyledTextBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 09AC738C1C56E8C970D324DF8366A651 /* StyledTextBuilder.swift */; }; - FEBA484F739D922C1ED756B4B3221E7B /* StyledTextKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B06E4083CB93AAFBF4F21C8613155461 /* StyledTextKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 04611EADFFA8E6C633A9B9B76D18E052 /* UIContentSizeCategory+Scaling.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8772D32E2F6C88D46205A1B64095895D /* UIContentSizeCategory+Scaling.swift */; }; + 0D3C81F70B18AE6624535B905056E2C1 /* NSAttributedString+Trim.swift in Sources */ = {isa = PBXBuildFile; fileRef = 85AC42AC4B289029969BC22822F4127A /* NSAttributedString+Trim.swift */; }; + 0F1CE5F0E6C726DB6575D86221652CDB /* StyledTextRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2248AC157AB27BC796DBB48442BAB760 /* StyledTextRenderer.swift */; }; + 120B167EA64F541DD50EBC6839DEBA57 /* Pods-Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7825A90E082A1582EB16256B0E722B3F /* Pods-Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 43A62BDB2DBE6B7AF570A4666F89949E /* TextStyle.swift in Sources */ = {isa = PBXBuildFile; fileRef = D60418187B8DC5DF2C4E05A44AF0D880 /* TextStyle.swift */; }; + 58F84D12C539DD280A583B3BB379BFA7 /* CGImage+LRUCachable.swift in Sources */ = {isa = PBXBuildFile; fileRef = EE93D8900643DC3D3E21434CB88B5788 /* CGImage+LRUCachable.swift */; }; + 5BD9B9FBB1A3157B5102BFAB650D2ADF /* CGSize+Utility.swift in Sources */ = {isa = PBXBuildFile; fileRef = B63AB6BBAC7A27B2D00D32F21672390B /* CGSize+Utility.swift */; }; + 5C803195F8E235F670005502193500DA /* Pods-Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = D6D7C498FA339E02BD53ECB8916CEA8E /* Pods-Example-dummy.m */; }; + 5DEDFD5EF0456EB6DF7DD4D7724F6280 /* StyledTextKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 79F958D2D62683787EFE2E9280376202 /* StyledTextKit-dummy.m */; }; + 6200DC7C41C8EDBEE52A9D755E8424EF /* Hashable+Combined.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38F8E613E856AE04858C8803BDB00BD6 /* Hashable+Combined.swift */; }; + 6D25C42844D1554630C50D0098BB74F7 /* Font.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9449CF6CBE5F46ED87348F95A4E62F09 /* Font.swift */; }; + 6DDED0F2BFF19420A23ADDE71E006C5B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; + 73A223E2124B59001B0EAA6ECAAE4AA4 /* UIScreen+Static.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B4DC894B3CFAEAA6B0EDBC4930E7820 /* UIScreen+Static.swift */; }; + 7FA28D4CD453EB4245AA8C094FE63B6A /* StyledTextRenderCacheKey.swift in Sources */ = {isa = PBXBuildFile; fileRef = 227809B780FFD1171EB9E06F686685CE /* StyledTextRenderCacheKey.swift */; }; + 8B6E80D9B091E556B43D68581BFCA6B2 /* StyledText.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34FDE645A8A93639B24216200AAE8CB2 /* StyledText.swift */; }; + 8E4EB47D93F4B2EE1A81987CE38AEE6C /* NSAttributedStringKey+StyledText.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04B4B3525709D29D51FBCC564376CC05 /* NSAttributedStringKey+StyledText.swift */; }; + AEB6DA9D5086E718AB90F7C41E09CD99 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; + B5E2377E5A648318BD90007A4CB971CC /* CGSize+LRUCachable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34D75EBA8831307154AC7B17E23A47AA /* CGSize+LRUCachable.swift */; }; + C32DDC94128D0604F3F3AB60DAA909C0 /* StyledTextView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18CCCF800A84A61E7E9ED49F0B4B7383 /* StyledTextView.swift */; }; + C4FCB592C6747D4294E048B15B2DFF70 /* LRUCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B92FBA138D7DE1F3CAF76CD5621ADB0 /* LRUCache.swift */; }; + D75E22E82BF6F840C0C3CC2E53C26A4A /* StyledTextKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 6D5CD0246A26C70D4F1377E38A5ACD03 /* StyledTextKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + D8B6BACD0E271A5F29B4B65E2FD56DDD /* StyledTextBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3EFF2A9E97BD57472839C7FFDA3D4BD2 /* StyledTextBuilder.swift */; }; + DF002C7AAECE866BDC374FF4F523E227 /* NSLayoutManager+Render.swift in Sources */ = {isa = PBXBuildFile; fileRef = 801CB363708FA8B829E5E745343907DE /* NSLayoutManager+Render.swift */; }; + E268CCAAC5EBF5822B40EE9F85608E9E /* NSAttributedStringAttributesType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 340E47D85491B2FBB7D7DB07E01C696B /* NSAttributedStringAttributesType.swift */; }; + E92A8876DE4952435A4DE4A3BB7A8D7C /* StyledTextString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BB196B811EC452A48C3807043855DFF /* StyledTextString.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - 72F75B5403890E92DD17B0B7BB0F074A /* PBXContainerItemProxy */ = { + B84748446D17C3B6F4629EDD48BF0088 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = 406D210357C971DE58D92BEEF66A4ADE; + remoteGlobalIDString = A33A8B226AEE55E87FD5EBC01722957C; remoteInfo = StyledTextKit; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 044AA3E23F71470C9B5F50D44720EA0D /* Pods-Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Example-resources.sh"; sourceTree = ""; }; - 09AC738C1C56E8C970D324DF8366A651 /* StyledTextBuilder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextBuilder.swift; path = Source/StyledTextBuilder.swift; sourceTree = ""; }; - 11434BC759D12F57876FBB74A4775E74 /* Pods-Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Example-acknowledgements.plist"; sourceTree = ""; }; - 15D3FE98E9F2D34863BD3F3597A0485A /* Pods-Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Example-umbrella.h"; sourceTree = ""; }; - 1AD65E35A3233FBE6F2EFDEB3D43D114 /* Pods-Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Example-dummy.m"; sourceTree = ""; }; - 1F8430A1B292CED47DFE2A2A4007F67D /* StyledTextString.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextString.swift; path = Source/StyledTextString.swift; sourceTree = ""; }; - 25A37D4D536CC5988A439441117C41F4 /* Pods-Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-Example.modulemap"; sourceTree = ""; }; - 26A270E6F817C31297BC1CCE1DB1EADC /* UIFont+UnionTraits.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIFont+UnionTraits.swift"; path = "Source/UIFont+UnionTraits.swift"; sourceTree = ""; }; - 2B41C09C62974972ECEE49E20E104EBC /* NSAttributedString+Trim.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSAttributedString+Trim.swift"; path = "Source/NSAttributedString+Trim.swift"; sourceTree = ""; }; - 38A9739E0399DE8DB00D93B5CEFC91A9 /* StyledTextRenderCacheKey.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextRenderCacheKey.swift; path = Source/StyledTextRenderCacheKey.swift; sourceTree = ""; }; - 3ADE9E5655579DB0F79DC9C80758673C /* Pods-Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Example-acknowledgements.markdown"; sourceTree = ""; }; - 3F3EFEBDE6702DEFDFFF9D5C6DBC3773 /* Pods-Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Example-frameworks.sh"; sourceTree = ""; }; - 417E011BB0D2861785A76B828E26EBE3 /* Pods_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_Example.framework; path = "Pods-Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 4F0888ABC5CDB3AFF8DDD1A067708E94 /* CGImage+LRUCachable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CGImage+LRUCachable.swift"; path = "Source/CGImage+LRUCachable.swift"; sourceTree = ""; }; - 52F2322704DDBCBA86F38BFCA2901435 /* StyledTextView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextView.swift; path = Source/StyledTextView.swift; sourceTree = ""; }; - 5B81C04F8E84EAE60AE15C8695031A5F /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 608513FE2931D9E9F7F4E398D1278B33 /* CGSize+LRUCachable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CGSize+LRUCachable.swift"; path = "Source/CGSize+LRUCachable.swift"; sourceTree = ""; }; - 6434F96825A79D30184824C3F70ADC17 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - 6AB6826DB46F23EACE971BC3E57591F3 /* StyledTextKit.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; path = StyledTextKit.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 74D960413BB43C4198458E8AEB102279 /* TextStyle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TextStyle.swift; path = Source/TextStyle.swift; sourceTree = ""; }; - 80525B175FA844B6E81291DFDBB62F09 /* Hashable+Combined.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Hashable+Combined.swift"; path = "Source/Hashable+Combined.swift"; sourceTree = ""; }; - 88870F60581F6BFF04773902CD05A265 /* StyledTextKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "StyledTextKit-prefix.pch"; sourceTree = ""; }; - 8E13E64745A3FCA6C27DDC7019663FE0 /* StyledTextKit.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = StyledTextKit.xcconfig; sourceTree = ""; }; - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 98252682F67146EDF07F8AC709659F1F /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; - 991B070BFFF0055F8C05885D989CC91C /* StyledTextKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "StyledTextKit-dummy.m"; sourceTree = ""; }; - 9A944568E8A62CBBE837A6BE4C4A25DF /* UIScreen+Static.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIScreen+Static.swift"; path = "Source/UIScreen+Static.swift"; sourceTree = ""; }; - 9BECFB6CE57689337508F008DF0936B1 /* StyledText.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledText.swift; path = Source/StyledText.swift; sourceTree = ""; }; - 9CF976E8163006C4A91DD2D4278A5DA5 /* StyledTextRenderer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextRenderer.swift; path = Source/StyledTextRenderer.swift; sourceTree = ""; }; - 9FFD4354E41899C325DF7449A412FFE7 /* LRUCache.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LRUCache.swift; path = Source/LRUCache.swift; sourceTree = ""; }; - A79AC23D5A157FED70D9C53D844B2319 /* Pods-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Example.release.xcconfig"; sourceTree = ""; }; - A8E624910A79239D6EAA041A3E0D8E14 /* NSLayoutManager+Render.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSLayoutManager+Render.swift"; path = "Source/NSLayoutManager+Render.swift"; sourceTree = ""; }; - AD4B564243A5D1525F1E428676F44184 /* StyledTextKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = StyledTextKit.framework; path = StyledTextKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - B06E4083CB93AAFBF4F21C8613155461 /* StyledTextKit-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "StyledTextKit-umbrella.h"; sourceTree = ""; }; - BAEAEA4146C22D58B7A58C7C4D47F4F3 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; - D7EA4894F4286FAB8FD40110D92CDE53 /* NSAttributedStringKey+StyledText.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSAttributedStringKey+StyledText.swift"; path = "Source/NSAttributedStringKey+StyledText.swift"; sourceTree = ""; }; - E4BE332BFC2A1AD85016AF45D9B1B574 /* Font.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Font.swift; path = Source/Font.swift; sourceTree = ""; }; - E6061B9D1E487F29C4F716EDF6200E28 /* CGSize+Utility.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CGSize+Utility.swift"; path = "Source/CGSize+Utility.swift"; sourceTree = ""; }; - EFC5B2E05B58CD826FD55659BF1D7E39 /* Pods-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Example.debug.xcconfig"; sourceTree = ""; }; - F77B7E3BB7118F5BB69A41EE6E170750 /* UIContentSizeCategory+Scaling.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIContentSizeCategory+Scaling.swift"; path = "Source/UIContentSizeCategory+Scaling.swift"; sourceTree = ""; }; - FB9A37A2344A7B188478C8AAF2A848C2 /* StyledTextKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = StyledTextKit.modulemap; sourceTree = ""; }; + 02D196C5F05759BDF20085AA1703ABDF /* StyledTextKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = StyledTextKit.modulemap; sourceTree = ""; }; + 04B4B3525709D29D51FBCC564376CC05 /* NSAttributedStringKey+StyledText.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSAttributedStringKey+StyledText.swift"; path = "Source/NSAttributedStringKey+StyledText.swift"; sourceTree = ""; }; + 0DB87C96E01E077304230DA6E0F96A4A /* StyledTextKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = StyledTextKit.framework; path = StyledTextKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 18CCCF800A84A61E7E9ED49F0B4B7383 /* StyledTextView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextView.swift; path = Source/StyledTextView.swift; sourceTree = ""; }; + 1F667CC0E19EAF34E5A4119E2121F585 /* Pods_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_Example.framework; path = "Pods-Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + 2073504D3BAC0B28F232AB3863F5C64D /* StyledTextKit-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "StyledTextKit-Info.plist"; sourceTree = ""; }; + 2248AC157AB27BC796DBB48442BAB760 /* StyledTextRenderer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextRenderer.swift; path = Source/StyledTextRenderer.swift; sourceTree = ""; }; + 227809B780FFD1171EB9E06F686685CE /* StyledTextRenderCacheKey.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextRenderCacheKey.swift; path = Source/StyledTextRenderCacheKey.swift; sourceTree = ""; }; + 243410B9535472556EA4BB6DBC133A0D /* Pods-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Example.release.xcconfig"; sourceTree = ""; }; + 31C1D37707DFAA5E6A164BCC07834264 /* Pods-Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Example-Info.plist"; sourceTree = ""; }; + 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + 340E47D85491B2FBB7D7DB07E01C696B /* NSAttributedStringAttributesType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NSAttributedStringAttributesType.swift; path = Source/NSAttributedStringAttributesType.swift; sourceTree = ""; }; + 34D75EBA8831307154AC7B17E23A47AA /* CGSize+LRUCachable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CGSize+LRUCachable.swift"; path = "Source/CGSize+LRUCachable.swift"; sourceTree = ""; }; + 34FDE645A8A93639B24216200AAE8CB2 /* StyledText.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledText.swift; path = Source/StyledText.swift; sourceTree = ""; }; + 35C305D3797C284E6F5BAA1D3E6F9BF8 /* Pods-Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-Example.modulemap"; sourceTree = ""; }; + 38F8E613E856AE04858C8803BDB00BD6 /* Hashable+Combined.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Hashable+Combined.swift"; path = "Source/Hashable+Combined.swift"; sourceTree = ""; }; + 3EFF2A9E97BD57472839C7FFDA3D4BD2 /* StyledTextBuilder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextBuilder.swift; path = Source/StyledTextBuilder.swift; sourceTree = ""; }; + 420E4DC4A2036E2E09F5C1D32C321567 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; + 441854E35F81731E63E53DC7E4EEAD9D /* Pods-Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Example-acknowledgements.markdown"; sourceTree = ""; }; + 5B92FBA138D7DE1F3CAF76CD5621ADB0 /* LRUCache.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LRUCache.swift; path = Source/LRUCache.swift; sourceTree = ""; }; + 6D5CD0246A26C70D4F1377E38A5ACD03 /* StyledTextKit-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "StyledTextKit-umbrella.h"; sourceTree = ""; }; + 7825A90E082A1582EB16256B0E722B3F /* Pods-Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Example-umbrella.h"; sourceTree = ""; }; + 79F958D2D62683787EFE2E9280376202 /* StyledTextKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "StyledTextKit-dummy.m"; sourceTree = ""; }; + 7B904820E86D8DE5EFF7F16A527EF1F2 /* StyledTextKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "StyledTextKit-prefix.pch"; sourceTree = ""; }; + 801CB363708FA8B829E5E745343907DE /* NSLayoutManager+Render.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSLayoutManager+Render.swift"; path = "Source/NSLayoutManager+Render.swift"; sourceTree = ""; }; + 85AC42AC4B289029969BC22822F4127A /* NSAttributedString+Trim.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSAttributedString+Trim.swift"; path = "Source/NSAttributedString+Trim.swift"; sourceTree = ""; }; + 8772D32E2F6C88D46205A1B64095895D /* UIContentSizeCategory+Scaling.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIContentSizeCategory+Scaling.swift"; path = "Source/UIContentSizeCategory+Scaling.swift"; sourceTree = ""; }; + 9449CF6CBE5F46ED87348F95A4E62F09 /* Font.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Font.swift; path = Source/Font.swift; sourceTree = ""; }; + 974B6EAA95B1BBDCFAC2D3616E8C5754 /* StyledTextKit.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = StyledTextKit.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 9B4DC894B3CFAEAA6B0EDBC4930E7820 /* UIScreen+Static.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIScreen+Static.swift"; path = "Source/UIScreen+Static.swift"; sourceTree = ""; }; + 9BB196B811EC452A48C3807043855DFF /* StyledTextString.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextString.swift; path = Source/StyledTextString.swift; sourceTree = ""; }; + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + AA2CCCCB20218C7FFE75722F1A090737 /* StyledTextKit.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = StyledTextKit.xcconfig; sourceTree = ""; }; + AFECBC24E09D0D25F822C27BD944AFD4 /* Pods-Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Example-frameworks.sh"; sourceTree = ""; }; + B45138496B85A072654D1D0F8EBBEDE5 /* Pods-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Example.debug.xcconfig"; sourceTree = ""; }; + B63AB6BBAC7A27B2D00D32F21672390B /* CGSize+Utility.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CGSize+Utility.swift"; path = "Source/CGSize+Utility.swift"; sourceTree = ""; }; + BD53D9415F6BD379B38B35B2B8295208 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; + D60418187B8DC5DF2C4E05A44AF0D880 /* TextStyle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TextStyle.swift; path = Source/TextStyle.swift; sourceTree = ""; }; + D6D7C498FA339E02BD53ECB8916CEA8E /* Pods-Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Example-dummy.m"; sourceTree = ""; }; + EA21B344259B58996DB73382B1B1521F /* Pods-Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Example-acknowledgements.plist"; sourceTree = ""; }; + EE93D8900643DC3D3E21434CB88B5788 /* CGImage+LRUCachable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CGImage+LRUCachable.swift"; path = "Source/CGImage+LRUCachable.swift"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - 09DFE0E85D3E47D1D9E98FEE4DE3AB0E /* Frameworks */ = { + A8ED048E872EB300EA31C038FD0372B3 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 0076534DB4579DE8DC720103401EF0D7 /* Foundation.framework in Frameworks */, + 6DDED0F2BFF19420A23ADDE71E006C5B /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - 8333C9167BF3620E0D09523465728A36 /* Frameworks */ = { + D91679357B99ECF26D9DAC37296A1A65 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 88CF83EDD56080526F04864638297965 /* Foundation.framework in Frameworks */, + AEB6DA9D5086E718AB90F7C41E09CD99 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 1B5ECB992A56AE0C70DC72D88BB90B05 /* Pods-Example */ = { + 05420E616167B11C1148C8985FCC037F /* Support Files */ = { isa = PBXGroup; children = ( - 5B81C04F8E84EAE60AE15C8695031A5F /* Info.plist */, - 25A37D4D536CC5988A439441117C41F4 /* Pods-Example.modulemap */, - 3ADE9E5655579DB0F79DC9C80758673C /* Pods-Example-acknowledgements.markdown */, - 11434BC759D12F57876FBB74A4775E74 /* Pods-Example-acknowledgements.plist */, - 1AD65E35A3233FBE6F2EFDEB3D43D114 /* Pods-Example-dummy.m */, - 3F3EFEBDE6702DEFDFFF9D5C6DBC3773 /* Pods-Example-frameworks.sh */, - 044AA3E23F71470C9B5F50D44720EA0D /* Pods-Example-resources.sh */, - 15D3FE98E9F2D34863BD3F3597A0485A /* Pods-Example-umbrella.h */, - EFC5B2E05B58CD826FD55659BF1D7E39 /* Pods-Example.debug.xcconfig */, - A79AC23D5A157FED70D9C53D844B2319 /* Pods-Example.release.xcconfig */, + 02D196C5F05759BDF20085AA1703ABDF /* StyledTextKit.modulemap */, + AA2CCCCB20218C7FFE75722F1A090737 /* StyledTextKit.xcconfig */, + 79F958D2D62683787EFE2E9280376202 /* StyledTextKit-dummy.m */, + 2073504D3BAC0B28F232AB3863F5C64D /* StyledTextKit-Info.plist */, + 7B904820E86D8DE5EFF7F16A527EF1F2 /* StyledTextKit-prefix.pch */, + 6D5CD0246A26C70D4F1377E38A5ACD03 /* StyledTextKit-umbrella.h */, ); - name = "Pods-Example"; - path = "Target Support Files/Pods-Example"; + name = "Support Files"; + path = "Example/Pods/Target Support Files/StyledTextKit"; sourceTree = ""; }; - 65623E7A3C4DC8F8D247EFDE73F51402 /* Pod */ = { + 1062FF2190F956685E36227FD0A2093D /* StyledTextKit */ = { isa = PBXGroup; children = ( - 98252682F67146EDF07F8AC709659F1F /* LICENSE */, - BAEAEA4146C22D58B7A58C7C4D47F4F3 /* README.md */, - 6AB6826DB46F23EACE971BC3E57591F3 /* StyledTextKit.podspec */, + EE93D8900643DC3D3E21434CB88B5788 /* CGImage+LRUCachable.swift */, + 34D75EBA8831307154AC7B17E23A47AA /* CGSize+LRUCachable.swift */, + B63AB6BBAC7A27B2D00D32F21672390B /* CGSize+Utility.swift */, + 9449CF6CBE5F46ED87348F95A4E62F09 /* Font.swift */, + 38F8E613E856AE04858C8803BDB00BD6 /* Hashable+Combined.swift */, + 5B92FBA138D7DE1F3CAF76CD5621ADB0 /* LRUCache.swift */, + 85AC42AC4B289029969BC22822F4127A /* NSAttributedString+Trim.swift */, + 340E47D85491B2FBB7D7DB07E01C696B /* NSAttributedStringAttributesType.swift */, + 04B4B3525709D29D51FBCC564376CC05 /* NSAttributedStringKey+StyledText.swift */, + 801CB363708FA8B829E5E745343907DE /* NSLayoutManager+Render.swift */, + 34FDE645A8A93639B24216200AAE8CB2 /* StyledText.swift */, + 3EFF2A9E97BD57472839C7FFDA3D4BD2 /* StyledTextBuilder.swift */, + 227809B780FFD1171EB9E06F686685CE /* StyledTextRenderCacheKey.swift */, + 2248AC157AB27BC796DBB48442BAB760 /* StyledTextRenderer.swift */, + 9BB196B811EC452A48C3807043855DFF /* StyledTextString.swift */, + 18CCCF800A84A61E7E9ED49F0B4B7383 /* StyledTextView.swift */, + D60418187B8DC5DF2C4E05A44AF0D880 /* TextStyle.swift */, + 8772D32E2F6C88D46205A1B64095895D /* UIContentSizeCategory+Scaling.swift */, + 9B4DC894B3CFAEAA6B0EDBC4930E7820 /* UIScreen+Static.swift */, + 26008BD5BF94A33EF16004BE6B1364FE /* Pod */, + 05420E616167B11C1148C8985FCC037F /* Support Files */, ); - name = Pod; + name = StyledTextKit; + path = ../..; sourceTree = ""; }; - 6A4F6A14E3FB951290E4531728B7A461 /* Targets Support Files */ = { + 17298B7A2AAA27AD506B9E85B8E9785C /* Development Pods */ = { isa = PBXGroup; children = ( - 1B5ECB992A56AE0C70DC72D88BB90B05 /* Pods-Example */, + 1062FF2190F956685E36227FD0A2093D /* StyledTextKit */, ); - name = "Targets Support Files"; + name = "Development Pods"; sourceTree = ""; }; - 73773F0BE534D86B21B7FAF0544FD396 /* Development Pods */ = { + 26008BD5BF94A33EF16004BE6B1364FE /* Pod */ = { isa = PBXGroup; children = ( - CBCDD73B7FDF5BFE4E4AFFF9F29E28F0 /* StyledTextKit */, + BD53D9415F6BD379B38B35B2B8295208 /* LICENSE */, + 420E4DC4A2036E2E09F5C1D32C321567 /* README.md */, + 974B6EAA95B1BBDCFAC2D3616E8C5754 /* StyledTextKit.podspec */, ); - name = "Development Pods"; + name = Pod; sourceTree = ""; }; - 7DB346D0F39D3F0E887471402A8071AB = { + 5AA5E4BDCAF6F835311E6A5BA72390A1 /* Products */ = { isa = PBXGroup; children = ( - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, - 73773F0BE534D86B21B7FAF0544FD396 /* Development Pods */, - BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, - AE383349A4754517ACAB391166521BAB /* Products */, - 6A4F6A14E3FB951290E4531728B7A461 /* Targets Support Files */, + 1F667CC0E19EAF34E5A4119E2121F585 /* Pods_Example.framework */, + 0DB87C96E01E077304230DA6E0F96A4A /* StyledTextKit.framework */, ); + name = Products; sourceTree = ""; }; - 9979DBE16E5C5E547064960C85E0BAA0 /* Support Files */ = { + 9BDBD95ED116334D1B2835202D8D3060 /* Pods-Example */ = { isa = PBXGroup; children = ( - 6434F96825A79D30184824C3F70ADC17 /* Info.plist */, - FB9A37A2344A7B188478C8AAF2A848C2 /* StyledTextKit.modulemap */, - 8E13E64745A3FCA6C27DDC7019663FE0 /* StyledTextKit.xcconfig */, - 991B070BFFF0055F8C05885D989CC91C /* StyledTextKit-dummy.m */, - 88870F60581F6BFF04773902CD05A265 /* StyledTextKit-prefix.pch */, - B06E4083CB93AAFBF4F21C8613155461 /* StyledTextKit-umbrella.h */, + 35C305D3797C284E6F5BAA1D3E6F9BF8 /* Pods-Example.modulemap */, + 441854E35F81731E63E53DC7E4EEAD9D /* Pods-Example-acknowledgements.markdown */, + EA21B344259B58996DB73382B1B1521F /* Pods-Example-acknowledgements.plist */, + D6D7C498FA339E02BD53ECB8916CEA8E /* Pods-Example-dummy.m */, + AFECBC24E09D0D25F822C27BD944AFD4 /* Pods-Example-frameworks.sh */, + 31C1D37707DFAA5E6A164BCC07834264 /* Pods-Example-Info.plist */, + 7825A90E082A1582EB16256B0E722B3F /* Pods-Example-umbrella.h */, + B45138496B85A072654D1D0F8EBBEDE5 /* Pods-Example.debug.xcconfig */, + 243410B9535472556EA4BB6DBC133A0D /* Pods-Example.release.xcconfig */, ); - name = "Support Files"; - path = "Example/Pods/Target Support Files/StyledTextKit"; + name = "Pods-Example"; + path = "Target Support Files/Pods-Example"; sourceTree = ""; }; - AE383349A4754517ACAB391166521BAB /* Products */ = { + C0834CEBB1379A84116EF29F93051C60 /* iOS */ = { isa = PBXGroup; children = ( - 417E011BB0D2861785A76B828E26EBE3 /* Pods_Example.framework */, - AD4B564243A5D1525F1E428676F44184 /* StyledTextKit.framework */, + 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */, ); - name = Products; + name = iOS; sourceTree = ""; }; - BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { + CE2E825F08D3AD0FD76E6D78D7512ED0 /* Targets Support Files */ = { isa = PBXGroup; children = ( - D35AF013A5F0BAD4F32504907A52519E /* iOS */, + 9BDBD95ED116334D1B2835202D8D3060 /* Pods-Example */, ); - name = Frameworks; + name = "Targets Support Files"; sourceTree = ""; }; - CBCDD73B7FDF5BFE4E4AFFF9F29E28F0 /* StyledTextKit */ = { + CF1408CF629C7361332E53B88F7BD30C = { isa = PBXGroup; children = ( - 4F0888ABC5CDB3AFF8DDD1A067708E94 /* CGImage+LRUCachable.swift */, - 608513FE2931D9E9F7F4E398D1278B33 /* CGSize+LRUCachable.swift */, - E6061B9D1E487F29C4F716EDF6200E28 /* CGSize+Utility.swift */, - E4BE332BFC2A1AD85016AF45D9B1B574 /* Font.swift */, - 80525B175FA844B6E81291DFDBB62F09 /* Hashable+Combined.swift */, - 9FFD4354E41899C325DF7449A412FFE7 /* LRUCache.swift */, - 2B41C09C62974972ECEE49E20E104EBC /* NSAttributedString+Trim.swift */, - D7EA4894F4286FAB8FD40110D92CDE53 /* NSAttributedStringKey+StyledText.swift */, - A8E624910A79239D6EAA041A3E0D8E14 /* NSLayoutManager+Render.swift */, - 9BECFB6CE57689337508F008DF0936B1 /* StyledText.swift */, - 09AC738C1C56E8C970D324DF8366A651 /* StyledTextBuilder.swift */, - 38A9739E0399DE8DB00D93B5CEFC91A9 /* StyledTextRenderCacheKey.swift */, - 9CF976E8163006C4A91DD2D4278A5DA5 /* StyledTextRenderer.swift */, - 1F8430A1B292CED47DFE2A2A4007F67D /* StyledTextString.swift */, - 52F2322704DDBCBA86F38BFCA2901435 /* StyledTextView.swift */, - 74D960413BB43C4198458E8AEB102279 /* TextStyle.swift */, - F77B7E3BB7118F5BB69A41EE6E170750 /* UIContentSizeCategory+Scaling.swift */, - 26A270E6F817C31297BC1CCE1DB1EADC /* UIFont+UnionTraits.swift */, - 9A944568E8A62CBBE837A6BE4C4A25DF /* UIScreen+Static.swift */, - 65623E7A3C4DC8F8D247EFDE73F51402 /* Pod */, - 9979DBE16E5C5E547064960C85E0BAA0 /* Support Files */, + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, + 17298B7A2AAA27AD506B9E85B8E9785C /* Development Pods */, + D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, + 5AA5E4BDCAF6F835311E6A5BA72390A1 /* Products */, + CE2E825F08D3AD0FD76E6D78D7512ED0 /* Targets Support Files */, ); - name = StyledTextKit; - path = ../..; sourceTree = ""; }; - D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { + D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { isa = PBXGroup; children = ( - 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, + C0834CEBB1379A84116EF29F93051C60 /* iOS */, ); - name = iOS; + name = Frameworks; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - B88446169526D28202D7D434F7F59992 /* Headers */ = { + 45E0149A982436909E404A78E5EAEEF1 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - FEBA484F739D922C1ED756B4B3221E7B /* StyledTextKit-umbrella.h in Headers */, + 120B167EA64F541DD50EBC6839DEBA57 /* Pods-Example-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - FE0CECFA06916BD2567399ABA3F68382 /* Headers */ = { + D6EAAB7E3287D6D5A2F2CD79636B79C5 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 563EDA662045138AD33B7E167657B090 /* Pods-Example-umbrella.h in Headers */, + D75E22E82BF6F840C0C3CC2E53C26A4A /* StyledTextKit-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ - 406D210357C971DE58D92BEEF66A4ADE /* StyledTextKit */ = { + 0AEE99A309977BD12A049FF48AF9BA4B /* Pods-Example */ = { isa = PBXNativeTarget; - buildConfigurationList = 59251418E048C33D22796EE6B6E41562 /* Build configuration list for PBXNativeTarget "StyledTextKit" */; + buildConfigurationList = CA2FE6FDEE11BF6FEAA2AE96CD947B72 /* Build configuration list for PBXNativeTarget "Pods-Example" */; buildPhases = ( - B66415B40569CD8F08663E19B97FD024 /* Sources */, - 09DFE0E85D3E47D1D9E98FEE4DE3AB0E /* Frameworks */, - B88446169526D28202D7D434F7F59992 /* Headers */, + 45E0149A982436909E404A78E5EAEEF1 /* Headers */, + 7C9365BB20E62F3694E2AE2069F60B9C /* Sources */, + A8ED048E872EB300EA31C038FD0372B3 /* Frameworks */, + A93D96ADE969EB5203AAC9DD1909BE18 /* Resources */, ); buildRules = ( ); dependencies = ( + 9C5100FB1537E177FC806E2960C509FC /* PBXTargetDependency */, ); - name = StyledTextKit; - productName = StyledTextKit; - productReference = AD4B564243A5D1525F1E428676F44184 /* StyledTextKit.framework */; + name = "Pods-Example"; + productName = "Pods-Example"; + productReference = 1F667CC0E19EAF34E5A4119E2121F585 /* Pods_Example.framework */; productType = "com.apple.product-type.framework"; }; - 67FCB8D37D432D4DD42DFC33871F6D3F /* Pods-Example */ = { + A33A8B226AEE55E87FD5EBC01722957C /* StyledTextKit */ = { isa = PBXNativeTarget; - buildConfigurationList = 90F2AAA36756829C9262281EDD60A68B /* Build configuration list for PBXNativeTarget "Pods-Example" */; + buildConfigurationList = B01A4FDC7D9C10569FB95DB433C113D8 /* Build configuration list for PBXNativeTarget "StyledTextKit" */; buildPhases = ( - EA3C385E8CDF36997C879F46ABFBB982 /* Sources */, - 8333C9167BF3620E0D09523465728A36 /* Frameworks */, - FE0CECFA06916BD2567399ABA3F68382 /* Headers */, + D6EAAB7E3287D6D5A2F2CD79636B79C5 /* Headers */, + 83723254B9C704DB99C1ABEC1686330E /* Sources */, + D91679357B99ECF26D9DAC37296A1A65 /* Frameworks */, + 1A503349E5BFAF71532F91DB7A44FBE8 /* Resources */, ); buildRules = ( ); dependencies = ( - 5B29599CDEECC96C70E1A422F3640231 /* PBXTargetDependency */, ); - name = "Pods-Example"; - productName = "Pods-Example"; - productReference = 417E011BB0D2861785A76B828E26EBE3 /* Pods_Example.framework */; + name = StyledTextKit; + productName = StyledTextKit; + productReference = 0DB87C96E01E077304230DA6E0F96A4A /* StyledTextKit.framework */; productType = "com.apple.product-type.framework"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ - D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { + BFDFE7DC352907FC980B868725387E98 /* Project object */ = { isa = PBXProject; attributes = { - LastSwiftUpdateCheck = 0930; - LastUpgradeCheck = 0930; + LastSwiftUpdateCheck = 1100; + LastUpgradeCheck = 1100; }; - buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( en, + Base, ); - mainGroup = 7DB346D0F39D3F0E887471402A8071AB; - productRefGroup = AE383349A4754517ACAB391166521BAB /* Products */; + mainGroup = CF1408CF629C7361332E53B88F7BD30C; + productRefGroup = 5AA5E4BDCAF6F835311E6A5BA72390A1 /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( - 67FCB8D37D432D4DD42DFC33871F6D3F /* Pods-Example */, - 406D210357C971DE58D92BEEF66A4ADE /* StyledTextKit */, + 0AEE99A309977BD12A049FF48AF9BA4B /* Pods-Example */, + A33A8B226AEE55E87FD5EBC01722957C /* StyledTextKit */, ); }; /* End PBXProject section */ +/* Begin PBXResourcesBuildPhase section */ + 1A503349E5BFAF71532F91DB7A44FBE8 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A93D96ADE969EB5203AAC9DD1909BE18 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ - B66415B40569CD8F08663E19B97FD024 /* Sources */ = { + 7C9365BB20E62F3694E2AE2069F60B9C /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - E7AAE1D41CA9EF7AB036861BBEE0BE26 /* CGImage+LRUCachable.swift in Sources */, - DE884856074A685EC6C97526E0E49EBB /* CGSize+LRUCachable.swift in Sources */, - 4BFDE7D6BE71729C21EB7D7E48F91FF3 /* CGSize+Utility.swift in Sources */, - AC1D11067D9C8B7CCF63AB85637F9178 /* Font.swift in Sources */, - D794BCE62B7C35AAACEB3B8D7795788E /* Hashable+Combined.swift in Sources */, - EA3429E1E65530F95005A6520593F5D4 /* LRUCache.swift in Sources */, - 280AE9A55E5941263418810D2768FB3B /* NSAttributedString+Trim.swift in Sources */, - A416D4ED48DCC160FC287938E79C29CE /* NSAttributedStringKey+StyledText.swift in Sources */, - 8481CAC1D19F9905F649C1FB77F3DDFC /* NSLayoutManager+Render.swift in Sources */, - 2CE3CE9C2819CCFACA263F5B37CCDAEE /* StyledText.swift in Sources */, - F4A87DC2C7D4BC2993CBD3DCBE5FA928 /* StyledTextBuilder.swift in Sources */, - DA8EE77D18FD86D74DD11FA39C090AAB /* StyledTextKit-dummy.m in Sources */, - 6F1E9B4362E79BFB84C5193DE2E0F7D6 /* StyledTextRenderCacheKey.swift in Sources */, - 8A4B9C198E5A07F38880BC222307D89E /* StyledTextRenderer.swift in Sources */, - 2D6B7A093DF67B0765B444A9EC02AAE7 /* StyledTextString.swift in Sources */, - E727FEDC94DE586EBD8B9B11B1C8428A /* StyledTextView.swift in Sources */, - 2563C5DAEA96511DD4DD10C0EEE2C3F8 /* TextStyle.swift in Sources */, - A0FE5D54F60C851DA0A847D8D1C6E8AB /* UIContentSizeCategory+Scaling.swift in Sources */, - 6B874D5378A52729C54DB1E6604417D4 /* UIFont+UnionTraits.swift in Sources */, - 2DF19734DD46D1E87D56DD0AD5B467A8 /* UIScreen+Static.swift in Sources */, + 5C803195F8E235F670005502193500DA /* Pods-Example-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - EA3C385E8CDF36997C879F46ABFBB982 /* Sources */ = { + 83723254B9C704DB99C1ABEC1686330E /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - D4F3BDDCA90F5B06B6B4438F4F938DF3 /* Pods-Example-dummy.m in Sources */, + 58F84D12C539DD280A583B3BB379BFA7 /* CGImage+LRUCachable.swift in Sources */, + B5E2377E5A648318BD90007A4CB971CC /* CGSize+LRUCachable.swift in Sources */, + 5BD9B9FBB1A3157B5102BFAB650D2ADF /* CGSize+Utility.swift in Sources */, + 6D25C42844D1554630C50D0098BB74F7 /* Font.swift in Sources */, + 6200DC7C41C8EDBEE52A9D755E8424EF /* Hashable+Combined.swift in Sources */, + C4FCB592C6747D4294E048B15B2DFF70 /* LRUCache.swift in Sources */, + 0D3C81F70B18AE6624535B905056E2C1 /* NSAttributedString+Trim.swift in Sources */, + E268CCAAC5EBF5822B40EE9F85608E9E /* NSAttributedStringAttributesType.swift in Sources */, + 8E4EB47D93F4B2EE1A81987CE38AEE6C /* NSAttributedStringKey+StyledText.swift in Sources */, + DF002C7AAECE866BDC374FF4F523E227 /* NSLayoutManager+Render.swift in Sources */, + 8B6E80D9B091E556B43D68581BFCA6B2 /* StyledText.swift in Sources */, + D8B6BACD0E271A5F29B4B65E2FD56DDD /* StyledTextBuilder.swift in Sources */, + 5DEDFD5EF0456EB6DF7DD4D7724F6280 /* StyledTextKit-dummy.m in Sources */, + 7FA28D4CD453EB4245AA8C094FE63B6A /* StyledTextRenderCacheKey.swift in Sources */, + 0F1CE5F0E6C726DB6575D86221652CDB /* StyledTextRenderer.swift in Sources */, + E92A8876DE4952435A4DE4A3BB7A8D7C /* StyledTextString.swift in Sources */, + C32DDC94128D0604F3F3AB60DAA909C0 /* StyledTextView.swift in Sources */, + 43A62BDB2DBE6B7AF570A4666F89949E /* TextStyle.swift in Sources */, + 04611EADFFA8E6C633A9B9B76D18E052 /* UIContentSizeCategory+Scaling.swift in Sources */, + 73A223E2124B59001B0EAA6ECAAE4AA4 /* UIScreen+Static.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - 5B29599CDEECC96C70E1A422F3640231 /* PBXTargetDependency */ = { + 9C5100FB1537E177FC806E2960C509FC /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = StyledTextKit; - target = 406D210357C971DE58D92BEEF66A4ADE /* StyledTextKit */; - targetProxy = 72F75B5403890E92DD17B0B7BB0F074A /* PBXContainerItemProxy */; + target = A33A8B226AEE55E87FD5EBC01722957C /* StyledTextKit */; + targetProxy = B84748446D17C3B6F4629EDD48BF0088 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ - 221AD7B659F9B5E4CB604A5C91F06B10 /* Release */ = { + 12EEA49C2DA119A497A539929ED61B0E /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 8E13E64745A3FCA6C27DDC7019663FE0 /* StyledTextKit.xcconfig */; + baseConfigurationReference = AA2CCCCB20218C7FFE75722F1A090737 /* StyledTextKit.xcconfig */; buildSettings = { CLANG_ENABLE_OBJC_WEAK = NO; CODE_SIGN_IDENTITY = ""; @@ -379,18 +397,21 @@ DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; GCC_PREFIX_HEADER = "Target Support Files/StyledTextKit/StyledTextKit-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/StyledTextKit/Info.plist"; + INFOPLIST_FILE = "Target Support Files/StyledTextKit/StyledTextKit-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 10.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); MODULEMAP_FILE = "Target Support Files/StyledTextKit/StyledTextKit.modulemap"; PRODUCT_MODULE_NAME = StyledTextKit; PRODUCT_NAME = StyledTextKit; SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; @@ -398,11 +419,10 @@ }; name = Release; }; - 52ABC0DEFC56CF1CE3D110EF775839A1 /* Release */ = { + 3E1EF82A55E88EA5E3CE06BCBAE59B7E /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = A79AC23D5A157FED70D9C53D844B2319 /* Pods-Example.release.xcconfig */; + baseConfigurationReference = AA2CCCCB20218C7FFE75722F1A090737 /* StyledTextKit.xcconfig */; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; CLANG_ENABLE_OBJC_WEAK = NO; CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -413,28 +433,29 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-Example/Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/StyledTextKit/StyledTextKit-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/StyledTextKit/StyledTextKit-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 11.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-Example/Pods-Example.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MODULEMAP_FILE = "Target Support Files/StyledTextKit/StyledTextKit.modulemap"; + PRODUCT_MODULE_NAME = StyledTextKit; + PRODUCT_NAME = StyledTextKit; SDKROOT = iphoneos; SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Release; + name = Debug; }; - 691EE0234A3BA1A3B057D3A4C23C9CCC /* Debug */ = { + 4B1F13D49B97FF90469FE040925F8D8C /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; @@ -466,19 +487,14 @@ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGNING_ALLOWED = NO; - CODE_SIGNING_REQUIRED = NO; COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_DEBUG=1", - "DEBUG=1", + "POD_CONFIGURATION_RELEASE=1", "$(inherited)", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -488,16 +504,56 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 11.3; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; STRIP_INSTALLED_PRODUCT = NO; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + SWIFT_VERSION = 5.0; SYMROOT = "${SRCROOT}/../build"; }; + name = Release; + }; + 819776D6328BC5D05648955F475B09DA /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = B45138496B85A072654D1D0F8EBBEDE5 /* Pods-Example.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-Example/Pods-Example-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 11.3; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-Example/Pods-Example.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; name = Debug; }; - 703082A85162812D3B777E668767AD25 /* Release */ = { + A8EFA68AC855A5B2B43BF716E27BD98D /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; @@ -529,16 +585,17 @@ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGNING_ALLOWED = NO; - CODE_SIGNING_REQUIRED = NO; COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; + DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_RELEASE=1", + "POD_CONFIGURATION_DEBUG=1", + "DEBUG=1", "$(inherited)", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -548,49 +605,21 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 11.3; - MTL_ENABLE_DEBUG_INFO = NO; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; STRIP_INSTALLED_PRODUCT = NO; - SYMROOT = "${SRCROOT}/../build"; - }; - name = Release; - }; - 8E3121D0EE90E07B0D6CA9870BC8BB12 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 8E13E64745A3FCA6C27DDC7019663FE0 /* StyledTextKit.xcconfig */; - buildSettings = { - CLANG_ENABLE_OBJC_WEAK = NO; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/StyledTextKit/StyledTextKit-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/StyledTextKit/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/StyledTextKit/StyledTextKit.modulemap"; - PRODUCT_MODULE_NAME = StyledTextKit; - PRODUCT_NAME = StyledTextKit; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; + SWIFT_VERSION = 5.0; + SYMROOT = "${SRCROOT}/../build"; }; name = Debug; }; - C13C9D20FDAAE8E5CBC87AA9C95322AA /* Debug */ = { + FBA5E72DD6DFBB3FB40B8AEB2F72779A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = EFC5B2E05B58CD826FD55659BF1D7E39 /* Pods-Example.debug.xcconfig */; + baseConfigurationReference = 243410B9535472556EA4BB6DBC133A0D /* Pods-Example.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; CLANG_ENABLE_OBJC_WEAK = NO; @@ -603,10 +632,14 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-Example/Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-Example/Pods-Example-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 11.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); MACH_O_TYPE = staticlib; MODULEMAP_FILE = "Target Support Files/Pods-Example/Pods-Example.modulemap"; OTHER_LDFLAGS = ""; @@ -616,45 +649,44 @@ PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = iphoneos; SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { + 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { isa = XCConfigurationList; buildConfigurations = ( - 691EE0234A3BA1A3B057D3A4C23C9CCC /* Debug */, - 703082A85162812D3B777E668767AD25 /* Release */, + A8EFA68AC855A5B2B43BF716E27BD98D /* Debug */, + 4B1F13D49B97FF90469FE040925F8D8C /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 59251418E048C33D22796EE6B6E41562 /* Build configuration list for PBXNativeTarget "StyledTextKit" */ = { + B01A4FDC7D9C10569FB95DB433C113D8 /* Build configuration list for PBXNativeTarget "StyledTextKit" */ = { isa = XCConfigurationList; buildConfigurations = ( - 8E3121D0EE90E07B0D6CA9870BC8BB12 /* Debug */, - 221AD7B659F9B5E4CB604A5C91F06B10 /* Release */, + 3E1EF82A55E88EA5E3CE06BCBAE59B7E /* Debug */, + 12EEA49C2DA119A497A539929ED61B0E /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 90F2AAA36756829C9262281EDD60A68B /* Build configuration list for PBXNativeTarget "Pods-Example" */ = { + CA2FE6FDEE11BF6FEAA2AE96CD947B72 /* Build configuration list for PBXNativeTarget "Pods-Example" */ = { isa = XCConfigurationList; buildConfigurations = ( - C13C9D20FDAAE8E5CBC87AA9C95322AA /* Debug */, - 52ABC0DEFC56CF1CE3D110EF775839A1 /* Release */, + 819776D6328BC5D05648955F475B09DA /* Debug */, + FBA5E72DD6DFBB3FB40B8AEB2F72779A /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; - rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; } diff --git a/Example/Pods/Target Support Files/Pods-Example/Pods-Example-Info.plist b/Example/Pods/Target Support Files/Pods-Example/Pods-Example-Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-Example/Pods-Example-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks-Debug-input-files.xcfilelist b/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks-Debug-input-files.xcfilelist new file mode 100644 index 0000000..12ddb9b --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks-Debug-input-files.xcfilelist @@ -0,0 +1,2 @@ +${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks.sh +${BUILT_PRODUCTS_DIR}/StyledTextKit/StyledTextKit.framework \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks-Debug-output-files.xcfilelist b/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks-Debug-output-files.xcfilelist new file mode 100644 index 0000000..2351cbb --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks-Debug-output-files.xcfilelist @@ -0,0 +1 @@ +${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/StyledTextKit.framework \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks-Release-input-files.xcfilelist b/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks-Release-input-files.xcfilelist new file mode 100644 index 0000000..12ddb9b --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks-Release-input-files.xcfilelist @@ -0,0 +1,2 @@ +${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks.sh +${BUILT_PRODUCTS_DIR}/StyledTextKit/StyledTextKit.framework \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks-Release-output-files.xcfilelist b/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks-Release-output-files.xcfilelist new file mode 100644 index 0000000..2351cbb --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks-Release-output-files.xcfilelist @@ -0,0 +1 @@ +${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/StyledTextKit.framework \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh index 221d544..cc2867b 100755 --- a/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh +++ b/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh @@ -3,10 +3,15 @@ set -e set -u set -o pipefail +function on_error { + echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" +} +trap 'on_error $LINENO' ERR + if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then - # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy - # frameworks to, so exit 0 (signalling the script phase was successful). - exit 0 + # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy + # frameworks to, so exit 0 (signalling the script phase was successful). + exit 0 fi echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" @@ -36,8 +41,8 @@ install_framework() local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" + echo "Symlinked..." + source="$(readlink "${source}")" fi # Use filter instead of exclude so missing patterns don't throw errors. @@ -47,8 +52,13 @@ install_framework() local basename basename="$(basename -s .framework "$1")" binary="${destination}/${basename}.framework/${basename}" + if ! [ -r "$binary" ]; then binary="${destination}/${basename}" + elif [ -L "${binary}" ]; then + echo "Destination binary is symlinked..." + dirname="$(dirname "${binary}")" + binary="${dirname}/$(readlink "${binary}")" fi # Strip invalid architectures so "fat" simulator / device frameworks work on device @@ -62,7 +72,7 @@ install_framework() # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) for lib in $swift_runtime_libs; do echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" @@ -84,7 +94,7 @@ install_dsym() { binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then + if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then strip_invalid_archs "$binary" fi @@ -99,10 +109,18 @@ install_dsym() { fi } +# Copies the bcsymbolmap files of a vendored framework +install_bcsymbolmap() { + local bcsymbolmap_path="$1" + local destination="${BUILT_PRODUCTS_DIR}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" +} + # Signs a framework with the provided identity code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identitiy + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identity echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" @@ -131,7 +149,7 @@ strip_invalid_archs() { for arch in $binary_archs; do if ! [[ "${ARCHS}" == *"$arch"* ]]; then # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + lipo -remove "$arch" -output "$binary" "$binary" stripped="$stripped $arch" fi done diff --git a/Example/Pods/Target Support Files/Pods-Example/Pods-Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-Example/Pods-Example.debug.xcconfig index 595d7cf..fa0227f 100644 --- a/Example/Pods/Target Support Files/Pods-Example/Pods-Example.debug.xcconfig +++ b/Example/Pods/Target Support Files/Pods-Example/Pods-Example.debug.xcconfig @@ -1,11 +1,12 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/StyledTextKit" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/StyledTextKit/StyledTextKit.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/StyledTextKit/StyledTextKit.framework/Headers" OTHER_LDFLAGS = $(inherited) -framework "StyledTextKit" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-Example/Pods-Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-Example/Pods-Example.release.xcconfig index 595d7cf..fa0227f 100644 --- a/Example/Pods/Target Support Files/Pods-Example/Pods-Example.release.xcconfig +++ b/Example/Pods/Target Support Files/Pods-Example/Pods-Example.release.xcconfig @@ -1,11 +1,12 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/StyledTextKit" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/StyledTextKit/StyledTextKit.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/StyledTextKit/StyledTextKit.framework/Headers" OTHER_LDFLAGS = $(inherited) -framework "StyledTextKit" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/StyledTextKit/StyledTextKit-Info.plist b/Example/Pods/Target Support Files/StyledTextKit/StyledTextKit-Info.plist new file mode 100644 index 0000000..0d7bfa2 --- /dev/null +++ b/Example/Pods/Target Support Files/StyledTextKit/StyledTextKit-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 0.2.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/StyledTextKit/StyledTextKit.xcconfig b/Example/Pods/Target Support Files/StyledTextKit/StyledTextKit.xcconfig index 5c22191..b10b131 100644 --- a/Example/Pods/Target Support Files/StyledTextKit/StyledTextKit.xcconfig +++ b/Example/Pods/Target Support Files/StyledTextKit/StyledTextKit.xcconfig @@ -1,9 +1,10 @@ CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/StyledTextKit GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES From 91b2de2f911375d27d6b7519b58db5be3801d33c Mon Sep 17 00:00:00 2001 From: Marcus Wu Date: Wed, 22 Sep 2021 18:37:30 +0800 Subject: [PATCH 2/5] Update example project denpendencies --- Example/Podfile.lock | 2 +- Example/Pods/Manifest.lock | 2 +- Example/Pods/Pods.xcodeproj/project.pbxproj | 564 +++++++++--------- .../Pods-Example/Pods-Example-frameworks.sh | 95 +-- .../Pods-Example/Pods-Example.debug.xcconfig | 5 +- .../Pods-Example.release.xcconfig | 5 +- .../StyledTextKit.debug.xcconfig | 13 + .../StyledTextKit.release.xcconfig | 13 + 8 files changed, 374 insertions(+), 325 deletions(-) create mode 100644 Example/Pods/Target Support Files/StyledTextKit/StyledTextKit.debug.xcconfig create mode 100644 Example/Pods/Target Support Files/StyledTextKit/StyledTextKit.release.xcconfig diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 243fb57..1e5aa68 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -13,4 +13,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: cce33de777ba45b96bae71bcdc8c7705f353b112 -COCOAPODS: 1.8.4 +COCOAPODS: 1.11.0 diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index 243fb57..1e5aa68 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -13,4 +13,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: cce33de777ba45b96bae71bcdc8c7705f353b112 -COCOAPODS: 1.8.4 +COCOAPODS: 1.11.0 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index 047170a..9f21d34 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -3,39 +3,39 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 51; objects = { /* Begin PBXBuildFile section */ - 04611EADFFA8E6C633A9B9B76D18E052 /* UIContentSizeCategory+Scaling.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8772D32E2F6C88D46205A1B64095895D /* UIContentSizeCategory+Scaling.swift */; }; - 0D3C81F70B18AE6624535B905056E2C1 /* NSAttributedString+Trim.swift in Sources */ = {isa = PBXBuildFile; fileRef = 85AC42AC4B289029969BC22822F4127A /* NSAttributedString+Trim.swift */; }; - 0F1CE5F0E6C726DB6575D86221652CDB /* StyledTextRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2248AC157AB27BC796DBB48442BAB760 /* StyledTextRenderer.swift */; }; - 120B167EA64F541DD50EBC6839DEBA57 /* Pods-Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7825A90E082A1582EB16256B0E722B3F /* Pods-Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 43A62BDB2DBE6B7AF570A4666F89949E /* TextStyle.swift in Sources */ = {isa = PBXBuildFile; fileRef = D60418187B8DC5DF2C4E05A44AF0D880 /* TextStyle.swift */; }; - 58F84D12C539DD280A583B3BB379BFA7 /* CGImage+LRUCachable.swift in Sources */ = {isa = PBXBuildFile; fileRef = EE93D8900643DC3D3E21434CB88B5788 /* CGImage+LRUCachable.swift */; }; - 5BD9B9FBB1A3157B5102BFAB650D2ADF /* CGSize+Utility.swift in Sources */ = {isa = PBXBuildFile; fileRef = B63AB6BBAC7A27B2D00D32F21672390B /* CGSize+Utility.swift */; }; - 5C803195F8E235F670005502193500DA /* Pods-Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = D6D7C498FA339E02BD53ECB8916CEA8E /* Pods-Example-dummy.m */; }; - 5DEDFD5EF0456EB6DF7DD4D7724F6280 /* StyledTextKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 79F958D2D62683787EFE2E9280376202 /* StyledTextKit-dummy.m */; }; - 6200DC7C41C8EDBEE52A9D755E8424EF /* Hashable+Combined.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38F8E613E856AE04858C8803BDB00BD6 /* Hashable+Combined.swift */; }; - 6D25C42844D1554630C50D0098BB74F7 /* Font.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9449CF6CBE5F46ED87348F95A4E62F09 /* Font.swift */; }; - 6DDED0F2BFF19420A23ADDE71E006C5B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; - 73A223E2124B59001B0EAA6ECAAE4AA4 /* UIScreen+Static.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B4DC894B3CFAEAA6B0EDBC4930E7820 /* UIScreen+Static.swift */; }; - 7FA28D4CD453EB4245AA8C094FE63B6A /* StyledTextRenderCacheKey.swift in Sources */ = {isa = PBXBuildFile; fileRef = 227809B780FFD1171EB9E06F686685CE /* StyledTextRenderCacheKey.swift */; }; - 8B6E80D9B091E556B43D68581BFCA6B2 /* StyledText.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34FDE645A8A93639B24216200AAE8CB2 /* StyledText.swift */; }; - 8E4EB47D93F4B2EE1A81987CE38AEE6C /* NSAttributedStringKey+StyledText.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04B4B3525709D29D51FBCC564376CC05 /* NSAttributedStringKey+StyledText.swift */; }; - AEB6DA9D5086E718AB90F7C41E09CD99 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; - B5E2377E5A648318BD90007A4CB971CC /* CGSize+LRUCachable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34D75EBA8831307154AC7B17E23A47AA /* CGSize+LRUCachable.swift */; }; - C32DDC94128D0604F3F3AB60DAA909C0 /* StyledTextView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18CCCF800A84A61E7E9ED49F0B4B7383 /* StyledTextView.swift */; }; - C4FCB592C6747D4294E048B15B2DFF70 /* LRUCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B92FBA138D7DE1F3CAF76CD5621ADB0 /* LRUCache.swift */; }; - D75E22E82BF6F840C0C3CC2E53C26A4A /* StyledTextKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 6D5CD0246A26C70D4F1377E38A5ACD03 /* StyledTextKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - D8B6BACD0E271A5F29B4B65E2FD56DDD /* StyledTextBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3EFF2A9E97BD57472839C7FFDA3D4BD2 /* StyledTextBuilder.swift */; }; - DF002C7AAECE866BDC374FF4F523E227 /* NSLayoutManager+Render.swift in Sources */ = {isa = PBXBuildFile; fileRef = 801CB363708FA8B829E5E745343907DE /* NSLayoutManager+Render.swift */; }; - E268CCAAC5EBF5822B40EE9F85608E9E /* NSAttributedStringAttributesType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 340E47D85491B2FBB7D7DB07E01C696B /* NSAttributedStringAttributesType.swift */; }; - E92A8876DE4952435A4DE4A3BB7A8D7C /* StyledTextString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BB196B811EC452A48C3807043855DFF /* StyledTextString.swift */; }; + 0732DDB9F4A3515712E76FB966F2D343 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; + 0F9161814B9EFF4BC21BF665B577F679 /* NSAttributedStringAttributesType.swift in Sources */ = {isa = PBXBuildFile; fileRef = BE9AFF47A2542B891EB89B104667B933 /* NSAttributedStringAttributesType.swift */; }; + 3778B96286278E36BDA3C1EFD4EA9B12 /* StyledTextView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 48DE1F73E1CCF5911D68661021D85318 /* StyledTextView.swift */; }; + 398DEB5822E30C84EA7FF2A1C6D1F3EE /* NSAttributedString+Trim.swift in Sources */ = {isa = PBXBuildFile; fileRef = 767D93B36EF88D708625A0544821CE3A /* NSAttributedString+Trim.swift */; }; + 3A95B63856A22AF5B869FC18A0C91D26 /* StyledTextKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 03D44D1F638E2FF995EA313A6B59FC7E /* StyledTextKit-dummy.m */; }; + 4926DFCF0AE3FA37F4C97BBF25BA3DC1 /* StyledTextKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B433E1F51CB7764043EBD6EF52147D31 /* StyledTextKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 53214014D072929599B4849BB1474B38 /* StyledTextString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 17B355C15A97973199A394EC82799B38 /* StyledTextString.swift */; }; + 604794E0455C13E6B4F6F59DBD85EDD6 /* NSLayoutManager+Render.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4DA1F5A88EFB89291FCB7FA497BD4071 /* NSLayoutManager+Render.swift */; }; + 65D798C3D29334F5E07D40004D081833 /* StyledTextRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 25D08CB7ADF71E90787B00BCB04272CF /* StyledTextRenderer.swift */; }; + 76053EAEA997FA50E12A43BBA1132290 /* CGSize+LRUCachable.swift in Sources */ = {isa = PBXBuildFile; fileRef = B8F44352A0691792BF5DF7072674A2C5 /* CGSize+LRUCachable.swift */; }; + 85A42A92E71326216134F5206F88288E /* Pods-Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = D6D7C498FA339E02BD53ECB8916CEA8E /* Pods-Example-dummy.m */; }; + 87272B3291FFECF13282A61D14CA3AFF /* TextStyle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2E9FBE649A7B9A22317E40FEC35BD8E4 /* TextStyle.swift */; }; + 90A61A8D291A5481A6ACBA859CCFAB42 /* Hashable+Combined.swift in Sources */ = {isa = PBXBuildFile; fileRef = 45A01BDA3E0846B24BA9498CAD7C2B2D /* Hashable+Combined.swift */; }; + 9958402F129236AE2B4F9176F45A18F1 /* StyledTextRenderCacheKey.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A993D27BEBA090CC5611FE0DE4ED308 /* StyledTextRenderCacheKey.swift */; }; + 9C7417AB2905223FE27D77B5555868DB /* StyledText.swift in Sources */ = {isa = PBXBuildFile; fileRef = A21C354A4E81302FE03D9547598EE2DD /* StyledText.swift */; }; + 9F6C9443DD9352F85E7F4EAB23A97BFD /* NSAttributedStringKey+StyledText.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2AB0594AA01555D2122944327ED4072B /* NSAttributedStringKey+StyledText.swift */; }; + A6659F112F8FC7A16CAEDE53A951F194 /* LRUCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = F12F44E7D82C26CD8952C3C4DECB939B /* LRUCache.swift */; }; + A67ECBA233B74FAA2F2D6543B5039DAF /* CGSize+Utility.swift in Sources */ = {isa = PBXBuildFile; fileRef = A133E6644E5D03D3BE897F6908499039 /* CGSize+Utility.swift */; }; + B3EC2CA396AE54D407B4B9CB256FDCCB /* Pods-Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7825A90E082A1582EB16256B0E722B3F /* Pods-Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BC09707F4F6BC5819629359C79C353E6 /* Font.swift in Sources */ = {isa = PBXBuildFile; fileRef = C02D51C86CDAEB5977B7026BA21AFB93 /* Font.swift */; }; + D6393032BC0316422537C65324B66CC4 /* UIContentSizeCategory+Scaling.swift in Sources */ = {isa = PBXBuildFile; fileRef = 207A58C22E06F1BB02AD01BA98B7E332 /* UIContentSizeCategory+Scaling.swift */; }; + E441B9B5F0DF0A8E4A472197CA79380C /* StyledTextBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2842B3038FFFC86C1C8AD7B216A70C3E /* StyledTextBuilder.swift */; }; + F2D35EB620304169EF251F1E1C684AD2 /* CGImage+LRUCachable.swift in Sources */ = {isa = PBXBuildFile; fileRef = E075E830029951C4C0ADA36DEC33C8E1 /* CGImage+LRUCachable.swift */; }; + F5AE18FEE8319BDF1D4EDC272D7BAAF0 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; + F6F7ACFD24D708F516E81E1DB21A7698 /* UIScreen+Static.swift in Sources */ = {isa = PBXBuildFile; fileRef = A94E4BDCE95313D2FADC3692A1927BAF /* UIScreen+Static.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - B84748446D17C3B6F4629EDD48BF0088 /* PBXContainerItemProxy */ = { + 34B2EAEF9641BFA0C83E668054BF4121 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; @@ -45,137 +45,118 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 02D196C5F05759BDF20085AA1703ABDF /* StyledTextKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = StyledTextKit.modulemap; sourceTree = ""; }; - 04B4B3525709D29D51FBCC564376CC05 /* NSAttributedStringKey+StyledText.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSAttributedStringKey+StyledText.swift"; path = "Source/NSAttributedStringKey+StyledText.swift"; sourceTree = ""; }; - 0DB87C96E01E077304230DA6E0F96A4A /* StyledTextKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = StyledTextKit.framework; path = StyledTextKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 18CCCF800A84A61E7E9ED49F0B4B7383 /* StyledTextView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextView.swift; path = Source/StyledTextView.swift; sourceTree = ""; }; - 1F667CC0E19EAF34E5A4119E2121F585 /* Pods_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_Example.framework; path = "Pods-Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 2073504D3BAC0B28F232AB3863F5C64D /* StyledTextKit-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "StyledTextKit-Info.plist"; sourceTree = ""; }; - 2248AC157AB27BC796DBB48442BAB760 /* StyledTextRenderer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextRenderer.swift; path = Source/StyledTextRenderer.swift; sourceTree = ""; }; - 227809B780FFD1171EB9E06F686685CE /* StyledTextRenderCacheKey.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextRenderCacheKey.swift; path = Source/StyledTextRenderCacheKey.swift; sourceTree = ""; }; + 03D44D1F638E2FF995EA313A6B59FC7E /* StyledTextKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "StyledTextKit-dummy.m"; sourceTree = ""; }; + 082F242C22FB2ECF89A6923C1E90A389 /* StyledTextKit.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = StyledTextKit.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 0DB87C96E01E077304230DA6E0F96A4A /* StyledTextKit */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = StyledTextKit; path = StyledTextKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 17B355C15A97973199A394EC82799B38 /* StyledTextString.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextString.swift; path = Source/StyledTextString.swift; sourceTree = ""; }; + 1F667CC0E19EAF34E5A4119E2121F585 /* Pods-Example */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = "Pods-Example"; path = Pods_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 207A58C22E06F1BB02AD01BA98B7E332 /* UIContentSizeCategory+Scaling.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIContentSizeCategory+Scaling.swift"; path = "Source/UIContentSizeCategory+Scaling.swift"; sourceTree = ""; }; 243410B9535472556EA4BB6DBC133A0D /* Pods-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Example.release.xcconfig"; sourceTree = ""; }; + 25D08CB7ADF71E90787B00BCB04272CF /* StyledTextRenderer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextRenderer.swift; path = Source/StyledTextRenderer.swift; sourceTree = ""; }; + 2842B3038FFFC86C1C8AD7B216A70C3E /* StyledTextBuilder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextBuilder.swift; path = Source/StyledTextBuilder.swift; sourceTree = ""; }; + 2AAD8FD6F01E062E1DEF942A5E3792D5 /* StyledTextKit.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = StyledTextKit.debug.xcconfig; sourceTree = ""; }; + 2AB0594AA01555D2122944327ED4072B /* NSAttributedStringKey+StyledText.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSAttributedStringKey+StyledText.swift"; path = "Source/NSAttributedStringKey+StyledText.swift"; sourceTree = ""; }; + 2E9FBE649A7B9A22317E40FEC35BD8E4 /* TextStyle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TextStyle.swift; path = Source/TextStyle.swift; sourceTree = ""; }; 31C1D37707DFAA5E6A164BCC07834264 /* Pods-Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Example-Info.plist"; sourceTree = ""; }; - 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - 340E47D85491B2FBB7D7DB07E01C696B /* NSAttributedStringAttributesType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NSAttributedStringAttributesType.swift; path = Source/NSAttributedStringAttributesType.swift; sourceTree = ""; }; - 34D75EBA8831307154AC7B17E23A47AA /* CGSize+LRUCachable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CGSize+LRUCachable.swift"; path = "Source/CGSize+LRUCachable.swift"; sourceTree = ""; }; - 34FDE645A8A93639B24216200AAE8CB2 /* StyledText.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledText.swift; path = Source/StyledText.swift; sourceTree = ""; }; 35C305D3797C284E6F5BAA1D3E6F9BF8 /* Pods-Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-Example.modulemap"; sourceTree = ""; }; - 38F8E613E856AE04858C8803BDB00BD6 /* Hashable+Combined.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Hashable+Combined.swift"; path = "Source/Hashable+Combined.swift"; sourceTree = ""; }; - 3EFF2A9E97BD57472839C7FFDA3D4BD2 /* StyledTextBuilder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextBuilder.swift; path = Source/StyledTextBuilder.swift; sourceTree = ""; }; - 420E4DC4A2036E2E09F5C1D32C321567 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; 441854E35F81731E63E53DC7E4EEAD9D /* Pods-Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Example-acknowledgements.markdown"; sourceTree = ""; }; - 5B92FBA138D7DE1F3CAF76CD5621ADB0 /* LRUCache.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LRUCache.swift; path = Source/LRUCache.swift; sourceTree = ""; }; - 6D5CD0246A26C70D4F1377E38A5ACD03 /* StyledTextKit-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "StyledTextKit-umbrella.h"; sourceTree = ""; }; + 45A01BDA3E0846B24BA9498CAD7C2B2D /* Hashable+Combined.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Hashable+Combined.swift"; path = "Source/Hashable+Combined.swift"; sourceTree = ""; }; + 48DE1F73E1CCF5911D68661021D85318 /* StyledTextView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextView.swift; path = Source/StyledTextView.swift; sourceTree = ""; }; + 4A993D27BEBA090CC5611FE0DE4ED308 /* StyledTextRenderCacheKey.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextRenderCacheKey.swift; path = Source/StyledTextRenderCacheKey.swift; sourceTree = ""; }; + 4DA1F5A88EFB89291FCB7FA497BD4071 /* NSLayoutManager+Render.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSLayoutManager+Render.swift"; path = "Source/NSLayoutManager+Render.swift"; sourceTree = ""; }; + 627CC4CCE70C654FAC302BAC2A28A05B /* StyledTextKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "StyledTextKit-prefix.pch"; sourceTree = ""; }; + 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + 767D93B36EF88D708625A0544821CE3A /* NSAttributedString+Trim.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSAttributedString+Trim.swift"; path = "Source/NSAttributedString+Trim.swift"; sourceTree = ""; }; 7825A90E082A1582EB16256B0E722B3F /* Pods-Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Example-umbrella.h"; sourceTree = ""; }; - 79F958D2D62683787EFE2E9280376202 /* StyledTextKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "StyledTextKit-dummy.m"; sourceTree = ""; }; - 7B904820E86D8DE5EFF7F16A527EF1F2 /* StyledTextKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "StyledTextKit-prefix.pch"; sourceTree = ""; }; - 801CB363708FA8B829E5E745343907DE /* NSLayoutManager+Render.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSLayoutManager+Render.swift"; path = "Source/NSLayoutManager+Render.swift"; sourceTree = ""; }; - 85AC42AC4B289029969BC22822F4127A /* NSAttributedString+Trim.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSAttributedString+Trim.swift"; path = "Source/NSAttributedString+Trim.swift"; sourceTree = ""; }; - 8772D32E2F6C88D46205A1B64095895D /* UIContentSizeCategory+Scaling.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIContentSizeCategory+Scaling.swift"; path = "Source/UIContentSizeCategory+Scaling.swift"; sourceTree = ""; }; - 9449CF6CBE5F46ED87348F95A4E62F09 /* Font.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Font.swift; path = Source/Font.swift; sourceTree = ""; }; - 974B6EAA95B1BBDCFAC2D3616E8C5754 /* StyledTextKit.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = StyledTextKit.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 9B4DC894B3CFAEAA6B0EDBC4930E7820 /* UIScreen+Static.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIScreen+Static.swift"; path = "Source/UIScreen+Static.swift"; sourceTree = ""; }; - 9BB196B811EC452A48C3807043855DFF /* StyledTextString.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledTextString.swift; path = Source/StyledTextString.swift; sourceTree = ""; }; + 79F356D5397CB6BEBA5AB7AFC7C6664E /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; + 973E9118B5BE4734BFE3F1A69C1ECF2B /* StyledTextKit-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "StyledTextKit-Info.plist"; sourceTree = ""; }; 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - AA2CCCCB20218C7FFE75722F1A090737 /* StyledTextKit.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = StyledTextKit.xcconfig; sourceTree = ""; }; + A133E6644E5D03D3BE897F6908499039 /* CGSize+Utility.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CGSize+Utility.swift"; path = "Source/CGSize+Utility.swift"; sourceTree = ""; }; + A21C354A4E81302FE03D9547598EE2DD /* StyledText.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StyledText.swift; path = Source/StyledText.swift; sourceTree = ""; }; + A94E4BDCE95313D2FADC3692A1927BAF /* UIScreen+Static.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIScreen+Static.swift"; path = "Source/UIScreen+Static.swift"; sourceTree = ""; }; AFECBC24E09D0D25F822C27BD944AFD4 /* Pods-Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Example-frameworks.sh"; sourceTree = ""; }; + B433E1F51CB7764043EBD6EF52147D31 /* StyledTextKit-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "StyledTextKit-umbrella.h"; sourceTree = ""; }; B45138496B85A072654D1D0F8EBBEDE5 /* Pods-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Example.debug.xcconfig"; sourceTree = ""; }; - B63AB6BBAC7A27B2D00D32F21672390B /* CGSize+Utility.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CGSize+Utility.swift"; path = "Source/CGSize+Utility.swift"; sourceTree = ""; }; - BD53D9415F6BD379B38B35B2B8295208 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; - D60418187B8DC5DF2C4E05A44AF0D880 /* TextStyle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TextStyle.swift; path = Source/TextStyle.swift; sourceTree = ""; }; + B6BB6BB603CBE1621D752AAF0A290093 /* StyledTextKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = StyledTextKit.modulemap; sourceTree = ""; }; + B8F44352A0691792BF5DF7072674A2C5 /* CGSize+LRUCachable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CGSize+LRUCachable.swift"; path = "Source/CGSize+LRUCachable.swift"; sourceTree = ""; }; + BE9AFF47A2542B891EB89B104667B933 /* NSAttributedStringAttributesType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NSAttributedStringAttributesType.swift; path = Source/NSAttributedStringAttributesType.swift; sourceTree = ""; }; + C02D51C86CDAEB5977B7026BA21AFB93 /* Font.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Font.swift; path = Source/Font.swift; sourceTree = ""; }; + C226B56DADBF55FD13637EDC0561827D /* StyledTextKit.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = StyledTextKit.release.xcconfig; sourceTree = ""; }; D6D7C498FA339E02BD53ECB8916CEA8E /* Pods-Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Example-dummy.m"; sourceTree = ""; }; + E075E830029951C4C0ADA36DEC33C8E1 /* CGImage+LRUCachable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CGImage+LRUCachable.swift"; path = "Source/CGImage+LRUCachable.swift"; sourceTree = ""; }; EA21B344259B58996DB73382B1B1521F /* Pods-Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Example-acknowledgements.plist"; sourceTree = ""; }; - EE93D8900643DC3D3E21434CB88B5788 /* CGImage+LRUCachable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CGImage+LRUCachable.swift"; path = "Source/CGImage+LRUCachable.swift"; sourceTree = ""; }; + F124D0397C31F59DF74D716ABB2EBAD4 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; + F12F44E7D82C26CD8952C3C4DECB939B /* LRUCache.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LRUCache.swift; path = Source/LRUCache.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - A8ED048E872EB300EA31C038FD0372B3 /* Frameworks */ = { + 5C4121507031B52835C079447AA8BD38 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 6DDED0F2BFF19420A23ADDE71E006C5B /* Foundation.framework in Frameworks */, + F5AE18FEE8319BDF1D4EDC272D7BAAF0 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - D91679357B99ECF26D9DAC37296A1A65 /* Frameworks */ = { + DDB77643AF90C5AF8E9B3ECCE806851D /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - AEB6DA9D5086E718AB90F7C41E09CD99 /* Foundation.framework in Frameworks */, + 0732DDB9F4A3515712E76FB966F2D343 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 05420E616167B11C1148C8985FCC037F /* Support Files */ = { + 17298B7A2AAA27AD506B9E85B8E9785C /* Development Pods */ = { isa = PBXGroup; children = ( - 02D196C5F05759BDF20085AA1703ABDF /* StyledTextKit.modulemap */, - AA2CCCCB20218C7FFE75722F1A090737 /* StyledTextKit.xcconfig */, - 79F958D2D62683787EFE2E9280376202 /* StyledTextKit-dummy.m */, - 2073504D3BAC0B28F232AB3863F5C64D /* StyledTextKit-Info.plist */, - 7B904820E86D8DE5EFF7F16A527EF1F2 /* StyledTextKit-prefix.pch */, - 6D5CD0246A26C70D4F1377E38A5ACD03 /* StyledTextKit-umbrella.h */, + C73BCFA8112D12E5EFB60F698AE2E9AC /* StyledTextKit */, ); - name = "Support Files"; - path = "Example/Pods/Target Support Files/StyledTextKit"; + name = "Development Pods"; sourceTree = ""; }; - 1062FF2190F956685E36227FD0A2093D /* StyledTextKit */ = { + 1867179ACBB5D2EC937E8527E7F50DCA /* Products */ = { isa = PBXGroup; children = ( - EE93D8900643DC3D3E21434CB88B5788 /* CGImage+LRUCachable.swift */, - 34D75EBA8831307154AC7B17E23A47AA /* CGSize+LRUCachable.swift */, - B63AB6BBAC7A27B2D00D32F21672390B /* CGSize+Utility.swift */, - 9449CF6CBE5F46ED87348F95A4E62F09 /* Font.swift */, - 38F8E613E856AE04858C8803BDB00BD6 /* Hashable+Combined.swift */, - 5B92FBA138D7DE1F3CAF76CD5621ADB0 /* LRUCache.swift */, - 85AC42AC4B289029969BC22822F4127A /* NSAttributedString+Trim.swift */, - 340E47D85491B2FBB7D7DB07E01C696B /* NSAttributedStringAttributesType.swift */, - 04B4B3525709D29D51FBCC564376CC05 /* NSAttributedStringKey+StyledText.swift */, - 801CB363708FA8B829E5E745343907DE /* NSLayoutManager+Render.swift */, - 34FDE645A8A93639B24216200AAE8CB2 /* StyledText.swift */, - 3EFF2A9E97BD57472839C7FFDA3D4BD2 /* StyledTextBuilder.swift */, - 227809B780FFD1171EB9E06F686685CE /* StyledTextRenderCacheKey.swift */, - 2248AC157AB27BC796DBB48442BAB760 /* StyledTextRenderer.swift */, - 9BB196B811EC452A48C3807043855DFF /* StyledTextString.swift */, - 18CCCF800A84A61E7E9ED49F0B4B7383 /* StyledTextView.swift */, - D60418187B8DC5DF2C4E05A44AF0D880 /* TextStyle.swift */, - 8772D32E2F6C88D46205A1B64095895D /* UIContentSizeCategory+Scaling.swift */, - 9B4DC894B3CFAEAA6B0EDBC4930E7820 /* UIScreen+Static.swift */, - 26008BD5BF94A33EF16004BE6B1364FE /* Pod */, - 05420E616167B11C1148C8985FCC037F /* Support Files */, + 1F667CC0E19EAF34E5A4119E2121F585 /* Pods-Example */, + 0DB87C96E01E077304230DA6E0F96A4A /* StyledTextKit */, ); - name = StyledTextKit; - path = ../..; + name = Products; sourceTree = ""; }; - 17298B7A2AAA27AD506B9E85B8E9785C /* Development Pods */ = { + 3E1F046C0F6BDE7DAA05A7298591CF5F /* Pod */ = { isa = PBXGroup; children = ( - 1062FF2190F956685E36227FD0A2093D /* StyledTextKit */, + 79F356D5397CB6BEBA5AB7AFC7C6664E /* LICENSE */, + F124D0397C31F59DF74D716ABB2EBAD4 /* README.md */, + 082F242C22FB2ECF89A6923C1E90A389 /* StyledTextKit.podspec */, ); - name = "Development Pods"; + name = Pod; sourceTree = ""; }; - 26008BD5BF94A33EF16004BE6B1364FE /* Pod */ = { + 578452D2E740E91742655AC8F1636D1F /* iOS */ = { isa = PBXGroup; children = ( - BD53D9415F6BD379B38B35B2B8295208 /* LICENSE */, - 420E4DC4A2036E2E09F5C1D32C321567 /* README.md */, - 974B6EAA95B1BBDCFAC2D3616E8C5754 /* StyledTextKit.podspec */, + 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */, ); - name = Pod; + name = iOS; sourceTree = ""; }; - 5AA5E4BDCAF6F835311E6A5BA72390A1 /* Products */ = { + 6DE25FF72E5097462D4C82DCF7C98BFC /* Support Files */ = { isa = PBXGroup; children = ( - 1F667CC0E19EAF34E5A4119E2121F585 /* Pods_Example.framework */, - 0DB87C96E01E077304230DA6E0F96A4A /* StyledTextKit.framework */, + B6BB6BB603CBE1621D752AAF0A290093 /* StyledTextKit.modulemap */, + 03D44D1F638E2FF995EA313A6B59FC7E /* StyledTextKit-dummy.m */, + 973E9118B5BE4734BFE3F1A69C1ECF2B /* StyledTextKit-Info.plist */, + 627CC4CCE70C654FAC302BAC2A28A05B /* StyledTextKit-prefix.pch */, + B433E1F51CB7764043EBD6EF52147D31 /* StyledTextKit-umbrella.h */, + 2AAD8FD6F01E062E1DEF942A5E3792D5 /* StyledTextKit.debug.xcconfig */, + C226B56DADBF55FD13637EDC0561827D /* StyledTextKit.release.xcconfig */, ); - name = Products; + name = "Support Files"; + path = "Example/Pods/Target Support Files/StyledTextKit"; sourceTree = ""; }; 9BDBD95ED116334D1B2835202D8D3060 /* Pods-Example */ = { @@ -195,12 +176,33 @@ path = "Target Support Files/Pods-Example"; sourceTree = ""; }; - C0834CEBB1379A84116EF29F93051C60 /* iOS */ = { + C73BCFA8112D12E5EFB60F698AE2E9AC /* StyledTextKit */ = { isa = PBXGroup; children = ( - 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */, + E075E830029951C4C0ADA36DEC33C8E1 /* CGImage+LRUCachable.swift */, + B8F44352A0691792BF5DF7072674A2C5 /* CGSize+LRUCachable.swift */, + A133E6644E5D03D3BE897F6908499039 /* CGSize+Utility.swift */, + C02D51C86CDAEB5977B7026BA21AFB93 /* Font.swift */, + 45A01BDA3E0846B24BA9498CAD7C2B2D /* Hashable+Combined.swift */, + F12F44E7D82C26CD8952C3C4DECB939B /* LRUCache.swift */, + 767D93B36EF88D708625A0544821CE3A /* NSAttributedString+Trim.swift */, + BE9AFF47A2542B891EB89B104667B933 /* NSAttributedStringAttributesType.swift */, + 2AB0594AA01555D2122944327ED4072B /* NSAttributedStringKey+StyledText.swift */, + 4DA1F5A88EFB89291FCB7FA497BD4071 /* NSLayoutManager+Render.swift */, + A21C354A4E81302FE03D9547598EE2DD /* StyledText.swift */, + 2842B3038FFFC86C1C8AD7B216A70C3E /* StyledTextBuilder.swift */, + 4A993D27BEBA090CC5611FE0DE4ED308 /* StyledTextRenderCacheKey.swift */, + 25D08CB7ADF71E90787B00BCB04272CF /* StyledTextRenderer.swift */, + 17B355C15A97973199A394EC82799B38 /* StyledTextString.swift */, + 48DE1F73E1CCF5911D68661021D85318 /* StyledTextView.swift */, + 2E9FBE649A7B9A22317E40FEC35BD8E4 /* TextStyle.swift */, + 207A58C22E06F1BB02AD01BA98B7E332 /* UIContentSizeCategory+Scaling.swift */, + A94E4BDCE95313D2FADC3692A1927BAF /* UIScreen+Static.swift */, + 3E1F046C0F6BDE7DAA05A7298591CF5F /* Pod */, + 6DE25FF72E5097462D4C82DCF7C98BFC /* Support Files */, ); - name = iOS; + name = StyledTextKit; + path = ../..; sourceTree = ""; }; CE2E825F08D3AD0FD76E6D78D7512ED0 /* Targets Support Files */ = { @@ -217,7 +219,7 @@ 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 17298B7A2AAA27AD506B9E85B8E9785C /* Development Pods */, D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, - 5AA5E4BDCAF6F835311E6A5BA72390A1 /* Products */, + 1867179ACBB5D2EC937E8527E7F50DCA /* Products */, CE2E825F08D3AD0FD76E6D78D7512ED0 /* Targets Support Files */, ); sourceTree = ""; @@ -225,7 +227,7 @@ D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { isa = PBXGroup; children = ( - C0834CEBB1379A84116EF29F93051C60 /* iOS */, + 578452D2E740E91742655AC8F1636D1F /* iOS */, ); name = Frameworks; sourceTree = ""; @@ -233,19 +235,19 @@ /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - 45E0149A982436909E404A78E5EAEEF1 /* Headers */ = { + 922815ECCE12E9478537E89C78B94E36 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 120B167EA64F541DD50EBC6839DEBA57 /* Pods-Example-umbrella.h in Headers */, + B3EC2CA396AE54D407B4B9CB256FDCCB /* Pods-Example-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - D6EAAB7E3287D6D5A2F2CD79636B79C5 /* Headers */ = { + ABCA637D3533E78D895CACAC2B9D4FC2 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - D75E22E82BF6F840C0C3CC2E53C26A4A /* StyledTextKit-umbrella.h in Headers */, + 4926DFCF0AE3FA37F4C97BBF25BA3DC1 /* StyledTextKit-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -254,31 +256,31 @@ /* Begin PBXNativeTarget section */ 0AEE99A309977BD12A049FF48AF9BA4B /* Pods-Example */ = { isa = PBXNativeTarget; - buildConfigurationList = CA2FE6FDEE11BF6FEAA2AE96CD947B72 /* Build configuration list for PBXNativeTarget "Pods-Example" */; + buildConfigurationList = 09EAD34F67B77467A056B9C30C826E0E /* Build configuration list for PBXNativeTarget "Pods-Example" */; buildPhases = ( - 45E0149A982436909E404A78E5EAEEF1 /* Headers */, - 7C9365BB20E62F3694E2AE2069F60B9C /* Sources */, - A8ED048E872EB300EA31C038FD0372B3 /* Frameworks */, - A93D96ADE969EB5203AAC9DD1909BE18 /* Resources */, + 922815ECCE12E9478537E89C78B94E36 /* Headers */, + 9592F06754235E5034CEFFA64AF6EE1D /* Sources */, + DDB77643AF90C5AF8E9B3ECCE806851D /* Frameworks */, + 45B362F30ED0C859A284ADBE6F9A3E90 /* Resources */, ); buildRules = ( ); dependencies = ( - 9C5100FB1537E177FC806E2960C509FC /* PBXTargetDependency */, + 0E25F0F9859E0C02DCE837E7C66BFA76 /* PBXTargetDependency */, ); name = "Pods-Example"; - productName = "Pods-Example"; - productReference = 1F667CC0E19EAF34E5A4119E2121F585 /* Pods_Example.framework */; + productName = Pods_Example; + productReference = 1F667CC0E19EAF34E5A4119E2121F585 /* Pods-Example */; productType = "com.apple.product-type.framework"; }; A33A8B226AEE55E87FD5EBC01722957C /* StyledTextKit */ = { isa = PBXNativeTarget; - buildConfigurationList = B01A4FDC7D9C10569FB95DB433C113D8 /* Build configuration list for PBXNativeTarget "StyledTextKit" */; + buildConfigurationList = E2CF4454E3A3B99D6EC2C6787A3CCBBC /* Build configuration list for PBXNativeTarget "StyledTextKit" */; buildPhases = ( - D6EAAB7E3287D6D5A2F2CD79636B79C5 /* Headers */, - 83723254B9C704DB99C1ABEC1686330E /* Sources */, - D91679357B99ECF26D9DAC37296A1A65 /* Frameworks */, - 1A503349E5BFAF71532F91DB7A44FBE8 /* Resources */, + ABCA637D3533E78D895CACAC2B9D4FC2 /* Headers */, + 74EAA0B268243D198B1DF36A48343DFB /* Sources */, + 5C4121507031B52835C079447AA8BD38 /* Frameworks */, + 8FC6A148F479CD9A3FE886D47461A640 /* Resources */, ); buildRules = ( ); @@ -286,7 +288,7 @@ ); name = StyledTextKit; productName = StyledTextKit; - productReference = 0DB87C96E01E077304230DA6E0F96A4A /* StyledTextKit.framework */; + productReference = 0DB87C96E01E077304230DA6E0F96A4A /* StyledTextKit */; productType = "com.apple.product-type.framework"; }; /* End PBXNativeTarget section */ @@ -295,19 +297,19 @@ BFDFE7DC352907FC980B868725387E98 /* Project object */ = { isa = PBXProject; attributes = { - LastSwiftUpdateCheck = 1100; - LastUpgradeCheck = 1100; + LastSwiftUpdateCheck = 1240; + LastUpgradeCheck = 1240; }; buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; - compatibilityVersion = "Xcode 9.3"; + compatibilityVersion = "Xcode 10.0"; developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( - en, Base, + en, ); mainGroup = CF1408CF629C7361332E53B88F7BD30C; - productRefGroup = 5AA5E4BDCAF6F835311E6A5BA72390A1 /* Products */; + productRefGroup = 1867179ACBB5D2EC937E8527E7F50DCA /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( @@ -318,14 +320,14 @@ /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - 1A503349E5BFAF71532F91DB7A44FBE8 /* Resources */ = { + 45B362F30ED0C859A284ADBE6F9A3E90 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; - A93D96ADE969EB5203AAC9DD1909BE18 /* Resources */ = { + 8FC6A148F479CD9A3FE886D47461A640 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( @@ -335,96 +337,59 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ - 7C9365BB20E62F3694E2AE2069F60B9C /* Sources */ = { + 74EAA0B268243D198B1DF36A48343DFB /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 5C803195F8E235F670005502193500DA /* Pods-Example-dummy.m in Sources */, + F2D35EB620304169EF251F1E1C684AD2 /* CGImage+LRUCachable.swift in Sources */, + 76053EAEA997FA50E12A43BBA1132290 /* CGSize+LRUCachable.swift in Sources */, + A67ECBA233B74FAA2F2D6543B5039DAF /* CGSize+Utility.swift in Sources */, + BC09707F4F6BC5819629359C79C353E6 /* Font.swift in Sources */, + 90A61A8D291A5481A6ACBA859CCFAB42 /* Hashable+Combined.swift in Sources */, + A6659F112F8FC7A16CAEDE53A951F194 /* LRUCache.swift in Sources */, + 398DEB5822E30C84EA7FF2A1C6D1F3EE /* NSAttributedString+Trim.swift in Sources */, + 0F9161814B9EFF4BC21BF665B577F679 /* NSAttributedStringAttributesType.swift in Sources */, + 9F6C9443DD9352F85E7F4EAB23A97BFD /* NSAttributedStringKey+StyledText.swift in Sources */, + 604794E0455C13E6B4F6F59DBD85EDD6 /* NSLayoutManager+Render.swift in Sources */, + 9C7417AB2905223FE27D77B5555868DB /* StyledText.swift in Sources */, + E441B9B5F0DF0A8E4A472197CA79380C /* StyledTextBuilder.swift in Sources */, + 3A95B63856A22AF5B869FC18A0C91D26 /* StyledTextKit-dummy.m in Sources */, + 9958402F129236AE2B4F9176F45A18F1 /* StyledTextRenderCacheKey.swift in Sources */, + 65D798C3D29334F5E07D40004D081833 /* StyledTextRenderer.swift in Sources */, + 53214014D072929599B4849BB1474B38 /* StyledTextString.swift in Sources */, + 3778B96286278E36BDA3C1EFD4EA9B12 /* StyledTextView.swift in Sources */, + 87272B3291FFECF13282A61D14CA3AFF /* TextStyle.swift in Sources */, + D6393032BC0316422537C65324B66CC4 /* UIContentSizeCategory+Scaling.swift in Sources */, + F6F7ACFD24D708F516E81E1DB21A7698 /* UIScreen+Static.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 83723254B9C704DB99C1ABEC1686330E /* Sources */ = { + 9592F06754235E5034CEFFA64AF6EE1D /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 58F84D12C539DD280A583B3BB379BFA7 /* CGImage+LRUCachable.swift in Sources */, - B5E2377E5A648318BD90007A4CB971CC /* CGSize+LRUCachable.swift in Sources */, - 5BD9B9FBB1A3157B5102BFAB650D2ADF /* CGSize+Utility.swift in Sources */, - 6D25C42844D1554630C50D0098BB74F7 /* Font.swift in Sources */, - 6200DC7C41C8EDBEE52A9D755E8424EF /* Hashable+Combined.swift in Sources */, - C4FCB592C6747D4294E048B15B2DFF70 /* LRUCache.swift in Sources */, - 0D3C81F70B18AE6624535B905056E2C1 /* NSAttributedString+Trim.swift in Sources */, - E268CCAAC5EBF5822B40EE9F85608E9E /* NSAttributedStringAttributesType.swift in Sources */, - 8E4EB47D93F4B2EE1A81987CE38AEE6C /* NSAttributedStringKey+StyledText.swift in Sources */, - DF002C7AAECE866BDC374FF4F523E227 /* NSLayoutManager+Render.swift in Sources */, - 8B6E80D9B091E556B43D68581BFCA6B2 /* StyledText.swift in Sources */, - D8B6BACD0E271A5F29B4B65E2FD56DDD /* StyledTextBuilder.swift in Sources */, - 5DEDFD5EF0456EB6DF7DD4D7724F6280 /* StyledTextKit-dummy.m in Sources */, - 7FA28D4CD453EB4245AA8C094FE63B6A /* StyledTextRenderCacheKey.swift in Sources */, - 0F1CE5F0E6C726DB6575D86221652CDB /* StyledTextRenderer.swift in Sources */, - E92A8876DE4952435A4DE4A3BB7A8D7C /* StyledTextString.swift in Sources */, - C32DDC94128D0604F3F3AB60DAA909C0 /* StyledTextView.swift in Sources */, - 43A62BDB2DBE6B7AF570A4666F89949E /* TextStyle.swift in Sources */, - 04611EADFFA8E6C633A9B9B76D18E052 /* UIContentSizeCategory+Scaling.swift in Sources */, - 73A223E2124B59001B0EAA6ECAAE4AA4 /* UIScreen+Static.swift in Sources */, + 85A42A92E71326216134F5206F88288E /* Pods-Example-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - 9C5100FB1537E177FC806E2960C509FC /* PBXTargetDependency */ = { + 0E25F0F9859E0C02DCE837E7C66BFA76 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = StyledTextKit; target = A33A8B226AEE55E87FD5EBC01722957C /* StyledTextKit */; - targetProxy = B84748446D17C3B6F4629EDD48BF0088 /* PBXContainerItemProxy */; + targetProxy = 34B2EAEF9641BFA0C83E668054BF4121 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ - 12EEA49C2DA119A497A539929ED61B0E /* Release */ = { + 753F3C6288CCEF3FD4FDA14829087DBA /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = AA2CCCCB20218C7FFE75722F1A090737 /* StyledTextKit.xcconfig */; - buildSettings = { - CLANG_ENABLE_OBJC_WEAK = NO; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/StyledTextKit/StyledTextKit-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/StyledTextKit/StyledTextKit-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MODULEMAP_FILE = "Target Support Files/StyledTextKit/StyledTextKit.modulemap"; - PRODUCT_MODULE_NAME = StyledTextKit; - PRODUCT_NAME = StyledTextKit; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 3E1EF82A55E88EA5E3CE06BCBAE59B7E /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = AA2CCCCB20218C7FFE75722F1A090737 /* StyledTextKit.xcconfig */; + baseConfigurationReference = B45138496B85A072654D1D0F8EBBEDE5 /* Pods-Example.debug.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; CLANG_ENABLE_OBJC_WEAK = NO; - CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -433,32 +398,34 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/StyledTextKit/StyledTextKit-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/StyledTextKit/StyledTextKit-Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-Example/Pods-Example-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.3; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MODULEMAP_FILE = "Target Support Files/StyledTextKit/StyledTextKit.modulemap"; - PRODUCT_MODULE_NAME = StyledTextKit; - PRODUCT_NAME = StyledTextKit; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-Example/Pods-Example.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = iphoneos; SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Debug; }; - 4B1F13D49B97FF90469FE040925F8D8C /* Release */ = { + 98498EE3A2793DC3C113702F5E2FB40A /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; @@ -481,6 +448,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -488,13 +456,16 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; + DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_RELEASE=1", + "POD_CONFIGURATION_DEBUG=1", + "DEBUG=1", "$(inherited)", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -504,24 +475,59 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 11.3; - MTL_ENABLE_DEBUG_INFO = NO; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; STRIP_INSTALLED_PRODUCT = NO; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; SYMROOT = "${SRCROOT}/../build"; }; - name = Release; + name = Debug; }; - 819776D6328BC5D05648955F475B09DA /* Debug */ = { + D4C0D85FF2D592A926533BD13BF0F896 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = B45138496B85A072654D1D0F8EBBEDE5 /* Pods-Example.debug.xcconfig */; + baseConfigurationReference = 2AAD8FD6F01E062E1DEF942A5E3792D5 /* StyledTextKit.debug.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/StyledTextKit/StyledTextKit-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/StyledTextKit/StyledTextKit-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MODULEMAP_FILE = "Target Support Files/StyledTextKit/StyledTextKit.modulemap"; + PRODUCT_MODULE_NAME = StyledTextKit; + PRODUCT_NAME = StyledTextKit; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + E1EB38935BAC19A5CF04EE45AF8F7E53 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 243410B9535472556EA4BB6DBC133A0D /* Pods-Example.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; CLANG_ENABLE_OBJC_WEAK = NO; - CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -548,15 +554,53 @@ SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; - A8EFA68AC855A5B2B43BF716E27BD98D /* Debug */ = { + F77EE690EB2DDAB5B23D0998A63484EB /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = C226B56DADBF55FD13637EDC0561827D /* StyledTextKit.release.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/StyledTextKit/StyledTextKit-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/StyledTextKit/StyledTextKit-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MODULEMAP_FILE = "Target Support Files/StyledTextKit/StyledTextKit.modulemap"; + PRODUCT_MODULE_NAME = StyledTextKit; + PRODUCT_NAME = StyledTextKit; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + FFB17281C48AE863A31E46072D514569 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; @@ -579,6 +623,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -586,16 +631,13 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_DEBUG=1", - "DEBUG=1", + "POD_CONFIGURATION_RELEASE=1", "$(inherited)", ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -605,83 +647,43 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 11.3; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; STRIP_INSTALLED_PRODUCT = NO; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; SWIFT_VERSION = 5.0; SYMROOT = "${SRCROOT}/../build"; }; - name = Debug; - }; - FBA5E72DD6DFBB3FB40B8AEB2F72779A /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 243410B9535472556EA4BB6DBC133A0D /* Pods-Example.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CLANG_ENABLE_OBJC_WEAK = NO; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-Example/Pods-Example-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 11.3; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-Example/Pods-Example.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { + 09EAD34F67B77467A056B9C30C826E0E /* Build configuration list for PBXNativeTarget "Pods-Example" */ = { isa = XCConfigurationList; buildConfigurations = ( - A8EFA68AC855A5B2B43BF716E27BD98D /* Debug */, - 4B1F13D49B97FF90469FE040925F8D8C /* Release */, + 753F3C6288CCEF3FD4FDA14829087DBA /* Debug */, + E1EB38935BAC19A5CF04EE45AF8F7E53 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - B01A4FDC7D9C10569FB95DB433C113D8 /* Build configuration list for PBXNativeTarget "StyledTextKit" */ = { + 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { isa = XCConfigurationList; buildConfigurations = ( - 3E1EF82A55E88EA5E3CE06BCBAE59B7E /* Debug */, - 12EEA49C2DA119A497A539929ED61B0E /* Release */, + 98498EE3A2793DC3C113702F5E2FB40A /* Debug */, + FFB17281C48AE863A31E46072D514569 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - CA2FE6FDEE11BF6FEAA2AE96CD947B72 /* Build configuration list for PBXNativeTarget "Pods-Example" */ = { + E2CF4454E3A3B99D6EC2C6787A3CCBBC /* Build configuration list for PBXNativeTarget "StyledTextKit" */ = { isa = XCConfigurationList; buildConfigurations = ( - 819776D6328BC5D05648955F475B09DA /* Debug */, - FBA5E72DD6DFBB3FB40B8AEB2F72779A /* Release */, + D4C0D85FF2D592A926533BD13BF0F896 /* Debug */, + F77EE690EB2DDAB5B23D0998A63484EB /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh index cc2867b..e55dd04 100755 --- a/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh +++ b/Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh @@ -19,9 +19,8 @@ mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +BCSYMBOLMAP_DIR="BCSymbolMaps" -# Used as a return value for each invocation of `strip_invalid_archs` function. -STRIP_BINARY_RETVAL=0 # This protects against multiple targets copying the same framework dependency at the same time. The solution # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html @@ -45,9 +44,19 @@ install_framework() source="$(readlink "${source}")" fi + if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then + # Locate and install any .bcsymbolmaps if present, and remove them from the .framework before the framework is copied + find "${source}/${BCSYMBOLMAP_DIR}" -name "*.bcsymbolmap"|while read f; do + echo "Installing $f" + install_bcsymbolmap "$f" "$destination" + rm "$f" + done + rmdir "${source}/${BCSYMBOLMAP_DIR}" + fi + # Use filter instead of exclude so missing patterns don't throw errors. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" local basename basename="$(basename -s .framework "$1")" @@ -80,69 +89,53 @@ install_framework() done fi } - # Copies and strips a vendored dSYM install_dsym() { local source="$1" + warn_missing_arch=${2:-true} if [ -r "$source" ]; then - # Copy the dSYM into a the targets temp dir. + # Copy the dSYM into the targets temp dir. echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" local basename - basename="$(basename -s .framework.dSYM "$source")" - binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" + basename="$(basename -s .dSYM "$source")" + binary_name="$(ls "$source/Contents/Resources/DWARF")" + binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}" - # Strip invalid architectures so "fat" simulator / device frameworks work on device + # Strip invalid architectures from the dSYM. if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then - strip_invalid_archs "$binary" + strip_invalid_archs "$binary" "$warn_missing_arch" fi - - if [[ $STRIP_BINARY_RETVAL == 1 ]]; then + if [[ $STRIP_BINARY_RETVAL == 0 ]]; then # Move the stripped file into its final destination. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}" else # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. - touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" + mkdir -p "${DWARF_DSYM_FOLDER_PATH}" + touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM" fi fi } -# Copies the bcsymbolmap files of a vendored framework -install_bcsymbolmap() { - local bcsymbolmap_path="$1" - local destination="${BUILT_PRODUCTS_DIR}" - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identity - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" - - if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - code_sign_cmd="$code_sign_cmd &" - fi - echo "$code_sign_cmd" - eval "$code_sign_cmd" - fi -} +# Used as a return value for each invocation of `strip_invalid_archs` function. +STRIP_BINARY_RETVAL=0 # Strip invalid architectures strip_invalid_archs() { binary="$1" + warn_missing_arch=${2:-true} # Get architectures for current target binary binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" # Intersect them with the architectures we are building for intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" # If there are no archs supported by this binary then warn the user if [[ -z "$intersected_archs" ]]; then - echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." - STRIP_BINARY_RETVAL=0 + if [[ "$warn_missing_arch" == "true" ]]; then + echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." + fi + STRIP_BINARY_RETVAL=1 return fi stripped="" @@ -156,9 +149,31 @@ strip_invalid_archs() { if [[ "$stripped" ]]; then echo "Stripped $binary of architectures:$stripped" fi - STRIP_BINARY_RETVAL=1 + STRIP_BINARY_RETVAL=0 +} + +# Copies the bcsymbolmap files of a vendored framework +install_bcsymbolmap() { + local bcsymbolmap_path="$1" + local destination="${BUILT_PRODUCTS_DIR}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" } +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identity + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" + + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" + fi + echo "$code_sign_cmd" + eval "$code_sign_cmd" + fi +} if [[ "$CONFIGURATION" == "Debug" ]]; then install_framework "${BUILT_PRODUCTS_DIR}/StyledTextKit/StyledTextKit.framework" diff --git a/Example/Pods/Target Support Files/Pods-Example/Pods-Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-Example/Pods-Example.debug.xcconfig index fa0227f..33c09a3 100644 --- a/Example/Pods/Target Support Files/Pods-Example/Pods-Example.debug.xcconfig +++ b/Example/Pods/Target Support Files/Pods-Example/Pods-Example.debug.xcconfig @@ -1,12 +1,15 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/StyledTextKit" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/StyledTextKit/StyledTextKit.framework/Headers" -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks' +LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "StyledTextKit" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-Example/Pods-Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-Example/Pods-Example.release.xcconfig index fa0227f..33c09a3 100644 --- a/Example/Pods/Target Support Files/Pods-Example/Pods-Example.release.xcconfig +++ b/Example/Pods/Target Support Files/Pods-Example/Pods-Example.release.xcconfig @@ -1,12 +1,15 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/StyledTextKit" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/StyledTextKit/StyledTextKit.framework/Headers" -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks' +LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "StyledTextKit" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/StyledTextKit/StyledTextKit.debug.xcconfig b/Example/Pods/Target Support Files/StyledTextKit/StyledTextKit.debug.xcconfig new file mode 100644 index 0000000..c91430c --- /dev/null +++ b/Example/Pods/Target Support Files/StyledTextKit/StyledTextKit.debug.xcconfig @@ -0,0 +1,13 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/StyledTextKit +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/StyledTextKit/StyledTextKit.release.xcconfig b/Example/Pods/Target Support Files/StyledTextKit/StyledTextKit.release.xcconfig new file mode 100644 index 0000000..c91430c --- /dev/null +++ b/Example/Pods/Target Support Files/StyledTextKit/StyledTextKit.release.xcconfig @@ -0,0 +1,13 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/StyledTextKit +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES From b519c588cad8797444760b3f1e35546d4ebc5e74 Mon Sep 17 00:00:00 2001 From: Marcus Wu Date: Wed, 22 Sep 2021 18:38:04 +0800 Subject: [PATCH 3/5] Temp fix iOS 15 unexpected behavior when using image attachment --- Source/StyledText.swift | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/Source/StyledText.swift b/Source/StyledText.swift index 20f77b7..3da03a4 100644 --- a/Source/StyledText.swift +++ b/Source/StyledText.swift @@ -120,17 +120,21 @@ public class StyledText: Hashable, Equatable { } attachment.bounds = bounds - // non-breaking space so the color hack doesn't wrap - let attributedString = NSMutableAttributedString(string: "\u{00A0}") - attributedString.append(NSAttributedString(attachment: attachment)) - // replace attributes to 0 size font so no actual space taken - attributes[.font] = UIFont.systemFont(ofSize: 0) - // override all attributes so color actually tints image - attributedString.addAttributes( - attributes, - range: NSRange(location: 0, length: attributedString.length) - ) - return attributedString + if #available(iOS 15.0, *) { + return NSAttributedString(attachment: attachment) + } else { + // non-breaking space so the color hack doesn't wrap + let attributedString = NSMutableAttributedString(string: "\u{00A0}") + attributedString.append(NSAttributedString(attachment: attachment)) + // replace attributes to 0 size font so no actual space taken + attributes[.font] = UIFont.systemFont(ofSize: 0) + // override all attributes so color actually tints image + attributedString.addAttributes( + attributes, + range: NSRange(location: 0, length: attributedString.length) + ) + return attributedString + } } } From 99e45393dcac33a3ecbf1775e59ce3e28410866e Mon Sep 17 00:00:00 2001 From: Marcus Wu Date: Thu, 3 Mar 2022 16:29:40 +0800 Subject: [PATCH 4/5] Support SPM --- Package.swift | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Package.swift diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..ad2d14a --- /dev/null +++ b/Package.swift @@ -0,0 +1,20 @@ +// swift-tools-version:5.5 +import PackageDescription + +let package = Package( + name: "StyledTextKit", + platforms: [ + .iOS(.v11), + ], + products: [ + .library( + name: "StyledTextKit", + targets: ["StyledTextKit"]), + ], + targets: [ + .target( + name: "StyledTextKit", + path: "Source" + ) + ] +) From 64f63e793672412567a0c55f91093783a42abc39 Mon Sep 17 00:00:00 2001 From: Marcus Wu Date: Thu, 3 Mar 2022 16:34:21 +0800 Subject: [PATCH 5/5] Import UIKit in LRUCache --- Source/LRUCache.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/LRUCache.swift b/Source/LRUCache.swift index 28b022b..a29c05a 100644 --- a/Source/LRUCache.swift +++ b/Source/LRUCache.swift @@ -7,6 +7,7 @@ // import Foundation +import UIKit public protocol LRUCachable { var cachedSize: Int { get }