diff --git a/.gitignore b/.gitignore index e50906d44..6930efdc3 100644 --- a/.gitignore +++ b/.gitignore @@ -11,7 +11,15 @@ Nimble.framework.zip # # Add this line if you want to avoid checking in source code from Carthage dependencies. # Carthage/Checkouts - +Carthage/Checkouts/**/*.* +Carthage/Checkouts/**/Cart* +Carthage/Checkouts/**/Tests +!Carthage/Checkouts/**/LICENSE.* +!Carthage/Checkouts/**/*.md +!Carthage/Checkouts/**/*.swift +!Carthage/Checkouts/**/*.h +!Carthage/Checkouts/**/*.m +!Carthage/Checkouts/**/*.c Carthage/Build # Swift Package Manager diff --git a/Carthage/Checkouts/CwlCatchException/.gitignore b/Carthage/Checkouts/CwlCatchException/.gitignore deleted file mode 100644 index 519cdfc68..000000000 --- a/Carthage/Checkouts/CwlCatchException/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -.DS_Store -project.xcworkspace/ -xcuserdata/ -.build diff --git a/Carthage/Checkouts/CwlCatchException/CwlCatchException.podspec b/Carthage/Checkouts/CwlCatchException/CwlCatchException.podspec deleted file mode 100644 index 7b6c3dce5..000000000 --- a/Carthage/Checkouts/CwlCatchException/CwlCatchException.podspec +++ /dev/null @@ -1,18 +0,0 @@ -Pod::Spec.new do |s| - s.name = "CwlCatchException" - s.version = "1.0.2" - - s.summary = "A small Swift framework for catching Objective-C exceptions." - s.description = <<-DESC - A simple Swift wrapper around an Objective-C @try/@catch statement that selectively catches Objective-C exceptions by NSException subtype, rethrowing if any caught exception is not the expected subtype. - DESC - s.homepage = "https://github.com/mattgallagher/CwlCatchException" - s.license = { :type => "ISC", :file => "LICENSE.txt" } - s.author = "Matt Gallagher" - - s.ios.deployment_target = "8.0" - s.osx.deployment_target = "10.9" - - s.source = { :git => "https://github.com/mattgallagher/CwlCatchException.git", :tag => "#{s.version}" } - s.source_files = "Sources/**/*.{swift,m,h}" -end diff --git a/Carthage/Checkouts/CwlCatchException/CwlCatchException.xcodeproj/CwlCatchExceptionSupport_Info.plist b/Carthage/Checkouts/CwlCatchException/CwlCatchException.xcodeproj/CwlCatchExceptionSupport_Info.plist deleted file mode 100644 index 57ada9f9d..000000000 --- a/Carthage/Checkouts/CwlCatchException/CwlCatchException.xcodeproj/CwlCatchExceptionSupport_Info.plist +++ /dev/null @@ -1,25 +0,0 @@ - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - NSPrincipalClass - - - diff --git a/Carthage/Checkouts/CwlCatchException/CwlCatchException.xcodeproj/CwlCatchExceptionTests_Info.plist b/Carthage/Checkouts/CwlCatchException/CwlCatchException.xcodeproj/CwlCatchExceptionTests_Info.plist deleted file mode 100644 index 7c23420d0..000000000 --- a/Carthage/Checkouts/CwlCatchException/CwlCatchException.xcodeproj/CwlCatchExceptionTests_Info.plist +++ /dev/null @@ -1,25 +0,0 @@ - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - NSPrincipalClass - - - diff --git a/Carthage/Checkouts/CwlCatchException/CwlCatchException.xcodeproj/CwlCatchException_Info.plist b/Carthage/Checkouts/CwlCatchException/CwlCatchException.xcodeproj/CwlCatchException_Info.plist deleted file mode 100644 index 57ada9f9d..000000000 --- a/Carthage/Checkouts/CwlCatchException/CwlCatchException.xcodeproj/CwlCatchException_Info.plist +++ /dev/null @@ -1,25 +0,0 @@ - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - NSPrincipalClass - - - diff --git a/Carthage/Checkouts/CwlCatchException/CwlCatchException.xcodeproj/project.pbxproj b/Carthage/Checkouts/CwlCatchException/CwlCatchException.xcodeproj/project.pbxproj deleted file mode 100644 index 41b9856dd..000000000 --- a/Carthage/Checkouts/CwlCatchException/CwlCatchException.xcodeproj/project.pbxproj +++ /dev/null @@ -1,661 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - C90FA1B71C41E48100996A1F /* CwlCatchException.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C90FA1AC1C41E48100996A1F /* CwlCatchException.framework */; }; - C90FA2011C42071A00996A1F /* CwlCatchException.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C90FA1F71C42071A00996A1F /* CwlCatchException.framework */; }; - C9F3E85F1E3D9DAD00984605 /* CwlCatchException.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9F3E85A1E3D9DAD00984605 /* CwlCatchException.swift */; }; - C9F3E8601E3D9DAD00984605 /* CwlCatchException.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9F3E85A1E3D9DAD00984605 /* CwlCatchException.swift */; }; - C9F3E8611E3D9DAD00984605 /* CwlCatchException.m in Sources */ = {isa = PBXBuildFile; fileRef = C9F3E85C1E3D9DAD00984605 /* CwlCatchException.m */; }; - C9F3E8621E3D9DAD00984605 /* CwlCatchException.m in Sources */ = {isa = PBXBuildFile; fileRef = C9F3E85C1E3D9DAD00984605 /* CwlCatchException.m */; }; - C9F3E8631E3D9DAD00984605 /* CwlCatchException.h in Headers */ = {isa = PBXBuildFile; fileRef = C9F3E85E1E3D9DAD00984605 /* CwlCatchException.h */; settings = {ATTRIBUTES = (Public, ); }; }; - C9F3E8641E3D9DAD00984605 /* CwlCatchException.h in Headers */ = {isa = PBXBuildFile; fileRef = C9F3E85E1E3D9DAD00984605 /* CwlCatchException.h */; settings = {ATTRIBUTES = (Public, ); }; }; - C9F3E8661E3D9DBD00984605 /* CwlCatchExceptionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9F3E8651E3D9DBD00984605 /* CwlCatchExceptionTests.swift */; }; - C9F3E8671E3D9DBD00984605 /* CwlCatchExceptionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9F3E8651E3D9DBD00984605 /* CwlCatchExceptionTests.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - C90FA1B81C41E48100996A1F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C90FA1A31C41E48100996A1F /* Project object */; - proxyType = 1; - remoteGlobalIDString = C90FA1AB1C41E48100996A1F; - remoteInfo = CwlCatchException; - }; - C90FA2021C42071A00996A1F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C90FA1A31C41E48100996A1F /* Project object */; - proxyType = 1; - remoteGlobalIDString = C90FA1F61C42071A00996A1F; - remoteInfo = CwlCatchException_iOS; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - C90FA1AC1C41E48100996A1F /* CwlCatchException.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CwlCatchException.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - C90FA1B61C41E48100996A1F /* CwlCatchException_macOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CwlCatchException_macOSTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - C90FA1F71C42071A00996A1F /* CwlCatchException.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CwlCatchException.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - C90FA2001C42071A00996A1F /* CwlCatchException_iOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CwlCatchException_iOSTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - C9F3E8581E3D9D8B00984605 /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = ""; }; - C9F3E85A1E3D9DAD00984605 /* CwlCatchException.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CwlCatchException.swift; sourceTree = ""; }; - C9F3E85C1E3D9DAD00984605 /* CwlCatchException.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CwlCatchException.m; sourceTree = ""; }; - C9F3E85E1E3D9DAD00984605 /* CwlCatchException.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CwlCatchException.h; sourceTree = ""; }; - C9F3E8651E3D9DBD00984605 /* CwlCatchExceptionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CwlCatchExceptionTests.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - C90FA1A81C41E48100996A1F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C90FA1B31C41E48100996A1F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C90FA1B71C41E48100996A1F /* CwlCatchException.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C90FA1F31C42071A00996A1F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C90FA1FD1C42071A00996A1F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C90FA2011C42071A00996A1F /* CwlCatchException.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - C90FA1A21C41E48100996A1F = { - isa = PBXGroup; - children = ( - C9F3E8581E3D9D8B00984605 /* Package.swift */, - C9F3E8591E3D9DAD00984605 /* CwlCatchException */, - C9F3E85B1E3D9DAD00984605 /* CwlCatchExceptionSupport */, - C90FA1BA1C41E48100996A1F /* CwlCatchExceptionTests */, - C90FA1AD1C41E48100996A1F /* Products */, - ); - sourceTree = ""; - }; - C90FA1AD1C41E48100996A1F /* Products */ = { - isa = PBXGroup; - children = ( - C90FA1AC1C41E48100996A1F /* CwlCatchException.framework */, - C90FA1B61C41E48100996A1F /* CwlCatchException_macOSTests.xctest */, - C90FA1F71C42071A00996A1F /* CwlCatchException.framework */, - C90FA2001C42071A00996A1F /* CwlCatchException_iOSTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - C90FA1BA1C41E48100996A1F /* CwlCatchExceptionTests */ = { - isa = PBXGroup; - children = ( - C9F3E8651E3D9DBD00984605 /* CwlCatchExceptionTests.swift */, - ); - name = CwlCatchExceptionTests; - path = Tests/CwlCatchExceptionTests; - sourceTree = ""; - }; - C9F3E8591E3D9DAD00984605 /* CwlCatchException */ = { - isa = PBXGroup; - children = ( - C9F3E85A1E3D9DAD00984605 /* CwlCatchException.swift */, - ); - name = CwlCatchException; - path = Sources/CwlCatchException; - sourceTree = ""; - }; - C9F3E85B1E3D9DAD00984605 /* CwlCatchExceptionSupport */ = { - isa = PBXGroup; - children = ( - C9F3E85C1E3D9DAD00984605 /* CwlCatchException.m */, - C9F3E85D1E3D9DAD00984605 /* include */, - ); - name = CwlCatchExceptionSupport; - path = Sources/CwlCatchExceptionSupport; - sourceTree = ""; - }; - C9F3E85D1E3D9DAD00984605 /* include */ = { - isa = PBXGroup; - children = ( - C9F3E85E1E3D9DAD00984605 /* CwlCatchException.h */, - ); - path = include; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - C90FA1A91C41E48100996A1F /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - C9F3E8631E3D9DAD00984605 /* CwlCatchException.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C90FA1F41C42071A00996A1F /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - C9F3E8641E3D9DAD00984605 /* CwlCatchException.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - C90FA1AB1C41E48100996A1F /* CwlCatchException_macOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = C90FA1C01C41E48100996A1F /* Build configuration list for PBXNativeTarget "CwlCatchException_macOS" */; - buildPhases = ( - C90FA1A71C41E48100996A1F /* Sources */, - C90FA1A81C41E48100996A1F /* Frameworks */, - C90FA1A91C41E48100996A1F /* Headers */, - C90FA1AA1C41E48100996A1F /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = CwlCatchException_macOS; - productName = CwlCatchException; - productReference = C90FA1AC1C41E48100996A1F /* CwlCatchException.framework */; - productType = "com.apple.product-type.framework"; - }; - C90FA1B51C41E48100996A1F /* CwlCatchException_macOSTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = C90FA1C31C41E48100996A1F /* Build configuration list for PBXNativeTarget "CwlCatchException_macOSTests" */; - buildPhases = ( - C90FA1B21C41E48100996A1F /* Sources */, - C90FA1B31C41E48100996A1F /* Frameworks */, - C90FA1B41C41E48100996A1F /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - C90FA1B91C41E48100996A1F /* PBXTargetDependency */, - ); - name = CwlCatchException_macOSTests; - productName = CwlCatchExceptionTests; - productReference = C90FA1B61C41E48100996A1F /* CwlCatchException_macOSTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - C90FA1F61C42071A00996A1F /* CwlCatchException_iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = C90FA2081C42071A00996A1F /* Build configuration list for PBXNativeTarget "CwlCatchException_iOS" */; - buildPhases = ( - C90FA1F21C42071A00996A1F /* Sources */, - C90FA1F31C42071A00996A1F /* Frameworks */, - C90FA1F41C42071A00996A1F /* Headers */, - C90FA1F51C42071A00996A1F /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = CwlCatchException_iOS; - productName = CwlCatchException_iOS; - productReference = C90FA1F71C42071A00996A1F /* CwlCatchException.framework */; - productType = "com.apple.product-type.framework"; - }; - C90FA1FF1C42071A00996A1F /* CwlCatchException_iOSTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = C90FA20B1C42071A00996A1F /* Build configuration list for PBXNativeTarget "CwlCatchException_iOSTests" */; - buildPhases = ( - C90FA1FC1C42071A00996A1F /* Sources */, - C90FA1FD1C42071A00996A1F /* Frameworks */, - C90FA1FE1C42071A00996A1F /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - C90FA2031C42071A00996A1F /* PBXTargetDependency */, - ); - name = CwlCatchException_iOSTests; - productName = CwlCatchException_iOSTests; - productReference = C90FA2001C42071A00996A1F /* CwlCatchException_iOSTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - C90FA1A31C41E48100996A1F /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0720; - LastUpgradeCheck = 0900; - ORGANIZATIONNAME = "Matt Gallagher ( http://cocoawithlove.com )"; - TargetAttributes = { - C90FA1AB1C41E48100996A1F = { - CreatedOnToolsVersion = 7.2; - LastSwiftMigration = 0800; - }; - C90FA1B51C41E48100996A1F = { - CreatedOnToolsVersion = 7.2; - LastSwiftMigration = 0800; - }; - C90FA1F61C42071A00996A1F = { - CreatedOnToolsVersion = 7.2; - LastSwiftMigration = 0810; - }; - C90FA1FF1C42071A00996A1F = { - CreatedOnToolsVersion = 7.2; - LastSwiftMigration = 0810; - }; - }; - }; - buildConfigurationList = C90FA1A61C41E48100996A1F /* Build configuration list for PBXProject "CwlCatchException" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = C90FA1A21C41E48100996A1F; - productRefGroup = C90FA1AD1C41E48100996A1F /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - C90FA1AB1C41E48100996A1F /* CwlCatchException_macOS */, - C90FA1B51C41E48100996A1F /* CwlCatchException_macOSTests */, - C90FA1F61C42071A00996A1F /* CwlCatchException_iOS */, - C90FA1FF1C42071A00996A1F /* CwlCatchException_iOSTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - C90FA1AA1C41E48100996A1F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C90FA1B41C41E48100996A1F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C90FA1F51C42071A00996A1F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C90FA1FE1C42071A00996A1F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - C90FA1A71C41E48100996A1F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C9F3E8611E3D9DAD00984605 /* CwlCatchException.m in Sources */, - C9F3E85F1E3D9DAD00984605 /* CwlCatchException.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C90FA1B21C41E48100996A1F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C9F3E8661E3D9DBD00984605 /* CwlCatchExceptionTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C90FA1F21C42071A00996A1F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C9F3E8621E3D9DAD00984605 /* CwlCatchException.m in Sources */, - C9F3E8601E3D9DAD00984605 /* CwlCatchException.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C90FA1FC1C42071A00996A1F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C9F3E8671E3D9DBD00984605 /* CwlCatchExceptionTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - C90FA1B91C41E48100996A1F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = C90FA1AB1C41E48100996A1F /* CwlCatchException_macOS */; - targetProxy = C90FA1B81C41E48100996A1F /* PBXContainerItemProxy */; - }; - C90FA2031C42071A00996A1F /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = C90FA1F61C42071A00996A1F /* CwlCatchException_iOS */; - targetProxy = C90FA2021C42071A00996A1F /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - C90FA1BE1C41E48100996A1F /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = ""; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - "NON_SWIFT_PACKAGE=1", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.9; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - C90FA1BF1C41E48100996A1F /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = ""; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_PREPROCESSOR_DEFINITIONS = "NON_SWIFT_PACKAGE=1"; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.9; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - C90FA1C11C41E48100996A1F /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_IDENTITY = ""; - COMBINE_HIDPI_IMAGES = YES; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - INFOPLIST_FILE = CwlCatchException.xcodeproj/CwlCatchException_Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.9; - PRODUCT_BUNDLE_IDENTIFIER = com.cocoawithlove.CwlCatchException; - PRODUCT_NAME = CwlCatchException; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - C90FA1C21C41E48100996A1F /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_IDENTITY = ""; - COMBINE_HIDPI_IMAGES = YES; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - INFOPLIST_FILE = CwlCatchException.xcodeproj/CwlCatchException_Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.9; - PRODUCT_BUNDLE_IDENTIFIER = com.cocoawithlove.CwlCatchException; - PRODUCT_NAME = CwlCatchException; - SKIP_INSTALL = YES; - }; - name = Release; - }; - C90FA1C41C41E48100996A1F /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = CwlCatchException.xcodeproj/CwlCatchExceptionTests_Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.cocoawithlove.CwlCatchExceptionTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - C90FA1C51C41E48100996A1F /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = CwlCatchException.xcodeproj/CwlCatchExceptionTests_Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.cocoawithlove.CwlCatchExceptionTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; - C90FA2091C42071A00996A1F /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_IDENTITY = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = CwlCatchException.xcodeproj/CwlCatchException_Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlCatchException-iOS"; - PRODUCT_NAME = CwlCatchException; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - C90FA20A1C42071A00996A1F /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_IDENTITY = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = CwlCatchException.xcodeproj/CwlCatchException_Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlCatchException-iOS"; - PRODUCT_NAME = CwlCatchException; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - C90FA20C1C42071A00996A1F /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - INFOPLIST_FILE = CwlCatchException.xcodeproj/CwlCatchExceptionTests_Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 9.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlCatchException-iOSTests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - }; - name = Debug; - }; - C90FA20D1C42071A00996A1F /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - INFOPLIST_FILE = CwlCatchException.xcodeproj/CwlCatchExceptionTests_Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 9.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlCatchException-iOSTests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - C90FA1A61C41E48100996A1F /* Build configuration list for PBXProject "CwlCatchException" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C90FA1BE1C41E48100996A1F /* Debug */, - C90FA1BF1C41E48100996A1F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C90FA1C01C41E48100996A1F /* Build configuration list for PBXNativeTarget "CwlCatchException_macOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C90FA1C11C41E48100996A1F /* Debug */, - C90FA1C21C41E48100996A1F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C90FA1C31C41E48100996A1F /* Build configuration list for PBXNativeTarget "CwlCatchException_macOSTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C90FA1C41C41E48100996A1F /* Debug */, - C90FA1C51C41E48100996A1F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C90FA2081C42071A00996A1F /* Build configuration list for PBXNativeTarget "CwlCatchException_iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C90FA2091C42071A00996A1F /* Debug */, - C90FA20A1C42071A00996A1F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C90FA20B1C42071A00996A1F /* Build configuration list for PBXNativeTarget "CwlCatchException_iOSTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C90FA20C1C42071A00996A1F /* Debug */, - C90FA20D1C42071A00996A1F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = C90FA1A31C41E48100996A1F /* Project object */; -} diff --git a/Carthage/Checkouts/CwlCatchException/CwlCatchException.xcodeproj/xcshareddata/xcschemes/CwlCatchException_iOS.xcscheme b/Carthage/Checkouts/CwlCatchException/CwlCatchException.xcodeproj/xcshareddata/xcschemes/CwlCatchException_iOS.xcscheme deleted file mode 100644 index 3b113cd53..000000000 --- a/Carthage/Checkouts/CwlCatchException/CwlCatchException.xcodeproj/xcshareddata/xcschemes/CwlCatchException_iOS.xcscheme +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Carthage/Checkouts/CwlCatchException/CwlCatchException.xcodeproj/xcshareddata/xcschemes/CwlCatchException_macOS.xcscheme b/Carthage/Checkouts/CwlCatchException/CwlCatchException.xcodeproj/xcshareddata/xcschemes/CwlCatchException_macOS.xcscheme deleted file mode 100644 index 9267ff4ef..000000000 --- a/Carthage/Checkouts/CwlCatchException/CwlCatchException.xcodeproj/xcshareddata/xcschemes/CwlCatchException_macOS.xcscheme +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Carthage/Checkouts/CwlCatchException/Tests/CwlCatchExceptionTests/CwlCatchExceptionTests.swift b/Carthage/Checkouts/CwlCatchException/Tests/CwlCatchExceptionTests/CwlCatchExceptionTests.swift deleted file mode 100644 index 8a098f5bd..000000000 --- a/Carthage/Checkouts/CwlCatchException/Tests/CwlCatchExceptionTests/CwlCatchExceptionTests.swift +++ /dev/null @@ -1,80 +0,0 @@ -// -// CwlCatchExceptionTests.swift -// CwlPreconditionTesting -// -// Created by Matt Gallagher on 11/2/16. -// Copyright © 2016 Matt Gallagher ( http://cocoawithlove.com ). All rights reserved. -// -// Permission to use, copy, modify, and/or distribute this software for any -// purpose with or without fee is hereby granted, provided that the above -// copyright notice and this permission notice appear in all copies. -// -// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY -// SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -// IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -// - -import XCTest -import CwlCatchException -#if SWIFT_PACKAGE -import CwlCatchExceptionSupport -#endif - -class TestException: NSException { - static var name: String = "com.cocoawithlove.TestException" - init() { - super.init(name: NSExceptionName(rawValue: TestException.name), reason: nil, userInfo: nil) - } - required public init?(coder aDecoder: NSCoder) { - super.init(coder: aDecoder) - } -} - -class CatchExceptionTests: XCTestCase { - func testCatchException() { - #if arch(x86_64) - // Test catching an assertion failure - var reachedPoint1 = false - var reachedPoint2 = false - let exception1: TestException? = TestException.catchException { - // Must invoke this block - reachedPoint1 = true - - // Exception raised - TestException().raise() - - // Exception must be thrown so that this point is never reached - reachedPoint2 = true - } - // We must get a valid BadInstructionException - XCTAssert(exception1 != nil) - XCTAssert(reachedPoint1) - XCTAssert(!reachedPoint2) - - // Test without catching an assertion failure - var reachedPoint3 = false - var reachedPoint4 = false - var reachedPoint5 = false - var exception3: TestException? = nil - let exception4: NSException? = NSException.catchException { - exception3 = TestException.catchException { - // Must invoke this block - reachedPoint3 = true - NSException(name: NSExceptionName.rangeException, reason: nil, userInfo: nil).raise() - reachedPoint4 = true - } - reachedPoint5 = true - } - // We must not get a BadInstructionException without an assertion - XCTAssert(exception4 != nil) - XCTAssert(exception3 == nil) - XCTAssert(reachedPoint3) - XCTAssert(!reachedPoint4) - XCTAssert(!reachedPoint5) - #endif - } -} diff --git a/Carthage/Checkouts/CwlPreconditionTesting/.gitignore b/Carthage/Checkouts/CwlPreconditionTesting/.gitignore deleted file mode 100644 index 2b93ab520..000000000 --- a/Carthage/Checkouts/CwlPreconditionTesting/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -.DS_Store -project.xcworkspace/ -xcuserdata/ -.build -Package.pins -Package.resolved diff --git a/Carthage/Checkouts/CwlPreconditionTesting/Cartfile b/Carthage/Checkouts/CwlPreconditionTesting/Cartfile deleted file mode 100644 index 1497cbe6d..000000000 --- a/Carthage/Checkouts/CwlPreconditionTesting/Cartfile +++ /dev/null @@ -1 +0,0 @@ -git "https://github.com/mattgallagher/CwlCatchException" "master" diff --git a/Carthage/Checkouts/CwlPreconditionTesting/Carthage/Checkouts/CwlCatchException b/Carthage/Checkouts/CwlPreconditionTesting/Carthage/Checkouts/CwlCatchException deleted file mode 120000 index b7f6aa1f8..000000000 --- a/Carthage/Checkouts/CwlPreconditionTesting/Carthage/Checkouts/CwlCatchException +++ /dev/null @@ -1 +0,0 @@ -../../../../../Carthage/Checkouts/CwlCatchException \ No newline at end of file diff --git a/Carthage/Checkouts/CwlPreconditionTesting/CwlPreconditionTesting.podspec b/Carthage/Checkouts/CwlPreconditionTesting/CwlPreconditionTesting.podspec deleted file mode 100644 index 6300ba32b..000000000 --- a/Carthage/Checkouts/CwlPreconditionTesting/CwlPreconditionTesting.podspec +++ /dev/null @@ -1,27 +0,0 @@ -Pod::Spec.new do |s| - s.name = "CwlPreconditionTesting" - s.version = "1.1.0" - - s.summary = "A small Swift framework for catching Mach BAD_INSTRUCTION exceptions." - s.description = <<-DESC - A Swift framework for catching Mach bad instruction exceptions as raised by Swift precondition failures, enabling testing of precondition and assertion logic. For details, see the article on [Cocoa with Love](https://cocoawithlove.com), [Partial functions in Swift, Part 2: Catching precondition failures](http://cocoawithlove.com/blog/2016/02/02/partial-functions-part-two-catching-precondition-failures.html) - DESC - s.homepage = "https://github.com/mattgallagher/CwlPreconditionTesting" - s.license = { :type => "ISC", :file => "LICENSE.txt" } - s.author = "Matt Gallagher" - - s.ios.deployment_target = "8.0" - s.osx.deployment_target = "10.9" - - s.dependency 'CwlCatchException' - - s.source = { :git => "https://github.com/mattgallagher/CwlPreconditionTesting.git", :tag => "#{s.version}" } - s.source_files = - "Sources/CwlPreconditionTesting/CwlBadInstructionException.swift", - "Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift", - "Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift", - "Sources/CwlPreconditionTesting/Mach/*.h", - "Sources/CwlMachBadInstructionHandler/CwlMachBadInstructionHandler.m", - "Sources/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h" - s.ios.source_files = "Sources/CwlMachBadInstructionHandler/mach_excServer.{c,h}" -end diff --git a/Carthage/Checkouts/CwlPreconditionTesting/CwlPreconditionTesting.xcodeproj/project.pbxproj b/Carthage/Checkouts/CwlPreconditionTesting/CwlPreconditionTesting.xcodeproj/project.pbxproj deleted file mode 100644 index c4ed8078e..000000000 --- a/Carthage/Checkouts/CwlPreconditionTesting/CwlPreconditionTesting.xcodeproj/project.pbxproj +++ /dev/null @@ -1,1453 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXAggregateTarget section */ - C945D7AA1E50333A009AFB8E /* FetchDependencies */ = { - isa = PBXAggregateTarget; - buildConfigurationList = C945D7AB1E50333A009AFB8E /* Build configuration list for PBXAggregateTarget "FetchDependencies" */; - buildPhases = ( - C945D7AE1E503344009AFB8E /* ShellScript */, - ); - dependencies = ( - ); - name = FetchDependencies; - productName = FetchDependencies; - }; -/* End PBXAggregateTarget section */ - -/* Begin PBXBuildFile section */ - 96ACCC611C6E8BFD00FE0B1B /* CwlPreconditionTesting.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 96ACCC591C6E8BBE00FE0B1B /* CwlPreconditionTesting.framework */; }; - C90F356A1C66296900F2FAF9 /* mach_exc.defs in Sources */ = {isa = PBXBuildFile; fileRef = C98707901C3F8952009B413A /* mach_exc.defs */; settings = {ATTRIBUTES = (Server, ); }; }; - C90FA24E1C42A3EE00996A1F /* CwlPreconditionTesting.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C98707761C3F886F009B413A /* CwlPreconditionTesting.framework */; }; - C92A97EB1C68A5B5008905C2 /* CwlPreconditionTesting_POSIX.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C92A97D91C68A4F3008905C2 /* CwlPreconditionTesting_POSIX.framework */; }; - C958F0F21E3F6977008BE8E0 /* CwlCatchBadInstructionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C958F0F11E3F6977008BE8E0 /* CwlCatchBadInstructionTests.swift */; }; - C958F0F31E3F6977008BE8E0 /* CwlCatchBadInstructionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C958F0F11E3F6977008BE8E0 /* CwlCatchBadInstructionTests.swift */; }; - C958F0F41E3F6977008BE8E0 /* CwlCatchBadInstructionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C958F0F11E3F6977008BE8E0 /* CwlCatchBadInstructionTests.swift */; }; - C958F0F51E3F6977008BE8E0 /* CwlCatchBadInstructionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C958F0F11E3F6977008BE8E0 /* CwlCatchBadInstructionTests.swift */; }; - C958F1061E3F698C008BE8E0 /* CwlMachBadInstructionHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = C958F0F91E3F698C008BE8E0 /* CwlMachBadInstructionHandler.m */; }; - C958F1071E3F698C008BE8E0 /* CwlMachBadInstructionHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = C958F0F91E3F698C008BE8E0 /* CwlMachBadInstructionHandler.m */; }; - C958F1081E3F698C008BE8E0 /* CwlMachBadInstructionHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = C958F0F91E3F698C008BE8E0 /* CwlMachBadInstructionHandler.m */; }; - C958F1091E3F698C008BE8E0 /* CwlMachBadInstructionHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = C958F0F91E3F698C008BE8E0 /* CwlMachBadInstructionHandler.m */; }; - C958F1131E3F698C008BE8E0 /* mach_excServer.c in Sources */ = {isa = PBXBuildFile; fileRef = C958F0FD1E3F698C008BE8E0 /* mach_excServer.c */; }; - C958F1161E3F698C008BE8E0 /* CwlBadInstructionException.swift in Sources */ = {isa = PBXBuildFile; fileRef = C958F0FF1E3F698C008BE8E0 /* CwlBadInstructionException.swift */; }; - C958F1171E3F698C008BE8E0 /* CwlBadInstructionException.swift in Sources */ = {isa = PBXBuildFile; fileRef = C958F0FF1E3F698C008BE8E0 /* CwlBadInstructionException.swift */; }; - C958F11A1E3F698C008BE8E0 /* CwlCatchBadInstruction.swift in Sources */ = {isa = PBXBuildFile; fileRef = C958F1001E3F698C008BE8E0 /* CwlCatchBadInstruction.swift */; }; - C958F11B1E3F698C008BE8E0 /* CwlCatchBadInstruction.swift in Sources */ = {isa = PBXBuildFile; fileRef = C958F1001E3F698C008BE8E0 /* CwlCatchBadInstruction.swift */; }; - C958F11E1E3F698C008BE8E0 /* CwlDarwinDefinitions.swift in Sources */ = {isa = PBXBuildFile; fileRef = C958F1011E3F698C008BE8E0 /* CwlDarwinDefinitions.swift */; }; - C958F11F1E3F698C008BE8E0 /* CwlDarwinDefinitions.swift in Sources */ = {isa = PBXBuildFile; fileRef = C958F1011E3F698C008BE8E0 /* CwlDarwinDefinitions.swift */; }; - C958F1401E3F6D91008BE8E0 /* CwlMachBadInstructionHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = C958F0FB1E3F698C008BE8E0 /* CwlMachBadInstructionHandler.h */; settings = {ATTRIBUTES = (Public, ); }; }; - C958F1421E3F6D91008BE8E0 /* CwlMachBadInstructionHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = C958F0FB1E3F698C008BE8E0 /* CwlMachBadInstructionHandler.h */; settings = {ATTRIBUTES = (Public, ); }; }; - C9604C8A1C40DD9A001A7517 /* CwlPreconditionTesting.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C9604C801C40DD9A001A7517 /* CwlPreconditionTesting.framework */; }; - C986B0961E724AF70032C9FA /* CwlPreconditionTesting_POSIX.h in Headers */ = {isa = PBXBuildFile; fileRef = C986B0931E724AE90032C9FA /* CwlPreconditionTesting_POSIX.h */; settings = {ATTRIBUTES = (Public, ); }; }; - C986B0971E724AF80032C9FA /* CwlPreconditionTesting_POSIX.h in Headers */ = {isa = PBXBuildFile; fileRef = C986B0931E724AE90032C9FA /* CwlPreconditionTesting_POSIX.h */; settings = {ATTRIBUTES = (Public, ); }; }; - C986B09E1E724C250032C9FA /* CwlPreconditionTesting.h in Headers */ = {isa = PBXBuildFile; fileRef = C986B09B1E724C250032C9FA /* CwlPreconditionTesting.h */; settings = {ATTRIBUTES = (Public, ); }; }; - C986B0A41E724DCC0032C9FA /* CwlPreconditionTesting.h in Headers */ = {isa = PBXBuildFile; fileRef = C986B09B1E724C250032C9FA /* CwlPreconditionTesting.h */; settings = {ATTRIBUTES = (Public, ); }; }; - C9BF467D1E4576090040A183 /* CwlCatchBadInstructionPosix.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9BF46761E4575E80040A183 /* CwlCatchBadInstructionPosix.swift */; }; - C9BF467E1E4576090040A183 /* CwlCatchBadInstructionPosix.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9BF46761E4575E80040A183 /* CwlCatchBadInstructionPosix.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 96ACCC621C6E8C0100FE0B1B /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C987076D1C3F886F009B413A /* Project object */; - proxyType = 1; - remoteGlobalIDString = 96ACCC581C6E8BBE00FE0B1B; - remoteInfo = CwlPreconditionTesting_tvOS; - }; - C92A97E91C68A5A7008905C2 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C987076D1C3F886F009B413A /* Project object */; - proxyType = 1; - remoteGlobalIDString = C92A97C81C68A4F3008905C2; - remoteInfo = CwlPreconditionTesting_POSIX; - }; - C93520641F0B7C550038F4E0 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C987076D1C3F886F009B413A /* Project object */; - proxyType = 1; - remoteGlobalIDString = C945D7AA1E50333A009AFB8E; - remoteInfo = FetchDependencies; - }; - C93520671F0B7CEB0038F4E0 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C987076D1C3F886F009B413A /* Project object */; - proxyType = 1; - remoteGlobalIDString = C945D7AA1E50333A009AFB8E; - remoteInfo = FetchDependencies; - }; - C935206A1F0B7DDC0038F4E0 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C987076D1C3F886F009B413A /* Project object */; - proxyType = 1; - remoteGlobalIDString = C935204E1F0B7C1F0038F4E0; - remoteInfo = CwlCatchException_macOS; - }; - C935206C1F0B7DE50038F4E0 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C987076D1C3F886F009B413A /* Project object */; - proxyType = 1; - remoteGlobalIDString = C935205B1F0B7C2F0038F4E0; - remoteInfo = CwlCatchException_iOS; - }; - C945D7B31E50338B009AFB8E /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C987076D1C3F886F009B413A /* Project object */; - proxyType = 1; - remoteGlobalIDString = C945D7AA1E50333A009AFB8E; - remoteInfo = FetchDependencies; - }; - C945D7B51E503393009AFB8E /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C987076D1C3F886F009B413A /* Project object */; - proxyType = 1; - remoteGlobalIDString = C945D7AA1E50333A009AFB8E; - remoteInfo = FetchDependencies; - }; - C9604C8B1C40DD9A001A7517 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C987076D1C3F886F009B413A /* Project object */; - proxyType = 1; - remoteGlobalIDString = C9604C7F1C40DD9A001A7517; - remoteInfo = CwlPreconditionTesting_iOS; - }; - C98707821C3F886F009B413A /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = C987076D1C3F886F009B413A /* Project object */; - proxyType = 1; - remoteGlobalIDString = C98707751C3F886F009B413A; - remoteInfo = CwlPreconditionTesting; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - C90FA2431C42A25800996A1F /* CopyFiles */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C90FA2461C42A28100996A1F /* CopyFiles */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C92A97E21C68A515008905C2 /* CopyFiles */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 96ACCC481C6E8A7C00FE0B1B /* CwlPreconditionTesting_tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CwlPreconditionTesting_tvOSTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 96ACCC591C6E8BBE00FE0B1B /* CwlPreconditionTesting.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CwlPreconditionTesting.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - C92A97D91C68A4F3008905C2 /* CwlPreconditionTesting_POSIX.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CwlPreconditionTesting_POSIX.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - C92A97E61C68A515008905C2 /* CwlPreconditionTesting_POSIXTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CwlPreconditionTesting_POSIXTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - C935204F1F0B7C1F0038F4E0 /* CwlCatchException.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CwlCatchException.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - C935205C1F0B7C2F0038F4E0 /* CwlCatchException.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CwlCatchException.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - C958F0EE1E3F6967008BE8E0 /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = ""; }; - C958F0F11E3F6977008BE8E0 /* CwlCatchBadInstructionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CwlCatchBadInstructionTests.swift; sourceTree = ""; }; - C958F0F91E3F698C008BE8E0 /* CwlMachBadInstructionHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CwlMachBadInstructionHandler.m; sourceTree = ""; }; - C958F0FB1E3F698C008BE8E0 /* CwlMachBadInstructionHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CwlMachBadInstructionHandler.h; sourceTree = ""; }; - C958F0FD1E3F698C008BE8E0 /* mach_excServer.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mach_excServer.c; sourceTree = ""; }; - C958F0FF1E3F698C008BE8E0 /* CwlBadInstructionException.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CwlBadInstructionException.swift; sourceTree = ""; }; - C958F1001E3F698C008BE8E0 /* CwlCatchBadInstruction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CwlCatchBadInstruction.swift; sourceTree = ""; }; - C958F1011E3F698C008BE8E0 /* CwlDarwinDefinitions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CwlDarwinDefinitions.swift; sourceTree = ""; }; - C9604C801C40DD9A001A7517 /* CwlPreconditionTesting.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CwlPreconditionTesting.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - C9604C891C40DD9A001A7517 /* CwlPreconditionTesting_iOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CwlPreconditionTesting_iOSTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - C986B0931E724AE90032C9FA /* CwlPreconditionTesting_POSIX.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CwlPreconditionTesting_POSIX.h; sourceTree = ""; }; - C986B09B1E724C250032C9FA /* CwlPreconditionTesting.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CwlPreconditionTesting.h; sourceTree = ""; }; - C986B0A21E724D760032C9FA /* mach_excServer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mach_excServer.h; sourceTree = ""; }; - C98707761C3F886F009B413A /* CwlPreconditionTesting.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CwlPreconditionTesting.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - C98707801C3F886F009B413A /* CwlPreconditionTesting_macOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CwlPreconditionTesting_macOSTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - C98707901C3F8952009B413A /* mach_exc.defs */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.mig; name = mach_exc.defs; path = usr/include/mach/mach_exc.defs; sourceTree = SDKROOT; }; - C9BF46761E4575E80040A183 /* CwlCatchBadInstructionPosix.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CwlCatchBadInstructionPosix.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 96ACCC451C6E8A7C00FE0B1B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 96ACCC611C6E8BFD00FE0B1B /* CwlPreconditionTesting.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 96ACCC551C6E8BBE00FE0B1B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C92A97D11C68A4F3008905C2 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C92A97E01C68A515008905C2 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C92A97EB1C68A5B5008905C2 /* CwlPreconditionTesting_POSIX.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C9604C7C1C40DD9A001A7517 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C9604C861C40DD9A001A7517 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C9604C8A1C40DD9A001A7517 /* CwlPreconditionTesting.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C98707721C3F886F009B413A /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C987077D1C3F886F009B413A /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C90FA24E1C42A3EE00996A1F /* CwlPreconditionTesting.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - C958F0EF1E3F6977008BE8E0 /* Tests */ = { - isa = PBXGroup; - children = ( - C958F0F01E3F6977008BE8E0 /* CwlPreconditionTestingTests */, - ); - path = Tests; - sourceTree = ""; - }; - C958F0F01E3F6977008BE8E0 /* CwlPreconditionTestingTests */ = { - isa = PBXGroup; - children = ( - C958F0F11E3F6977008BE8E0 /* CwlCatchBadInstructionTests.swift */, - ); - path = CwlPreconditionTestingTests; - sourceTree = ""; - }; - C958F0F61E3F698C008BE8E0 /* Sources */ = { - isa = PBXGroup; - children = ( - C958F0F81E3F698C008BE8E0 /* CwlMachBadInstructionHandler */, - C958F0FE1E3F698C008BE8E0 /* CwlPreconditionTesting */, - ); - path = Sources; - sourceTree = ""; - }; - C958F0F81E3F698C008BE8E0 /* CwlMachBadInstructionHandler */ = { - isa = PBXGroup; - children = ( - C958F0F91E3F698C008BE8E0 /* CwlMachBadInstructionHandler.m */, - C958F0FA1E3F698C008BE8E0 /* include */, - C958F0FD1E3F698C008BE8E0 /* mach_excServer.c */, - C986B0A21E724D760032C9FA /* mach_excServer.h */, - C98707901C3F8952009B413A /* mach_exc.defs */, - ); - path = CwlMachBadInstructionHandler; - sourceTree = ""; - }; - C958F0FA1E3F698C008BE8E0 /* include */ = { - isa = PBXGroup; - children = ( - C958F0FB1E3F698C008BE8E0 /* CwlMachBadInstructionHandler.h */, - ); - path = include; - sourceTree = ""; - }; - C958F0FE1E3F698C008BE8E0 /* CwlPreconditionTesting */ = { - isa = PBXGroup; - children = ( - C986B09A1E724C250032C9FA /* Mach */, - C986B0921E724AE90032C9FA /* Posix */, - C958F0FF1E3F698C008BE8E0 /* CwlBadInstructionException.swift */, - C958F1001E3F698C008BE8E0 /* CwlCatchBadInstruction.swift */, - C9BF46761E4575E80040A183 /* CwlCatchBadInstructionPosix.swift */, - C958F1011E3F698C008BE8E0 /* CwlDarwinDefinitions.swift */, - ); - path = CwlPreconditionTesting; - sourceTree = ""; - }; - C986B0921E724AE90032C9FA /* Posix */ = { - isa = PBXGroup; - children = ( - C986B0931E724AE90032C9FA /* CwlPreconditionTesting_POSIX.h */, - ); - path = Posix; - sourceTree = ""; - }; - C986B09A1E724C250032C9FA /* Mach */ = { - isa = PBXGroup; - children = ( - C986B09B1E724C250032C9FA /* CwlPreconditionTesting.h */, - ); - path = Mach; - sourceTree = ""; - }; - C987076C1C3F886F009B413A = { - isa = PBXGroup; - children = ( - C958F0EE1E3F6967008BE8E0 /* Package.swift */, - C958F0F61E3F698C008BE8E0 /* Sources */, - C958F0EF1E3F6977008BE8E0 /* Tests */, - C98707771C3F886F009B413A /* Products */, - ); - sourceTree = ""; - }; - C98707771C3F886F009B413A /* Products */ = { - isa = PBXGroup; - children = ( - C935204F1F0B7C1F0038F4E0 /* CwlCatchException.framework */, - C98707761C3F886F009B413A /* CwlPreconditionTesting.framework */, - C98707801C3F886F009B413A /* CwlPreconditionTesting_macOSTests.xctest */, - C935205C1F0B7C2F0038F4E0 /* CwlCatchException.framework */, - C9604C801C40DD9A001A7517 /* CwlPreconditionTesting.framework */, - C9604C891C40DD9A001A7517 /* CwlPreconditionTesting_iOSTests.xctest */, - C92A97D91C68A4F3008905C2 /* CwlPreconditionTesting_POSIX.framework */, - C92A97E61C68A515008905C2 /* CwlPreconditionTesting_POSIXTests.xctest */, - 96ACCC481C6E8A7C00FE0B1B /* CwlPreconditionTesting_tvOSTests.xctest */, - 96ACCC591C6E8BBE00FE0B1B /* CwlPreconditionTesting.framework */, - ); - name = Products; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 96ACCC561C6E8BBE00FE0B1B /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - C986B0961E724AF70032C9FA /* CwlPreconditionTesting_POSIX.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C92A97D21C68A4F3008905C2 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - C986B0971E724AF80032C9FA /* CwlPreconditionTesting_POSIX.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C958F13A1E3F6D0E008BE8E0 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - C986B09E1E724C250032C9FA /* CwlPreconditionTesting.h in Headers */, - C958F1421E3F6D91008BE8E0 /* CwlMachBadInstructionHandler.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C9604C7D1C40DD9A001A7517 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - C986B0A41E724DCC0032C9FA /* CwlPreconditionTesting.h in Headers */, - C958F1401E3F6D91008BE8E0 /* CwlMachBadInstructionHandler.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 96ACCC471C6E8A7C00FE0B1B /* CwlPreconditionTesting_tvOSTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 96ACCC4F1C6E8A7C00FE0B1B /* Build configuration list for PBXNativeTarget "CwlPreconditionTesting_tvOSTests" */; - buildPhases = ( - 96ACCC441C6E8A7C00FE0B1B /* Sources */, - 96ACCC451C6E8A7C00FE0B1B /* Frameworks */, - 96ACCC461C6E8A7C00FE0B1B /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 96ACCC631C6E8C0100FE0B1B /* PBXTargetDependency */, - ); - name = CwlPreconditionTesting_tvOSTests; - productName = CwlPreconditionTestingTVosTests; - productReference = 96ACCC481C6E8A7C00FE0B1B /* CwlPreconditionTesting_tvOSTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 96ACCC581C6E8BBE00FE0B1B /* CwlPreconditionTesting_tvOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 96ACCC5E1C6E8BBE00FE0B1B /* Build configuration list for PBXNativeTarget "CwlPreconditionTesting_tvOS" */; - buildPhases = ( - 96ACCC541C6E8BBE00FE0B1B /* Sources */, - 96ACCC551C6E8BBE00FE0B1B /* Frameworks */, - 96ACCC561C6E8BBE00FE0B1B /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - C945D7B61E503393009AFB8E /* PBXTargetDependency */, - ); - name = CwlPreconditionTesting_tvOS; - productName = tvframework; - productReference = 96ACCC591C6E8BBE00FE0B1B /* CwlPreconditionTesting.framework */; - productType = "com.apple.product-type.framework"; - }; - C92A97C81C68A4F3008905C2 /* CwlPreconditionTesting_POSIX */ = { - isa = PBXNativeTarget; - buildConfigurationList = C92A97D61C68A4F3008905C2 /* Build configuration list for PBXNativeTarget "CwlPreconditionTesting_POSIX" */; - buildPhases = ( - C92A97C91C68A4F3008905C2 /* Sources */, - C92A97D11C68A4F3008905C2 /* Frameworks */, - C92A97D21C68A4F3008905C2 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - C945D7B41E50338B009AFB8E /* PBXTargetDependency */, - ); - name = CwlPreconditionTesting_POSIX; - productName = CwlPreconditionTesting; - productReference = C92A97D91C68A4F3008905C2 /* CwlPreconditionTesting_POSIX.framework */; - productType = "com.apple.product-type.framework"; - }; - C92A97DB1C68A515008905C2 /* CwlPreconditionTesting_POSIXTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = C92A97E31C68A515008905C2 /* Build configuration list for PBXNativeTarget "CwlPreconditionTesting_POSIXTests" */; - buildPhases = ( - C92A97DE1C68A515008905C2 /* Sources */, - C92A97E01C68A515008905C2 /* Frameworks */, - C92A97E21C68A515008905C2 /* CopyFiles */, - ); - buildRules = ( - ); - dependencies = ( - C92A97EA1C68A5A7008905C2 /* PBXTargetDependency */, - ); - name = CwlPreconditionTesting_POSIXTests; - productName = CwlPreconditionTesting_OSXTests; - productReference = C92A97E61C68A515008905C2 /* CwlPreconditionTesting_POSIXTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - C935204E1F0B7C1F0038F4E0 /* CwlCatchException_macOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = C93520541F0B7C200038F4E0 /* Build configuration list for PBXNativeTarget "CwlCatchException_macOS" */; - buildPhases = ( - C93520691F0B7CFB0038F4E0 /* ShellScript */, - ); - buildRules = ( - ); - dependencies = ( - C93520681F0B7CEB0038F4E0 /* PBXTargetDependency */, - ); - name = CwlCatchException_macOS; - productName = CwlCatchException_macOS; - productReference = C935204F1F0B7C1F0038F4E0 /* CwlCatchException.framework */; - productType = "com.apple.product-type.framework"; - }; - C935205B1F0B7C2F0038F4E0 /* CwlCatchException_iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = C93520611F0B7C2F0038F4E0 /* Build configuration list for PBXNativeTarget "CwlCatchException_iOS" */; - buildPhases = ( - C93520661F0B7C890038F4E0 /* ShellScript */, - ); - buildRules = ( - ); - dependencies = ( - C93520651F0B7C550038F4E0 /* PBXTargetDependency */, - ); - name = CwlCatchException_iOS; - productName = CwlCatchException_iOS; - productReference = C935205C1F0B7C2F0038F4E0 /* CwlCatchException.framework */; - productType = "com.apple.product-type.framework"; - }; - C9604C7F1C40DD9A001A7517 /* CwlPreconditionTesting_iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = C9604C951C40DD9A001A7517 /* Build configuration list for PBXNativeTarget "CwlPreconditionTesting_iOS" */; - buildPhases = ( - C9604C7B1C40DD9A001A7517 /* Sources */, - C9604C7C1C40DD9A001A7517 /* Frameworks */, - C9604C7D1C40DD9A001A7517 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - C935206D1F0B7DE50038F4E0 /* PBXTargetDependency */, - ); - name = CwlPreconditionTesting_iOS; - productName = CwlPreconditionTesting_iOS; - productReference = C9604C801C40DD9A001A7517 /* CwlPreconditionTesting.framework */; - productType = "com.apple.product-type.framework"; - }; - C9604C881C40DD9A001A7517 /* CwlPreconditionTesting_iOSTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = C9604C961C40DD9A001A7517 /* Build configuration list for PBXNativeTarget "CwlPreconditionTesting_iOSTests" */; - buildPhases = ( - C9604C851C40DD9A001A7517 /* Sources */, - C9604C861C40DD9A001A7517 /* Frameworks */, - C90FA2461C42A28100996A1F /* CopyFiles */, - ); - buildRules = ( - ); - dependencies = ( - C9604C8C1C40DD9A001A7517 /* PBXTargetDependency */, - ); - name = CwlPreconditionTesting_iOSTests; - productName = CwlPreconditionTesting_iOSTests; - productReference = C9604C891C40DD9A001A7517 /* CwlPreconditionTesting_iOSTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - C98707751C3F886F009B413A /* CwlPreconditionTesting_macOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = C987078A1C3F886F009B413A /* Build configuration list for PBXNativeTarget "CwlPreconditionTesting_macOS" */; - buildPhases = ( - C98707711C3F886F009B413A /* Sources */, - C98707721C3F886F009B413A /* Frameworks */, - C958F13A1E3F6D0E008BE8E0 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - C935206B1F0B7DDC0038F4E0 /* PBXTargetDependency */, - ); - name = CwlPreconditionTesting_macOS; - productName = CwlPreconditionTesting; - productReference = C98707761C3F886F009B413A /* CwlPreconditionTesting.framework */; - productType = "com.apple.product-type.framework"; - }; - C987077F1C3F886F009B413A /* CwlPreconditionTesting_macOSTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = C987078D1C3F886F009B413A /* Build configuration list for PBXNativeTarget "CwlPreconditionTesting_macOSTests" */; - buildPhases = ( - C987077C1C3F886F009B413A /* Sources */, - C987077D1C3F886F009B413A /* Frameworks */, - C90FA2431C42A25800996A1F /* CopyFiles */, - ); - buildRules = ( - ); - dependencies = ( - C98707831C3F886F009B413A /* PBXTargetDependency */, - ); - name = CwlPreconditionTesting_macOSTests; - productName = CwlPreconditionTesting_OSXTests; - productReference = C98707801C3F886F009B413A /* CwlPreconditionTesting_macOSTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - C987076D1C3F886F009B413A /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0720; - LastUpgradeCheck = 0900; - ORGANIZATIONNAME = "Matt Gallagher ( http://cocoawithlove.com )"; - TargetAttributes = { - 96ACCC471C6E8A7C00FE0B1B = { - CreatedOnToolsVersion = 7.2.1; - }; - 96ACCC581C6E8BBE00FE0B1B = { - CreatedOnToolsVersion = 7.2.1; - }; - C935204E1F0B7C1F0038F4E0 = { - CreatedOnToolsVersion = 9.0; - DevelopmentTeam = S7YQ892G6G; - }; - C935205B1F0B7C2F0038F4E0 = { - CreatedOnToolsVersion = 9.0; - DevelopmentTeam = S7YQ892G6G; - }; - C945D7AA1E50333A009AFB8E = { - CreatedOnToolsVersion = 8.2.1; - DevelopmentTeam = S7YQ892G6G; - ProvisioningStyle = Automatic; - }; - C9604C7F1C40DD9A001A7517 = { - CreatedOnToolsVersion = 7.2; - LastSwiftMigration = 0910; - }; - C9604C881C40DD9A001A7517 = { - CreatedOnToolsVersion = 7.2; - LastSwiftMigration = 0910; - }; - C98707751C3F886F009B413A = { - CreatedOnToolsVersion = 7.2; - LastSwiftMigration = 0800; - }; - C987077F1C3F886F009B413A = { - CreatedOnToolsVersion = 7.2; - }; - }; - }; - buildConfigurationList = C98707701C3F886F009B413A /* Build configuration list for PBXProject "CwlPreconditionTesting" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = C987076C1C3F886F009B413A; - productRefGroup = C98707771C3F886F009B413A /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - C945D7AA1E50333A009AFB8E /* FetchDependencies */, - C935204E1F0B7C1F0038F4E0 /* CwlCatchException_macOS */, - C98707751C3F886F009B413A /* CwlPreconditionTesting_macOS */, - C987077F1C3F886F009B413A /* CwlPreconditionTesting_macOSTests */, - C935205B1F0B7C2F0038F4E0 /* CwlCatchException_iOS */, - C9604C7F1C40DD9A001A7517 /* CwlPreconditionTesting_iOS */, - C9604C881C40DD9A001A7517 /* CwlPreconditionTesting_iOSTests */, - C92A97C81C68A4F3008905C2 /* CwlPreconditionTesting_POSIX */, - C92A97DB1C68A515008905C2 /* CwlPreconditionTesting_POSIXTests */, - 96ACCC581C6E8BBE00FE0B1B /* CwlPreconditionTesting_tvOS */, - 96ACCC471C6E8A7C00FE0B1B /* CwlPreconditionTesting_tvOSTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 96ACCC461C6E8A7C00FE0B1B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - C93520661F0B7C890038F4E0 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "$(OBJROOT)/dependencies-state.json", - ); - outputPaths = ( - "$(BUILT_PRODUCTS_DIR)/CwlCatchException.framework/CwlCatchException", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "if [ \"$CARTHAGE\" == \"YES\" ]; then\n cp -R \"$SRCROOT/Carthage/Build/iOS/CwlCatchException.framework\" \"$BUILT_PRODUCTS_DIR/\"\n exit\nfi\n\"$DEVELOPER_BIN_DIR/xcodebuild\" -project \"$OBJROOT/cwl_symlinks/CwlCatchException/CwlCatchException.xcodeproj\" -target CwlCatchException_iOS -sdk \"$SDKROOT\" -configuration \"$CONFIGURATION\" $ACTION SRCROOT=\"$SRCROOT\" SYMROOT=\"$SYMROOT\" OBJROOT=\"$OBJROOT\" ARCHS=\"$ARCHS\" ONLY_ACTIVE_ARCH=\"$ONLY_ACTIVE_ARCH\" BITCODE_GENERATION_MODE=\"$BITCODE_GENERATION_MODE\" MODULE_CACHE_DIR=\"$MODULE_CACHE_DIR\" DSTROOT=\"$DSTROOT\" CACHE_ROOT=\"$CACHE_ROOT\""; - showEnvVarsInLog = 0; - }; - C93520691F0B7CFB0038F4E0 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "$(OBJROOT)/dependencies-state.json", - ); - outputPaths = ( - "$(BUILT_PRODUCTS_DIR)/CwlCatchException.framework/Versions/A/CwlCatchException", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "if [ \"$CARTHAGE\" == \"YES\" ]; then\n cp -R \"$SRCROOT/Carthage/Build/Mac/CwlCatchException.framework\" \"$BUILT_PRODUCTS_DIR/\"\n exit\nfi\n\"$DEVELOPER_BIN_DIR/xcodebuild\" -project \"$OBJROOT/cwl_symlinks/CwlCatchException/CwlCatchException.xcodeproj\" -target CwlCatchException_macOS -sdk \"$SDKROOT\" -configuration \"$CONFIGURATION\" $ACTION SRCROOT=\"$SRCROOT\" SYMROOT=\"$SYMROOT\" OBJROOT=\"$OBJROOT\" ARCHS=\"$ARCHS\" ONLY_ACTIVE_ARCH=\"$ONLY_ACTIVE_ARCH\" BITCODE_GENERATION_MODE=\"$BITCODE_GENERATION_MODE\" MODULE_CACHE_DIR=\"$MODULE_CACHE_DIR\" DSTROOT=\"$DSTROOT\" CACHE_ROOT=\"$CACHE_ROOT\""; - showEnvVarsInLog = 0; - }; - C945D7AE1E503344009AFB8E /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "$(SRCROOT)/Package.swift", - ); - outputPaths = ( - "$(OBJROOT)/dependencies-state.json", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = "/usr/bin/xcrun --sdk macosx swift"; - shellScript = "//\n// CwlPackageFetch.swift\n// CwlPackageFetch\n//\n// Created by Matt Gallagher on 2017/01/31.\n// Copyright © 2017 Matt Gallagher ( http://cocoawithlove.com ). All rights reserved.\n//\n// Permission to use, copy, modify, and/or distribute this software for any\n// purpose with or without fee is hereby granted, provided that the above\n// copyright notice and this permission notice appear in all copies.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY\n// SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR\n// IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n//\n\nimport Foundation\n\nextension FileHandle: TextOutputStream { public func write(_ string: String) { string.data(using: .utf8).map { write($0) } } }\nvar stdErrStream = FileHandle.standardError\n\nif let carthage = ProcessInfo.processInfo.environment[\"CARTHAGE\"], carthage == \"YES\" {\n print(\"Disabling swift package manager dependency management in favor of Carthage.\")\n exit(0)\n}\n\nguard let toolchainDir = ProcessInfo.processInfo.environment[\"TOOLCHAIN_DIR\"] else {\n print(\"error: variable TOOLCHAIN_DIR (the location of swift) must be set\", to: &stdErrStream)\n exit(1)\n}\nguard let srcRoot = ProcessInfo.processInfo.environment[\"SRCROOT\"].map({ URL(fileURLWithPath: $0) }) else {\n print(\"error: Environment variable SRCROOT (the root of the source tree) must be set\", to: &stdErrStream)\n exit(1)\n}\nguard let buildDir = ProcessInfo.processInfo.environment[\"OBJROOT\"] else {\n print(\"error: Environment variable OBJROOT (the build intermediates directory) must be set\", to: &stdErrStream)\n exit(1)\n}\n\n// Avoid downloading a further copy during an archive build.\nlet buildDirUrl = URL(fileURLWithPath: buildDir)\nlet nonArchiveBuildDir: String\nlet pathOffset: String\nif buildDirUrl.lastPathComponent == \"IntermediateBuildFilesPath\" && buildDirUrl.deletingLastPathComponent().deletingLastPathComponent().lastPathComponent == \"ArchiveIntermediates\" {\n nonArchiveBuildDir = buildDirUrl.deletingLastPathComponent().deletingLastPathComponent().deletingLastPathComponent().path\n pathOffset = \"../../../../\"\n} else {\n nonArchiveBuildDir = buildDir\n pathOffset = \"../\"\n}\n\n// Launch a process and run to completion, returning the standard out on success.\nfunc launch(_ command: String, _ arguments: [String], directory: URL? = nil) -> String? {\n let proc = Process()\n proc.launchPath = command\n proc.arguments = arguments\n _ = directory.map { proc.currentDirectoryPath = $0.path }\n let pipe = Pipe()\n proc.standardOutput = pipe\n proc.launch()\n let result = String(data: pipe.fileHandleForReading.readDataToEndOfFile(), encoding: .utf8) ?? \"\"\n proc.waitUntilExit()\n return proc.terminationStatus != 0 ? nil : result\n}\n\n// STEP 0: if the `Package.swift` file doesn't exist, create it.\n// For anything *except* a CwlViews project, you'll need to customize this before it is useful.\nlet packageURL = srcRoot.appendingPathComponent(\"Package.swift\")\nprint(\"### Testing existence of \\(packageURL.path)\")\nif !FileManager.default.fileExists(atPath: packageURL.path) {\n guard let projectName = ProcessInfo.processInfo.environment[\"PROJECT_NAME\"] else {\n print(\"error: If Package.swift not present, environment variable PROJECT_NAME must be set (will be used as the main target name)\", to: &stdErrStream)\n exit(1)\n }\n let defaultPackageManifest = \"// swift-tools-version:4.0\\nimport PackageDescription\\n\\nlet package = Package(\\n\\tname: \\\"\\(projectName)\\\",\\n\\tdependencies: [.package(url: \\\"https://github.com/mattgallagher/CwlViews.git\\\", from: \\\"0.1.0\\\")]\\n)\\n\"\n if let _ = try? defaultPackageManifest.write(to: packageURL, atomically: true, encoding: .utf8) {\n print(\"Wrote default Package.swift file to \\(packageURL.path)\")\n } else {\n print(\"error: Unable to write manifest file.\", to: &stdErrStream)\n exit(1)\n }\n}\n\n// STEP 1: use `swift package update` to get all dependencies\nprint(\"### Starting package resolve into \\(nonArchiveBuildDir)\")\n#if swift(>=4)\nlet verb = \"resolve\"\n#else\nlet verb = \"update\"\n#endif\nif let fetchResult = launch(toolchainDir + \"/usr/bin/swift\", [\"package\", \"--build-path\", \"\\(nonArchiveBuildDir)\", verb], directory: srcRoot) {\n if fetchResult == \"\" {\n print(\"### All dependencies up-to-date.\")\n } else {\n print(fetchResult, terminator: \"\")\n }\n} else {\n print(\"error: swift package resolve failed\", to: &stdErrStream)\n exit(1)\n}\n\n// STEP 1.5: ensure that \"dependencies-state.json\" exists when running under Swift 3\n#if swift(>=4)\n#else\nlet newPath = nonArchiveBuildDir + \"/dependencies-state.json\"\nlet oldPath = nonArchiveBuildDir + \"/workspace-state.json\"\nlet attributesNew = try? FileManager.default.attributesOfItem(atPath: newPath)\nlet attributesOld = try? FileManager.default.attributesOfItem(atPath: oldPath)\ndo {\n if let an = attributesNew, let ao = attributesOld, let anm = an[FileAttributeKey.modificationDate] as? Date, let aom = ao[FileAttributeKey.modificationDate] as? Date, aom > anm {\n try FileManager.default.removeItem(atPath: newPath)\n try FileManager.default.copyItem(atPath: oldPath, toPath: newPath)\n } else if attributesOld != nil && attributesNew == nil {\n try FileManager.default.copyItem(atPath: oldPath, toPath: newPath)\n }\n} catch {\n print(error, to: &stdErrStream)\n print(\"error: Unable to update dependencies-state.json\", to: &stdErrStream)\n exit(1)\n}\n#endif\n\n\n// Create a symlink only if it is not already present and pointing to the destination\nlet symlinksName = \"cwl_symlinks\"\nlet symlinksURL = URL(fileURLWithPath: buildDir).appendingPathComponent(symlinksName)\nfunc createSymlink(srcRoot: URL, name: String, destination: String) throws {\n let location = symlinksURL.appendingPathComponent(name)\n let link = URL(fileURLWithPath: \"\\(pathOffset)\\(destination)\", relativeTo: location)\n let current = try? FileManager.default.destinationOfSymbolicLink(atPath: location.path)\n if current == nil || current != link.relativePath {\n _ = try? FileManager.default.removeItem(at: location)\n try FileManager.default.createSymbolicLink(atPath: location.path, withDestinationPath:\n link.relativePath)\n print(\"Created symbolic link: \\(location.path) -> \\(link.relativePath)\")\n }\n}\n\n// Recursively parse the dependency graph JSON, creating symlinks in our own location\nfunc createSymlinks(srcRoot: URL, description: Dictionary, topLevelPath: String) throws {\n guard let dependencies = description[\"dependencies\"] as? [Dictionary] else { return }\n for dependency in dependencies {\n #if swift(>=4)\n guard let path = dependency[\"path\"] as? String, let relativePath = (path.range(of: topLevelPath)?.upperBound).map({ String(path[$0...]) }), let name = dependency[\"name\"] as? String else {\n throw NSError(domain: \"CwlError\", code: 0, userInfo: [NSLocalizedFailureReasonErrorKey: \"Unable to parse dependency structure\"])\n }\n #else\n guard let path = dependency[\"path\"] as? String, let relativePath = (path.range(of: topLevelPath)?.upperBound).map({ path[$0...] }), let name = dependency[\"name\"] as? String else {\n throw NSError(domain: \"CwlError\", code: 0, userInfo: [NSLocalizedFailureReasonErrorKey: \"Unable to parse dependency structure\"])\n }\n #endif\n try createSymlink(srcRoot: srcRoot, name: name, destination: relativePath)\n try createSymlinks(srcRoot: srcRoot, description: dependency, topLevelPath: topLevelPath)\n }\n}\n\n// STEP 2: create symlinks from our stable locations to the fetched locations\nguard let descriptionString = launch(toolchainDir + \"/usr/bin/swift\", [\"package\", \"--build-path\", \"\\(nonArchiveBuildDir)\", \"show-dependencies\", \"--format\", \"json\"], directory: srcRoot) else {\n print(\"error: swift package show-dependencies failed\", to: &stdErrStream)\n exit(1)\n}\ndo {\n // Note that despite asking for JSON formatting, there may be log information on STDOUT before the JSON starts.\n #if swift(>=4)\n guard let jsonStartIndex = descriptionString.index(of: \"{\"), let descriptionData = String(descriptionString[jsonStartIndex...]).data(using: .utf8), let description = try JSONSerialization.jsonObject(with: descriptionData, options: []) as? Dictionary else {\n throw NSError(domain: \"CwlError\", code: 0, userInfo: [NSLocalizedFailureReasonErrorKey: \"Unable to parse dependency structure\"])\n }\n #else\n guard let jsonStartIndex = descriptionString.index(of: \"{\"), let descriptionData = descriptionString[jsonStartIndex...].data(using: .utf8), let description = try JSONSerialization.jsonObject(with: descriptionData, options: []) as? Dictionary else {\n throw NSError(domain: \"CwlError\", code: 0, userInfo: [NSLocalizedFailureReasonErrorKey: \"Unable to parse dependency structure\"])\n }\n #endif\n try FileManager.default.createDirectory(at: symlinksURL, withIntermediateDirectories: true, attributes: nil)\n try createSymlinks(srcRoot: srcRoot, description: description, topLevelPath: nonArchiveBuildDir + \"/\")\n print(\"### Complete.\")\n} catch {\n print(\"error: symlink creation failed: \\(error)\", to: &stdErrStream)\n print(\"Package description was...\", to: &stdErrStream)\n print(descriptionString, to: &stdErrStream)\n exit(1)\n}\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 96ACCC441C6E8A7C00FE0B1B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C958F0F51E3F6977008BE8E0 /* CwlCatchBadInstructionTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 96ACCC541C6E8BBE00FE0B1B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C958F1091E3F698C008BE8E0 /* CwlMachBadInstructionHandler.m in Sources */, - C9BF467E1E4576090040A183 /* CwlCatchBadInstructionPosix.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C92A97C91C68A4F3008905C2 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C958F1081E3F698C008BE8E0 /* CwlMachBadInstructionHandler.m in Sources */, - C9BF467D1E4576090040A183 /* CwlCatchBadInstructionPosix.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C92A97DE1C68A515008905C2 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C958F0F41E3F6977008BE8E0 /* CwlCatchBadInstructionTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C9604C7B1C40DD9A001A7517 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C958F11B1E3F698C008BE8E0 /* CwlCatchBadInstruction.swift in Sources */, - C958F1071E3F698C008BE8E0 /* CwlMachBadInstructionHandler.m in Sources */, - C958F1131E3F698C008BE8E0 /* mach_excServer.c in Sources */, - C958F1171E3F698C008BE8E0 /* CwlBadInstructionException.swift in Sources */, - C958F11F1E3F698C008BE8E0 /* CwlDarwinDefinitions.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C9604C851C40DD9A001A7517 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C958F0F31E3F6977008BE8E0 /* CwlCatchBadInstructionTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C98707711C3F886F009B413A /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C958F11A1E3F698C008BE8E0 /* CwlCatchBadInstruction.swift in Sources */, - C90F356A1C66296900F2FAF9 /* mach_exc.defs in Sources */, - C958F1061E3F698C008BE8E0 /* CwlMachBadInstructionHandler.m in Sources */, - C958F1161E3F698C008BE8E0 /* CwlBadInstructionException.swift in Sources */, - C958F11E1E3F698C008BE8E0 /* CwlDarwinDefinitions.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - C987077C1C3F886F009B413A /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C958F0F21E3F6977008BE8E0 /* CwlCatchBadInstructionTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 96ACCC631C6E8C0100FE0B1B /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 96ACCC581C6E8BBE00FE0B1B /* CwlPreconditionTesting_tvOS */; - targetProxy = 96ACCC621C6E8C0100FE0B1B /* PBXContainerItemProxy */; - }; - C92A97EA1C68A5A7008905C2 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = C92A97C81C68A4F3008905C2 /* CwlPreconditionTesting_POSIX */; - targetProxy = C92A97E91C68A5A7008905C2 /* PBXContainerItemProxy */; - }; - C93520651F0B7C550038F4E0 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = C945D7AA1E50333A009AFB8E /* FetchDependencies */; - targetProxy = C93520641F0B7C550038F4E0 /* PBXContainerItemProxy */; - }; - C93520681F0B7CEB0038F4E0 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = C945D7AA1E50333A009AFB8E /* FetchDependencies */; - targetProxy = C93520671F0B7CEB0038F4E0 /* PBXContainerItemProxy */; - }; - C935206B1F0B7DDC0038F4E0 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = C935204E1F0B7C1F0038F4E0 /* CwlCatchException_macOS */; - targetProxy = C935206A1F0B7DDC0038F4E0 /* PBXContainerItemProxy */; - }; - C935206D1F0B7DE50038F4E0 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = C935205B1F0B7C2F0038F4E0 /* CwlCatchException_iOS */; - targetProxy = C935206C1F0B7DE50038F4E0 /* PBXContainerItemProxy */; - }; - C945D7B41E50338B009AFB8E /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = C945D7AA1E50333A009AFB8E /* FetchDependencies */; - targetProxy = C945D7B31E50338B009AFB8E /* PBXContainerItemProxy */; - }; - C945D7B61E503393009AFB8E /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = C945D7AA1E50333A009AFB8E /* FetchDependencies */; - targetProxy = C945D7B51E503393009AFB8E /* PBXContainerItemProxy */; - }; - C9604C8C1C40DD9A001A7517 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = C9604C7F1C40DD9A001A7517 /* CwlPreconditionTesting_iOS */; - targetProxy = C9604C8B1C40DD9A001A7517 /* PBXContainerItemProxy */; - }; - C98707831C3F886F009B413A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = C98707751C3F886F009B413A /* CwlPreconditionTesting_macOS */; - targetProxy = C98707821C3F886F009B413A /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 96ACCC4D1C6E8A7C00FE0B1B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - INFOPLIST_FILE = Tests/CwlPreconditionTestingTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlPreconditionTesting-tvOSTests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = appletvos; - TVOS_DEPLOYMENT_TARGET = 9.0; - }; - name = Debug; - }; - 96ACCC4E1C6E8A7C00FE0B1B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ENABLE_NS_ASSERTIONS = NO; - INFOPLIST_FILE = Tests/CwlPreconditionTestingTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlPreconditionTesting-tvOSTests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = appletvos; - TVOS_DEPLOYMENT_TARGET = 9.0; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 96ACCC5F1C6E8BBE00FE0B1B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/Sources/CwlPreconditionTesting/Posix", - "$(SRCROOT)/Sources/CwlMachBadInstructionHandler/include", - ); - INFOPLIST_FILE = Sources/CwlPreconditionTesting/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlPreconditionTesting-tvOS"; - PRODUCT_NAME = CwlPreconditionTesting; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.0; - }; - name = Debug; - }; - 96ACCC601C6E8BBE00FE0B1B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_NS_ASSERTIONS = NO; - HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/Sources/CwlPreconditionTesting/Posix", - "$(SRCROOT)/Sources/CwlMachBadInstructionHandler/include", - ); - INFOPLIST_FILE = Sources/CwlPreconditionTesting/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlPreconditionTesting-tvOS"; - PRODUCT_NAME = CwlPreconditionTesting; - SDKROOT = appletvos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 9.0; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - C92A97D71C68A4F3008905C2 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - COMBINE_HIDPI_IMAGES = YES; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/Sources/CwlPreconditionTesting/Posix", - "$(SRCROOT)/Sources/CwlMachBadInstructionHandler/include", - ); - INFOPLIST_FILE = Sources/CwlPreconditionTesting/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlPreconditionTesting-POSIX"; - PRODUCT_NAME = CwlPreconditionTesting_POSIX; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = USE_POSIX_SIGNALS; - }; - name = Debug; - }; - C92A97D81C68A4F3008905C2 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - COMBINE_HIDPI_IMAGES = YES; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/Sources/CwlPreconditionTesting/Posix", - "$(SRCROOT)/Sources/CwlMachBadInstructionHandler/include", - ); - INFOPLIST_FILE = Sources/CwlPreconditionTesting/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlPreconditionTesting-POSIX"; - PRODUCT_NAME = CwlPreconditionTesting_POSIX; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = USE_POSIX_SIGNALS; - }; - name = Release; - }; - C92A97E41C68A515008905C2 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Tests/CwlPreconditionTestingTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlPreconditionTesting-POSIXTests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = USE_POSIX_SIGNALS; - }; - name = Debug; - }; - C92A97E51C68A515008905C2 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Tests/CwlPreconditionTestingTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlPreconditionTesting-POSIXTests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = USE_POSIX_SIGNALS; - }; - name = Release; - }; - C93520551F0B7C200038F4E0 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_IDENTITY = ""; - COMBINE_HIDPI_IMAGES = YES; - DEVELOPMENT_TEAM = ""; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - GCC_C_LANGUAGE_STANDARD = gnu11; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlCatchException-macOS"; - PRODUCT_NAME = CwlCatchException; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - }; - name = Debug; - }; - C93520561F0B7C200038F4E0 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_IDENTITY = ""; - COMBINE_HIDPI_IMAGES = YES; - DEVELOPMENT_TEAM = ""; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_NS_ASSERTIONS = NO; - FRAMEWORK_VERSION = A; - GCC_C_LANGUAGE_STANDARD = gnu11; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlCatchException-macOS"; - PRODUCT_NAME = CwlCatchException; - SKIP_INSTALL = YES; - }; - name = Release; - }; - C93520621F0B7C2F0038F4E0 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_IDENTITY = ""; - DEVELOPMENT_TEAM = ""; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_C_LANGUAGE_STANDARD = gnu11; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlCatchException-iOS"; - PRODUCT_NAME = CwlCatchException; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - C93520631F0B7C2F0038F4E0 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_IDENTITY = ""; - DEVELOPMENT_TEAM = ""; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_NS_ASSERTIONS = NO; - GCC_C_LANGUAGE_STANDARD = gnu11; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlCatchException-iOS"; - PRODUCT_NAME = CwlCatchException; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - C945D7AC1E50333A009AFB8E /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - C945D7AD1E50333A009AFB8E /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; - C9604C911C40DD9A001A7517 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)"; - INFOPLIST_FILE = Sources/CwlPreconditionTesting/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlPreconditionTesting-iOS"; - PRODUCT_NAME = CwlPreconditionTesting; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - C9604C921C40DD9A001A7517 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = Sources/CwlPreconditionTesting/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlPreconditionTesting-iOS"; - PRODUCT_NAME = CwlPreconditionTesting; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - C9604C931C40DD9A001A7517 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - INFOPLIST_FILE = Tests/CwlPreconditionTestingTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlPreconditionTesting-iOSTests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - C9604C941C40DD9A001A7517 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - INFOPLIST_FILE = Tests/CwlPreconditionTestingTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlPreconditionTesting-iOSTests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - C98707881C3F886F009B413A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.9; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - SWIFT_INSTALL_OBJC_HEADER = NO; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - C98707891C3F886F009B413A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_SYMBOLS_PRIVATE_EXTERN = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.9; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_INSTALL_OBJC_HEADER = NO; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.0; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - C987078B1C3F886F009B413A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - COMBINE_HIDPI_IMAGES = YES; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(inherited)", - "PRODUCT_NAME=$(PRODUCT_NAME)", - ); - INFOPLIST_FILE = Sources/CwlPreconditionTesting/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlPreconditionTesting-macOS"; - PRODUCT_NAME = CwlPreconditionTesting; - SKIP_INSTALL = YES; - }; - name = Debug; - }; - C987078C1C3F886F009B413A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - COMBINE_HIDPI_IMAGES = YES; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(inherited)", - "PRODUCT_NAME=$(PRODUCT_NAME)", - ); - INFOPLIST_FILE = Sources/CwlPreconditionTesting/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlPreconditionTesting-macOS"; - PRODUCT_NAME = CwlPreconditionTesting; - SKIP_INSTALL = YES; - }; - name = Release; - }; - C987078E1C3F886F009B413A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Tests/CwlPreconditionTestingTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlPreconditionTesting-macOSTests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - C987078F1C3F886F009B413A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Tests/CwlPreconditionTestingTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.cocoawithlove.CwlPreconditionTesting-macOSTests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 96ACCC4F1C6E8A7C00FE0B1B /* Build configuration list for PBXNativeTarget "CwlPreconditionTesting_tvOSTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 96ACCC4D1C6E8A7C00FE0B1B /* Debug */, - 96ACCC4E1C6E8A7C00FE0B1B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 96ACCC5E1C6E8BBE00FE0B1B /* Build configuration list for PBXNativeTarget "CwlPreconditionTesting_tvOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 96ACCC5F1C6E8BBE00FE0B1B /* Debug */, - 96ACCC601C6E8BBE00FE0B1B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C92A97D61C68A4F3008905C2 /* Build configuration list for PBXNativeTarget "CwlPreconditionTesting_POSIX" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C92A97D71C68A4F3008905C2 /* Debug */, - C92A97D81C68A4F3008905C2 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C92A97E31C68A515008905C2 /* Build configuration list for PBXNativeTarget "CwlPreconditionTesting_POSIXTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C92A97E41C68A515008905C2 /* Debug */, - C92A97E51C68A515008905C2 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C93520541F0B7C200038F4E0 /* Build configuration list for PBXNativeTarget "CwlCatchException_macOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C93520551F0B7C200038F4E0 /* Debug */, - C93520561F0B7C200038F4E0 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C93520611F0B7C2F0038F4E0 /* Build configuration list for PBXNativeTarget "CwlCatchException_iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C93520621F0B7C2F0038F4E0 /* Debug */, - C93520631F0B7C2F0038F4E0 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C945D7AB1E50333A009AFB8E /* Build configuration list for PBXAggregateTarget "FetchDependencies" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C945D7AC1E50333A009AFB8E /* Debug */, - C945D7AD1E50333A009AFB8E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C9604C951C40DD9A001A7517 /* Build configuration list for PBXNativeTarget "CwlPreconditionTesting_iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C9604C911C40DD9A001A7517 /* Debug */, - C9604C921C40DD9A001A7517 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C9604C961C40DD9A001A7517 /* Build configuration list for PBXNativeTarget "CwlPreconditionTesting_iOSTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C9604C931C40DD9A001A7517 /* Debug */, - C9604C941C40DD9A001A7517 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C98707701C3F886F009B413A /* Build configuration list for PBXProject "CwlPreconditionTesting" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C98707881C3F886F009B413A /* Debug */, - C98707891C3F886F009B413A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C987078A1C3F886F009B413A /* Build configuration list for PBXNativeTarget "CwlPreconditionTesting_macOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C987078B1C3F886F009B413A /* Debug */, - C987078C1C3F886F009B413A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C987078D1C3F886F009B413A /* Build configuration list for PBXNativeTarget "CwlPreconditionTesting_macOSTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C987078E1C3F886F009B413A /* Debug */, - C987078F1C3F886F009B413A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = C987076D1C3F886F009B413A /* Project object */; -} diff --git a/Carthage/Checkouts/CwlPreconditionTesting/CwlPreconditionTesting.xcodeproj/xcshareddata/xcschemes/CwlPreconditionTesting_POSIX.xcscheme b/Carthage/Checkouts/CwlPreconditionTesting/CwlPreconditionTesting.xcodeproj/xcshareddata/xcschemes/CwlPreconditionTesting_POSIX.xcscheme deleted file mode 100644 index 910342fcd..000000000 --- a/Carthage/Checkouts/CwlPreconditionTesting/CwlPreconditionTesting.xcodeproj/xcshareddata/xcschemes/CwlPreconditionTesting_POSIX.xcscheme +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Carthage/Checkouts/CwlPreconditionTesting/CwlPreconditionTesting.xcodeproj/xcshareddata/xcschemes/CwlPreconditionTesting_iOS.xcscheme b/Carthage/Checkouts/CwlPreconditionTesting/CwlPreconditionTesting.xcodeproj/xcshareddata/xcschemes/CwlPreconditionTesting_iOS.xcscheme deleted file mode 100644 index da78455d3..000000000 --- a/Carthage/Checkouts/CwlPreconditionTesting/CwlPreconditionTesting.xcodeproj/xcshareddata/xcschemes/CwlPreconditionTesting_iOS.xcscheme +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Carthage/Checkouts/CwlPreconditionTesting/CwlPreconditionTesting.xcodeproj/xcshareddata/xcschemes/CwlPreconditionTesting_macOS.xcscheme b/Carthage/Checkouts/CwlPreconditionTesting/CwlPreconditionTesting.xcodeproj/xcshareddata/xcschemes/CwlPreconditionTesting_macOS.xcscheme deleted file mode 100644 index a5bf51c92..000000000 --- a/Carthage/Checkouts/CwlPreconditionTesting/CwlPreconditionTesting.xcodeproj/xcshareddata/xcschemes/CwlPreconditionTesting_macOS.xcscheme +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Carthage/Checkouts/CwlPreconditionTesting/CwlPreconditionTesting.xcodeproj/xcshareddata/xcschemes/CwlPreconditionTesting_tvOS.xcscheme b/Carthage/Checkouts/CwlPreconditionTesting/CwlPreconditionTesting.xcodeproj/xcshareddata/xcschemes/CwlPreconditionTesting_tvOS.xcscheme deleted file mode 100644 index 9bf3853b8..000000000 --- a/Carthage/Checkouts/CwlPreconditionTesting/CwlPreconditionTesting.xcodeproj/xcshareddata/xcschemes/CwlPreconditionTesting_tvOS.xcscheme +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/Info.plist b/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/Info.plist deleted file mode 100644 index 57ada9f9d..000000000 --- a/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/Info.plist +++ /dev/null @@ -1,25 +0,0 @@ - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - NSPrincipalClass - - - diff --git a/Carthage/Checkouts/CwlPreconditionTesting/Tests/CwlPreconditionTestingTests/CwlCatchBadInstructionTests.swift b/Carthage/Checkouts/CwlPreconditionTesting/Tests/CwlPreconditionTestingTests/CwlCatchBadInstructionTests.swift deleted file mode 100644 index f439c7079..000000000 --- a/Carthage/Checkouts/CwlPreconditionTesting/Tests/CwlPreconditionTestingTests/CwlCatchBadInstructionTests.swift +++ /dev/null @@ -1,66 +0,0 @@ -// -// CwlCatchBadInstructionTests.swift -// CwlPreconditionTesting -// -// Created by Matt Gallagher on 2016/01/10. -// Copyright © 2016 Matt Gallagher ( http://cocoawithlove.com ). All rights reserved. -// -// Permission to use, copy, modify, and/or distribute this software for any -// purpose with or without fee is hereby granted, provided that the above -// copyright notice and this permission notice appear in all copies. -// -// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY -// SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -// IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -// - -import Foundation -import XCTest - -#if USE_POSIX_SIGNALS - import CwlPreconditionTesting_POSIX -#else - import CwlPreconditionTesting -#endif - -class CatchBadInstructionTests: XCTestCase { - func testCatchBadInstruction() { - #if arch(x86_64) - #if USE_POSIX_SIGNALS - print("Running POSIX version of catchBadInstruction") - #endif - - // Test catching an assertion failure - var reachedPoint1 = false - var reachedPoint2 = false - let exception1: BadInstructionException? = catchBadInstruction { - // Must invoke this block - reachedPoint1 = true - - // Fatal error raised - precondition(false, "THIS PRECONDITION FAILURE IS EXPECTED") - - // Exception must be thrown so that this point is never reached - reachedPoint2 = true - } - // We must get a valid BadInstructionException - XCTAssert(exception1 != nil) - XCTAssert(reachedPoint1) - XCTAssert(!reachedPoint2) - - // Test without catching an assertion failure - var reachedPoint3 = false - let exception2: BadInstructionException? = catchBadInstruction { - // Must invoke this block - reachedPoint3 = true - } - // We must not get a BadInstructionException without an assertion - XCTAssert(reachedPoint3) - XCTAssert(exception2 == nil) - #endif - } -} diff --git a/Carthage/Checkouts/CwlPreconditionTesting/Tests/CwlPreconditionTestingTests/Info.plist b/Carthage/Checkouts/CwlPreconditionTesting/Tests/CwlPreconditionTestingTests/Info.plist deleted file mode 100644 index 7c23420d0..000000000 --- a/Carthage/Checkouts/CwlPreconditionTesting/Tests/CwlPreconditionTestingTests/Info.plist +++ /dev/null @@ -1,25 +0,0 @@ - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - NSPrincipalClass - - - diff --git a/Nimble.xcodeproj/project.pbxproj b/Nimble.xcodeproj/project.pbxproj index e8b3aa172..20e01696d 100644 --- a/Nimble.xcodeproj/project.pbxproj +++ b/Nimble.xcodeproj/project.pbxproj @@ -602,7 +602,6 @@ CDFB6A2B1F7E082400AD8CC7 /* CwlCatchBadInstruction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CwlCatchBadInstruction.swift; sourceTree = ""; }; CDFB6A2C1F7E082400AD8CC7 /* CwlCatchBadInstructionPosix.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CwlCatchBadInstructionPosix.swift; sourceTree = ""; }; CDFB6A2D1F7E082400AD8CC7 /* CwlDarwinDefinitions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CwlDarwinDefinitions.swift; sourceTree = ""; }; - CDFB6A2E1F7E082400AD8CC7 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; CDFB6A301F7E082400AD8CC7 /* CwlPreconditionTesting.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CwlPreconditionTesting.h; sourceTree = ""; }; CDFB6A321F7E082400AD8CC7 /* CwlPreconditionTesting_POSIX.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CwlPreconditionTesting_POSIX.h; sourceTree = ""; }; CDFB6A341F7E082400AD8CC7 /* CwlMachBadInstructionHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CwlMachBadInstructionHandler.m; sourceTree = ""; }; @@ -972,7 +971,6 @@ CDFB6A2B1F7E082400AD8CC7 /* CwlCatchBadInstruction.swift */, CDFB6A2C1F7E082400AD8CC7 /* CwlCatchBadInstructionPosix.swift */, CDFB6A2D1F7E082400AD8CC7 /* CwlDarwinDefinitions.swift */, - CDFB6A2E1F7E082400AD8CC7 /* Info.plist */, CDFB6A2F1F7E082400AD8CC7 /* Mach */, CDFB6A311F7E082400AD8CC7 /* Posix */, ); diff --git a/Nimble.xcodeproj/project.xcworkspace/xcshareddata/Nimble.xccheckout b/Nimble.xcodeproj/project.xcworkspace/xcshareddata/Nimble.xccheckout deleted file mode 100644 index 31f7f09b8..000000000 --- a/Nimble.xcodeproj/project.xcworkspace/xcshareddata/Nimble.xccheckout +++ /dev/null @@ -1,41 +0,0 @@ - - - - - IDESourceControlProjectFavoriteDictionaryKey - - IDESourceControlProjectIdentifier - 3C7A95C5-450E-4971-8DC4-2613B2BA4376 - IDESourceControlProjectName - Nimble - IDESourceControlProjectOriginsDictionary - - 95438028B10BBB846574013D29F154A00556A9D1 - github.com:Quick/Nimble - - IDESourceControlProjectPath - Nimble.xcodeproj - IDESourceControlProjectRelativeInstallPathDictionary - - 95438028B10BBB846574013D29F154A00556A9D1 - ../.. - - IDESourceControlProjectURL - github.com:Quick/Nimble - IDESourceControlProjectVersion - 111 - IDESourceControlProjectWCCIdentifier - 95438028B10BBB846574013D29F154A00556A9D1 - IDESourceControlProjectWCConfigurations - - - IDESourceControlRepositoryExtensionIdentifierKey - public.vcs.git - IDESourceControlWCCIdentifierKey - 95438028B10BBB846574013D29F154A00556A9D1 - IDESourceControlWCCName - Nimble - - - -