From 98420460d90a72cf23d74429772268c23938821d Mon Sep 17 00:00:00 2001 From: vvveiii Date: Fri, 14 Aug 2020 19:49:16 +0800 Subject: [PATCH] [YogaKit] add unit tests to YogaKit.xcodeproj --- YogaKit/Tests/Info.plist | 12 +- YogaKit/Tests/dummy.swift | 2 + YogaKit/YogaKit.xcodeproj/project.pbxproj | 155 ++++++++++++++- .../YogaKitSample.xcodeproj/project.pbxproj | 180 ------------------ .../YogaKitSampleTests/dummy.swift | 1 - 5 files changed, 160 insertions(+), 190 deletions(-) create mode 100644 YogaKit/Tests/dummy.swift delete mode 100644 YogaKit/YogaKitSample/YogaKitSampleTests/dummy.swift diff --git a/YogaKit/Tests/Info.plist b/YogaKit/Tests/Info.plist index c317ef52..64d65ca4 100644 --- a/YogaKit/Tests/Info.plist +++ b/YogaKit/Tests/Info.plist @@ -3,19 +3,19 @@ CFBundleDevelopmentRegion - en + $(DEVELOPMENT_LANGUAGE) CFBundleExecutable - ${EXECUTABLE_NAME} + $(EXECUTABLE_NAME) CFBundleIdentifier - com.facebook.${PRODUCT_NAME:rfc1034identifier} + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 + CFBundleName + $(PRODUCT_NAME) CFBundlePackageType - BNDL + $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString 1.0 - CFBundleSignature - ???? CFBundleVersion 1 diff --git a/YogaKit/Tests/dummy.swift b/YogaKit/Tests/dummy.swift new file mode 100644 index 00000000..3fcf602f --- /dev/null +++ b/YogaKit/Tests/dummy.swift @@ -0,0 +1,2 @@ +class YogaKitTestsDummy { +} diff --git a/YogaKit/YogaKit.xcodeproj/project.pbxproj b/YogaKit/YogaKit.xcodeproj/project.pbxproj index ba079022..f9825805 100644 --- a/YogaKit/YogaKit.xcodeproj/project.pbxproj +++ b/YogaKit/YogaKit.xcodeproj/project.pbxproj @@ -3,12 +3,17 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 52; objects = { /* Begin PBXBuildFile section */ + 153B526524E6AD8D008156D3 /* YogaKitTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 153B526324E6AD8D008156D3 /* YogaKitTests.m */; }; + 153B526B24E6ADFA008156D3 /* Yoga.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15865FFE24E58BD800345BD7 /* Yoga.framework */; platformFilter = ios; }; + 153B526C24E6ADFA008156D3 /* YogaKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15865F5424E5834E00345BD7 /* YogaKit.framework */; platformFilter = ios; }; + 153B526E24E6AECF008156D3 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 153B526D24E6AECF008156D3 /* libc++.tbd */; platformFilter = ios; }; 153D326F24E654A300EDDBEA /* Yoga-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 153D326E24E6549A00EDDBEA /* Yoga-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 153D327124E654EF00EDDBEA /* YGLayoutExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 153D327024E654EF00EDDBEA /* YGLayoutExtensions.swift */; }; + 154A6EF524E6B1260091264C /* dummy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 154A6EF424E6B1260091264C /* dummy.swift */; }; 15865F6624E583F000345BD7 /* YGLayout.h in Headers */ = {isa = PBXBuildFile; fileRef = 15865F5F24E583F000345BD7 /* YGLayout.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15865F6724E583F000345BD7 /* UIView+Yoga.h in Headers */ = {isa = PBXBuildFile; fileRef = 15865F6024E583F000345BD7 /* UIView+Yoga.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15865F6824E583F000345BD7 /* YGLayout+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 15865F6124E583F000345BD7 /* YGLayout+Private.h */; settings = {ATTRIBUTES = (Private, ); }; }; @@ -49,6 +54,20 @@ /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ + 153B526724E6ADF4008156D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15865F4B24E5834E00345BD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 15865FFD24E58BD800345BD7; + remoteInfo = Yoga; + }; + 153B526924E6ADF4008156D3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 15865F4B24E5834E00345BD7 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 15865F5324E5834E00345BD7; + remoteInfo = YogaKit; + }; 1586600624E58C0900345BD7 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 15865F4B24E5834E00345BD7 /* Project object */; @@ -59,9 +78,14 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 153B525B24E6AD6B008156D3 /* YogaKitTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = YogaKitTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 153B526324E6AD8D008156D3 /* YogaKitTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = YogaKitTests.m; path = Tests/YogaKitTests.m; sourceTree = SOURCE_ROOT; }; + 153B526424E6AD8D008156D3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; name = Info.plist; path = Tests/Info.plist; sourceTree = SOURCE_ROOT; }; + 153B526D24E6AECF008156D3 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; }; 153D326D24E6549A00EDDBEA /* Yoga.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = Yoga.modulemap; sourceTree = ""; }; 153D326E24E6549A00EDDBEA /* Yoga-umbrella.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Yoga-umbrella.h"; sourceTree = ""; }; 153D327024E654EF00EDDBEA /* YGLayoutExtensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YGLayoutExtensions.swift; sourceTree = ""; }; + 154A6EF424E6B1260091264C /* dummy.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = dummy.swift; path = Tests/dummy.swift; sourceTree = SOURCE_ROOT; }; 15865F5424E5834E00345BD7 /* YogaKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = YogaKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 15865F5F24E583F000345BD7 /* YGLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YGLayout.h; sourceTree = ""; }; 15865F6024E583F000345BD7 /* UIView+Yoga.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIView+Yoga.h"; sourceTree = ""; }; @@ -103,6 +127,16 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 153B525824E6AD6B008156D3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 153B526E24E6AECF008156D3 /* libc++.tbd in Frameworks */, + 153B526B24E6ADFA008156D3 /* Yoga.framework in Frameworks */, + 153B526C24E6ADFA008156D3 /* YogaKit.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 15865F5124E5834E00345BD7 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -121,6 +155,16 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 153B525C24E6AD6B008156D3 /* YogaKitTests */ = { + isa = PBXGroup; + children = ( + 153B526424E6AD8D008156D3 /* Info.plist */, + 153B526324E6AD8D008156D3 /* YogaKitTests.m */, + 154A6EF424E6B1260091264C /* dummy.swift */, + ); + path = YogaKitTests; + sourceTree = ""; + }; 153D326C24E6545A00EDDBEA /* Supporting Files */ = { isa = PBXGroup; children = ( @@ -136,6 +180,7 @@ 15865F5624E5834E00345BD7 /* YogaKit */, 15865FFF24E58BD800345BD7 /* Yoga */, 153D326C24E6545A00EDDBEA /* Supporting Files */, + 153B525C24E6AD6B008156D3 /* YogaKitTests */, 15865F5524E5834E00345BD7 /* Products */, 15865FB824E584FF00345BD7 /* Frameworks */, ); @@ -146,6 +191,7 @@ children = ( 15865F5424E5834E00345BD7 /* YogaKit.framework */, 15865FFE24E58BD800345BD7 /* Yoga.framework */, + 153B525B24E6AD6B008156D3 /* YogaKitTests.xctest */, ); name = Products; sourceTree = ""; @@ -168,6 +214,7 @@ 15865FB824E584FF00345BD7 /* Frameworks */ = { isa = PBXGroup; children = ( + 153B526D24E6AECF008156D3 /* libc++.tbd */, ); name = Frameworks; sourceTree = ""; @@ -269,6 +316,25 @@ /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ + 153B525A24E6AD6B008156D3 /* YogaKitTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 153B526024E6AD6B008156D3 /* Build configuration list for PBXNativeTarget "YogaKitTests" */; + buildPhases = ( + 153B525724E6AD6B008156D3 /* Sources */, + 153B525824E6AD6B008156D3 /* Frameworks */, + 153B525924E6AD6B008156D3 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 153B526824E6ADF4008156D3 /* PBXTargetDependency */, + 153B526A24E6ADF4008156D3 /* PBXTargetDependency */, + ); + name = YogaKitTests; + productName = YogaKitTests; + productReference = 153B525B24E6AD6B008156D3 /* YogaKitTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; 15865F5324E5834E00345BD7 /* YogaKit */ = { isa = PBXNativeTarget; buildConfigurationList = 15865F5C24E5834E00345BD7 /* Build configuration list for PBXNativeTarget "YogaKit" */; @@ -315,6 +381,10 @@ LastUpgradeCheck = 1160; ORGANIZATIONNAME = facebook; TargetAttributes = { + 153B525A24E6AD6B008156D3 = { + CreatedOnToolsVersion = 11.6; + LastSwiftMigration = 1160; + }; 15865F5324E5834E00345BD7 = { CreatedOnToolsVersion = 11.6; LastSwiftMigration = 1160; @@ -339,11 +409,19 @@ targets = ( 15865F5324E5834E00345BD7 /* YogaKit */, 15865FFD24E58BD800345BD7 /* Yoga */, + 153B525A24E6AD6B008156D3 /* YogaKitTests */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ + 153B525924E6AD6B008156D3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 15865F5224E5834E00345BD7 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -361,6 +439,15 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + 153B525724E6AD6B008156D3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 154A6EF524E6B1260091264C /* dummy.swift in Sources */, + 153B526524E6AD8D008156D3 /* YogaKitTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 15865F5024E5834E00345BD7 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -393,6 +480,18 @@ /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ + 153B526824E6ADF4008156D3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + platformFilter = ios; + target = 15865FFD24E58BD800345BD7 /* Yoga */; + targetProxy = 153B526724E6ADF4008156D3 /* PBXContainerItemProxy */; + }; + 153B526A24E6ADF4008156D3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + platformFilter = ios; + target = 15865F5324E5834E00345BD7 /* YogaKit */; + targetProxy = 153B526924E6ADF4008156D3 /* PBXContainerItemProxy */; + }; 1586600724E58C0900345BD7 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 15865FFD24E58BD800345BD7 /* Yoga */; @@ -401,6 +500,47 @@ /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ + 153B526124E6AD6B008156D3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = "${SRCROOT}/Tests/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_BUNDLE_IDENTIFIER = com.facebook.YogaKitTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 153B526224E6AD6B008156D3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = "${SRCROOT}/Tests/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_BUNDLE_IDENTIFIER = com.facebook.YogaKitTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; 15865F5A24E5834E00345BD7 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -476,6 +616,7 @@ ONLY_ACTIVE_ARCH = YES; SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx appletvsimulator appletvos"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2,3,6"; TVOS_DEPLOYMENT_TARGET = 9.0; VALID_ARCHS = "i386 x86_64 arm64 armv7 arm64e armv7s"; @@ -545,6 +686,7 @@ MTL_FAST_MATH = YES; SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx appletvsimulator appletvos"; SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2,3,6"; TVOS_DEPLOYMENT_TARGET = 9.0; VALIDATE_PRODUCT = YES; @@ -575,7 +717,6 @@ PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; }; name = Debug; }; @@ -598,7 +739,6 @@ PRODUCT_BUNDLE_IDENTIFIER = com.facebook.YogaKit; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; - SWIFT_VERSION = 5.0; }; name = Release; }; @@ -649,6 +789,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 153B526024E6AD6B008156D3 /* Build configuration list for PBXNativeTarget "YogaKitTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 153B526124E6AD6B008156D3 /* Debug */, + 153B526224E6AD6B008156D3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 15865F4E24E5834E00345BD7 /* Build configuration list for PBXProject "YogaKit" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/YogaKit/YogaKitSample/YogaKitSample.xcodeproj/project.pbxproj b/YogaKit/YogaKitSample/YogaKitSample.xcodeproj/project.pbxproj index bf117fa3..b379ab01 100644 --- a/YogaKit/YogaKitSample/YogaKitSample.xcodeproj/project.pbxproj +++ b/YogaKit/YogaKitSample/YogaKitSample.xcodeproj/project.pbxproj @@ -10,8 +10,6 @@ 13687D531DF8748400E7C260 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13687D521DF8748400E7C260 /* Assets.xcassets */; }; 13687D851DF87D1E00E7C260 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 13687D841DF87D1E00E7C260 /* UIKit.framework */; }; 13687D871DF87D2400E7C260 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 13687D861DF87D2400E7C260 /* Foundation.framework */; }; - 151960FA24E5314C00F7BF06 /* YogaKitTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 151960F924E5314C00F7BF06 /* YogaKitTests.m */; }; - 151960FC24E532B700F7BF06 /* dummy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 151960FB24E532B700F7BF06 /* dummy.swift */; }; 15865F3524E56F7800345BD7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 15865F3424E56F7800345BD7 /* AppDelegate.m */; }; 15865F3824E56F7800345BD7 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 15865F3724E56F7800345BD7 /* ViewController.m */; }; 15865F3A24E56F7800345BD7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 15865F3924E56F7800345BD7 /* Assets.xcassets */; }; @@ -29,7 +27,6 @@ 15E1C34A24E568420086A4E6 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 15E1C34924E568420086A4E6 /* main.m */; }; 15E1C34F24E56A8A0086A4E6 /* dummy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 15E1C34E24E56A8A0086A4E6 /* dummy.swift */; }; 15E1C35124E56AB60086A4E6 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 15E1C35024E56AB60086A4E6 /* libc++.tbd */; }; - 1D885DC3D17809A4C3E245F3 /* Pods_YogaKitSampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BB0C63590A97352D30E310E /* Pods_YogaKitSampleTests.framework */; }; 40BD9F461E477A09002790A9 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40BD9F451E477A09002790A9 /* AppDelegate.swift */; }; 40BD9F4B1E47850C002790A9 /* BasicViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40BD9F4A1E47850C002790A9 /* BasicViewController.swift */; }; 40BD9F501E479079002790A9 /* SingleLabelCollectionCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40BD9F4F1E479079002790A9 /* SingleLabelCollectionCell.swift */; }; @@ -38,16 +35,6 @@ FF76EAD6A7089159C35EED45 /* Pods_YogaKitTVSample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8925233409AB43504C102C31 /* Pods_YogaKitTVSample.framework */; }; /* End PBXBuildFile section */ -/* Begin PBXContainerItemProxy section */ - 151960F424E530E700F7BF06 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 13687D3B1DF8748300E7C260 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 13687D421DF8748300E7C260; - remoteInfo = YogaKitSample; - }; -/* End PBXContainerItemProxy section */ - /* Begin PBXCopyFilesBuildPhase section */ 13687D771DF878A000E7C260 /* yoga */ = { isa = PBXCopyFilesBuildPhase; @@ -78,9 +65,6 @@ 13687D571DF8748400E7C260 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 13687D841DF87D1E00E7C260 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 13687D861DF87D2400E7C260 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; - 151960EF24E530E700F7BF06 /* YogaKitSampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = YogaKitSampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 151960F924E5314C00F7BF06 /* YogaKitTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = YogaKitTests.m; path = ../../Tests/YogaKitTests.m; sourceTree = ""; }; - 151960FB24E532B700F7BF06 /* dummy.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = dummy.swift; sourceTree = ""; }; 15865F3124E56F7800345BD7 /* YogaKitOSXSample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = YogaKitOSXSample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 15865F3324E56F7800345BD7 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 15865F3424E56F7800345BD7 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; @@ -135,14 +119,6 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 151960EC24E530E700F7BF06 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 1D885DC3D17809A4C3E245F3 /* Pods_YogaKitSampleTests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; 15865F2E24E56F7800345BD7 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -168,7 +144,6 @@ isa = PBXGroup; children = ( 13687D451DF8748400E7C260 /* YogaKitSample */, - 151960F024E530E700F7BF06 /* YogaKitSampleTests */, 15E1C33924E568410086A4E6 /* YogaKitTVSample */, 15865F3224E56F7800345BD7 /* YogaKitOSXSample */, 13687D441DF8748400E7C260 /* Products */, @@ -181,7 +156,6 @@ isa = PBXGroup; children = ( 13687D431DF8748400E7C260 /* YogaKitSample.app */, - 151960EF24E530E700F7BF06 /* YogaKitSampleTests.xctest */, 15E1C33824E568410086A4E6 /* YogaKitTVSample.app */, 15865F3124E56F7800345BD7 /* YogaKitOSXSample.app */, ); @@ -217,15 +191,6 @@ name = Frameworks; sourceTree = ""; }; - 151960F024E530E700F7BF06 /* YogaKitSampleTests */ = { - isa = PBXGroup; - children = ( - 151960F924E5314C00F7BF06 /* YogaKitTests.m */, - 151960FB24E532B700F7BF06 /* dummy.swift */, - ); - path = YogaKitSampleTests; - sourceTree = ""; - }; 15865F3224E56F7800345BD7 /* YogaKitOSXSample */ = { isa = PBXGroup; children = ( @@ -316,25 +281,6 @@ productReference = 13687D431DF8748400E7C260 /* YogaKitSample.app */; productType = "com.apple.product-type.application"; }; - 151960EE24E530E700F7BF06 /* YogaKitSampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 151960F624E530E700F7BF06 /* Build configuration list for PBXNativeTarget "YogaKitSampleTests" */; - buildPhases = ( - 6762F7581996BBCD3BC8BC43 /* [CP] Check Pods Manifest.lock */, - 151960EB24E530E700F7BF06 /* Sources */, - 151960EC24E530E700F7BF06 /* Frameworks */, - 151960ED24E530E700F7BF06 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 151960F524E530E700F7BF06 /* PBXTargetDependency */, - ); - name = YogaKitSampleTests; - productName = YogaKitSampleTests; - productReference = 151960EF24E530E700F7BF06 /* YogaKitSampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; 15865F3024E56F7800345BD7 /* YogaKitOSXSample */ = { isa = PBXNativeTarget; buildConfigurationList = 15865F4424E56F7800345BD7 /* Build configuration list for PBXNativeTarget "YogaKitOSXSample" */; @@ -385,12 +331,6 @@ LastSwiftMigration = 0820; ProvisioningStyle = Automatic; }; - 151960EE24E530E700F7BF06 = { - CreatedOnToolsVersion = 11.6; - LastSwiftMigration = 1160; - ProvisioningStyle = Automatic; - TestTargetID = 13687D421DF8748300E7C260; - }; 15865F3024E56F7800345BD7 = { CreatedOnToolsVersion = 11.6; LastSwiftMigration = 1160; @@ -418,7 +358,6 @@ projectRoot = ""; targets = ( 13687D421DF8748300E7C260 /* YogaKitSample */, - 151960EE24E530E700F7BF06 /* YogaKitSampleTests */, 15E1C33724E568410086A4E6 /* YogaKitTVSample */, 15865F3024E56F7800345BD7 /* YogaKitOSXSample */, ); @@ -434,13 +373,6 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 151960ED24E530E700F7BF06 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; 15865F2F24E56F7800345BD7 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -503,28 +435,6 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - 6762F7581996BBCD3BC8BC43 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-YogaKitSampleTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; EEAEE027484A739D2AFF1F33 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -582,15 +492,6 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 151960EB24E530E700F7BF06 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 151960FC24E532B700F7BF06 /* dummy.swift in Sources */, - 151960FA24E5314C00F7BF06 /* YogaKitTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; 15865F2D24E56F7800345BD7 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -615,14 +516,6 @@ }; /* End PBXSourcesBuildPhase section */ -/* Begin PBXTargetDependency section */ - 151960F524E530E700F7BF06 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 13687D421DF8748300E7C260 /* YogaKitSample */; - targetProxy = 151960F424E530E700F7BF06 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - /* Begin PBXVariantGroup section */ 15865F3B24E56F7800345BD7 /* Main.storyboard */ = { isa = PBXVariantGroup; @@ -782,70 +675,6 @@ }; name = Release; }; - 151960F724E530E700F7BF06 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = A26128CF4F9CAE93983FF74F /* Pods-YogaKitSampleTests.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_STYLE = Automatic; - GCC_C_LANGUAGE_STANDARD = gnu11; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.facebook.YogaKitSampleTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/YogaKitSample.app/YogaKitSample"; - }; - name = Debug; - }; - 151960F824E530E700F7BF06 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = FF607399A6E2DE06593D1FA8 /* Pods-YogaKitSampleTests.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_STYLE = Automatic; - GCC_C_LANGUAGE_STANDARD = gnu11; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.facebook.YogaKitSampleTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/YogaKitSample.app/YogaKitSample"; - }; - name = Release; - }; 15865F4224E56F7800345BD7 /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = 6D7F92331FB484D6ED42C5E9 /* Pods-YogaKitOSXSample.debug.xcconfig */; @@ -1001,15 +830,6 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 151960F624E530E700F7BF06 /* Build configuration list for PBXNativeTarget "YogaKitSampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 151960F724E530E700F7BF06 /* Debug */, - 151960F824E530E700F7BF06 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; 15865F4424E56F7800345BD7 /* Build configuration list for PBXNativeTarget "YogaKitOSXSample" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/YogaKit/YogaKitSample/YogaKitSampleTests/dummy.swift b/YogaKit/YogaKitSample/YogaKitSampleTests/dummy.swift deleted file mode 100644 index 8b137891..00000000 --- a/YogaKit/YogaKitSample/YogaKitSampleTests/dummy.swift +++ /dev/null @@ -1 +0,0 @@ -