Summary: I'm trying to fix some bugs I introduced in my latest PR, but while writing the Unit Tests for them, I saw a really weird behaviour. The following exact piece of code WORKS inside a Yoga C++ unit test, but fails from a Objective-C unit test. I had me completely confused and blocked me in my progression. Any ideas? ``` TEST(YogaTest, stupid_test) { const YGNodeRef node = YGNodeNew(); YGNodeStyleSetPosition(node, YGEdgeLeft, 1); ASSERT_FLOAT_EQ(1, YGNodeStyleGetPosition(node, YGEdgeLeft).value); ASSERT_EQ(YGUnitPixel, YGNodeStyleGetPosition(node, YGEdgeLeft).unit); YGNodeFree(node); } ``` ``` - (void)testPositionalPropertiesWork { YGNodeRef node = YGNodeNew(); YGNodeStyleSetPosition(node, YGEdgeLeft, 1); XCTAssertEqual(1, YGNodeStyleGetPosition(node, YGEdgeLeft).value); XCTAssertEqual(YGUnitPixel, YGNodeStyleGetPosition(node, YGEdgeLeft).unit); YGNodeFree(node); } ``` Closes https://github.com/facebook/yoga/pull/328 Reviewed By: dshahidehpour Differential Revision: D4421504 Pulled By: emilsjolander fbshipit-source-id: f59379edf70aee87a77cd1ad2986313cdfe71b94
517 lines
22 KiB
Plaintext
517 lines
22 KiB
Plaintext
// !$*UTF8*$!
|
|
{
|
|
archiveVersion = 1;
|
|
classes = {
|
|
};
|
|
objectVersion = 46;
|
|
objects = {
|
|
|
|
/* Begin PBXBuildFile section */
|
|
13687D481DF8748400E7C260 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13687D471DF8748400E7C260 /* main.m */; };
|
|
13687D4B1DF8748400E7C260 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13687D4A1DF8748400E7C260 /* AppDelegate.m */; };
|
|
13687D4E1DF8748400E7C260 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 13687D4D1DF8748400E7C260 /* ViewController.m */; };
|
|
13687D531DF8748400E7C260 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13687D521DF8748400E7C260 /* Assets.xcassets */; };
|
|
13687D781DF878C600E7C260 /* YGEnums.h in yoga */ = {isa = PBXBuildFile; fileRef = 13687D5E1DF8778F00E7C260 /* YGEnums.h */; };
|
|
13687D791DF878C600E7C260 /* YGMacros.h in yoga */ = {isa = PBXBuildFile; fileRef = 13687D5F1DF8778F00E7C260 /* YGMacros.h */; };
|
|
13687D7A1DF878C600E7C260 /* Yoga.h in yoga */ = {isa = PBXBuildFile; fileRef = 13687D631DF8778F00E7C260 /* Yoga.h */; };
|
|
13687D7C1DF878DD00E7C260 /* UIView+Yoga.h in YogaKit */ = {isa = PBXBuildFile; fileRef = 13687D691DF8778F00E7C260 /* UIView+Yoga.h */; };
|
|
13687D801DF87CEC00E7C260 /* UIView+Yoga.m in Sources */ = {isa = PBXBuildFile; fileRef = 13687D6A1DF8778F00E7C260 /* UIView+Yoga.m */; };
|
|
13687D811DF87CF200E7C260 /* YGNodeList.c in Sources */ = {isa = PBXBuildFile; fileRef = 13687D601DF8778F00E7C260 /* YGNodeList.c */; };
|
|
13687D821DF87CF200E7C260 /* Yoga.c in Sources */ = {isa = PBXBuildFile; fileRef = 13687D621DF8778F00E7C260 /* Yoga.c */; };
|
|
13687D851DF87D1E00E7C260 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 13687D841DF87D1E00E7C260 /* UIKit.framework */; };
|
|
13687D871DF87D2400E7C260 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 13687D861DF87D2400E7C260 /* Foundation.framework */; };
|
|
638A94431E1EF5D000A726AD /* YGLayout.m in Sources */ = {isa = PBXBuildFile; fileRef = 638A94411E1EF5D000A726AD /* YGLayout.m */; };
|
|
638A94481E1F06D100A726AD /* SwiftViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 638A94471E1F06D100A726AD /* SwiftViewController.swift */; };
|
|
638A945A1E215CD400A726AD /* YogaKitTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 638A94591E215CD400A726AD /* YogaKitTests.m */; };
|
|
/* End PBXBuildFile section */
|
|
|
|
/* Begin PBXContainerItemProxy section */
|
|
638A94541E215CC800A726AD /* PBXContainerItemProxy */ = {
|
|
isa = PBXContainerItemProxy;
|
|
containerPortal = 13687D3B1DF8748300E7C260 /* Project object */;
|
|
proxyType = 1;
|
|
remoteGlobalIDString = 13687D421DF8748300E7C260;
|
|
remoteInfo = YogaKitSample;
|
|
};
|
|
/* End PBXContainerItemProxy section */
|
|
|
|
/* Begin PBXCopyFilesBuildPhase section */
|
|
13687D771DF878A000E7C260 /* yoga */ = {
|
|
isa = PBXCopyFilesBuildPhase;
|
|
buildActionMask = 2147483647;
|
|
dstPath = include/yoga;
|
|
dstSubfolderSpec = 16;
|
|
files = (
|
|
13687D781DF878C600E7C260 /* YGEnums.h in yoga */,
|
|
13687D791DF878C600E7C260 /* YGMacros.h in yoga */,
|
|
13687D7A1DF878C600E7C260 /* Yoga.h in yoga */,
|
|
);
|
|
name = yoga;
|
|
runOnlyForDeploymentPostprocessing = 0;
|
|
};
|
|
13687D7B1DF878CE00E7C260 /* YogaKit */ = {
|
|
isa = PBXCopyFilesBuildPhase;
|
|
buildActionMask = 2147483647;
|
|
dstPath = include/YogaKit;
|
|
dstSubfolderSpec = 16;
|
|
files = (
|
|
13687D7C1DF878DD00E7C260 /* UIView+Yoga.h in YogaKit */,
|
|
);
|
|
name = YogaKit;
|
|
runOnlyForDeploymentPostprocessing = 0;
|
|
};
|
|
/* End PBXCopyFilesBuildPhase section */
|
|
|
|
/* Begin PBXFileReference section */
|
|
13687D431DF8748400E7C260 /* YogaKitSample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = YogaKitSample.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
13687D471DF8748400E7C260 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
|
13687D491DF8748400E7C260 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
|
|
13687D4A1DF8748400E7C260 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
|
|
13687D4C1DF8748400E7C260 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
|
|
13687D4D1DF8748400E7C260 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
|
|
13687D521DF8748400E7C260 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
|
13687D571DF8748400E7C260 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
|
13687D5E1DF8778F00E7C260 /* YGEnums.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = YGEnums.h; sourceTree = "<group>"; };
|
|
13687D5F1DF8778F00E7C260 /* YGMacros.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = YGMacros.h; sourceTree = "<group>"; };
|
|
13687D601DF8778F00E7C260 /* YGNodeList.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = YGNodeList.c; sourceTree = "<group>"; };
|
|
13687D611DF8778F00E7C260 /* YGNodeList.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = YGNodeList.h; sourceTree = "<group>"; };
|
|
13687D621DF8778F00E7C260 /* Yoga.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = Yoga.c; sourceTree = "<group>"; };
|
|
13687D631DF8778F00E7C260 /* Yoga.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Yoga.h; sourceTree = "<group>"; };
|
|
13687D691DF8778F00E7C260 /* UIView+Yoga.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UIView+Yoga.h"; sourceTree = "<group>"; };
|
|
13687D6A1DF8778F00E7C260 /* UIView+Yoga.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "UIView+Yoga.m"; sourceTree = "<group>"; };
|
|
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; };
|
|
638A94401E1EF5D000A726AD /* YGLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YGLayout.h; sourceTree = "<group>"; };
|
|
638A94411E1EF5D000A726AD /* YGLayout.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YGLayout.m; sourceTree = "<group>"; };
|
|
638A94421E1EF5D000A726AD /* YGLayout+Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "YGLayout+Private.h"; sourceTree = "<group>"; };
|
|
638A94461E1F06D100A726AD /* YogaKitSample-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "YogaKitSample-Bridging-Header.h"; sourceTree = "<group>"; };
|
|
638A94471E1F06D100A726AD /* SwiftViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SwiftViewController.swift; sourceTree = "<group>"; };
|
|
638A944F1E215CC800A726AD /* YogaKitSampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = YogaKitSampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
638A94531E215CC800A726AD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
|
638A94591E215CD400A726AD /* YogaKitTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = YogaKitTests.m; path = ../../Tests/YogaKitTests.m; sourceTree = "<group>"; };
|
|
/* End PBXFileReference section */
|
|
|
|
/* Begin PBXFrameworksBuildPhase section */
|
|
13687D401DF8748300E7C260 /* Frameworks */ = {
|
|
isa = PBXFrameworksBuildPhase;
|
|
buildActionMask = 2147483647;
|
|
files = (
|
|
13687D871DF87D2400E7C260 /* Foundation.framework in Frameworks */,
|
|
13687D851DF87D1E00E7C260 /* UIKit.framework in Frameworks */,
|
|
);
|
|
runOnlyForDeploymentPostprocessing = 0;
|
|
};
|
|
638A944C1E215CC800A726AD /* Frameworks */ = {
|
|
isa = PBXFrameworksBuildPhase;
|
|
buildActionMask = 2147483647;
|
|
files = (
|
|
);
|
|
runOnlyForDeploymentPostprocessing = 0;
|
|
};
|
|
/* End PBXFrameworksBuildPhase section */
|
|
|
|
/* Begin PBXGroup section */
|
|
13687D3A1DF8748300E7C260 = {
|
|
isa = PBXGroup;
|
|
children = (
|
|
13687D5D1DF8778F00E7C260 /* yoga */,
|
|
13687D641DF8778F00E7C260 /* YogaKit */,
|
|
13687D451DF8748400E7C260 /* YogaKitSample */,
|
|
638A94501E215CC800A726AD /* YogaKitSampleTests */,
|
|
13687D441DF8748400E7C260 /* Products */,
|
|
13687D831DF87D1E00E7C260 /* Frameworks */,
|
|
);
|
|
sourceTree = "<group>";
|
|
};
|
|
13687D441DF8748400E7C260 /* Products */ = {
|
|
isa = PBXGroup;
|
|
children = (
|
|
13687D431DF8748400E7C260 /* YogaKitSample.app */,
|
|
638A944F1E215CC800A726AD /* YogaKitSampleTests.xctest */,
|
|
);
|
|
name = Products;
|
|
sourceTree = "<group>";
|
|
};
|
|
13687D451DF8748400E7C260 /* YogaKitSample */ = {
|
|
isa = PBXGroup;
|
|
children = (
|
|
13687D491DF8748400E7C260 /* AppDelegate.h */,
|
|
13687D4A1DF8748400E7C260 /* AppDelegate.m */,
|
|
13687D4C1DF8748400E7C260 /* ViewController.h */,
|
|
13687D4D1DF8748400E7C260 /* ViewController.m */,
|
|
638A94471E1F06D100A726AD /* SwiftViewController.swift */,
|
|
638A94461E1F06D100A726AD /* YogaKitSample-Bridging-Header.h */,
|
|
13687D521DF8748400E7C260 /* Assets.xcassets */,
|
|
13687D571DF8748400E7C260 /* Info.plist */,
|
|
13687D461DF8748400E7C260 /* Supporting Files */,
|
|
);
|
|
path = YogaKitSample;
|
|
sourceTree = "<group>";
|
|
};
|
|
13687D461DF8748400E7C260 /* Supporting Files */ = {
|
|
isa = PBXGroup;
|
|
children = (
|
|
13687D471DF8748400E7C260 /* main.m */,
|
|
);
|
|
name = "Supporting Files";
|
|
sourceTree = "<group>";
|
|
};
|
|
13687D5D1DF8778F00E7C260 /* yoga */ = {
|
|
isa = PBXGroup;
|
|
children = (
|
|
13687D5E1DF8778F00E7C260 /* YGEnums.h */,
|
|
13687D5F1DF8778F00E7C260 /* YGMacros.h */,
|
|
13687D601DF8778F00E7C260 /* YGNodeList.c */,
|
|
13687D611DF8778F00E7C260 /* YGNodeList.h */,
|
|
13687D621DF8778F00E7C260 /* Yoga.c */,
|
|
13687D631DF8778F00E7C260 /* Yoga.h */,
|
|
);
|
|
name = yoga;
|
|
path = ../../yoga;
|
|
sourceTree = "<group>";
|
|
};
|
|
13687D641DF8778F00E7C260 /* YogaKit */ = {
|
|
isa = PBXGroup;
|
|
children = (
|
|
13687D691DF8778F00E7C260 /* UIView+Yoga.h */,
|
|
13687D6A1DF8778F00E7C260 /* UIView+Yoga.m */,
|
|
638A94401E1EF5D000A726AD /* YGLayout.h */,
|
|
638A94421E1EF5D000A726AD /* YGLayout+Private.h */,
|
|
638A94411E1EF5D000A726AD /* YGLayout.m */,
|
|
);
|
|
name = YogaKit;
|
|
path = ..;
|
|
sourceTree = "<group>";
|
|
};
|
|
13687D831DF87D1E00E7C260 /* Frameworks */ = {
|
|
isa = PBXGroup;
|
|
children = (
|
|
13687D861DF87D2400E7C260 /* Foundation.framework */,
|
|
13687D841DF87D1E00E7C260 /* UIKit.framework */,
|
|
);
|
|
name = Frameworks;
|
|
sourceTree = "<group>";
|
|
};
|
|
638A94501E215CC800A726AD /* YogaKitSampleTests */ = {
|
|
isa = PBXGroup;
|
|
children = (
|
|
638A94591E215CD400A726AD /* YogaKitTests.m */,
|
|
638A94531E215CC800A726AD /* Info.plist */,
|
|
);
|
|
path = YogaKitSampleTests;
|
|
sourceTree = "<group>";
|
|
};
|
|
/* End PBXGroup section */
|
|
|
|
/* Begin PBXNativeTarget section */
|
|
13687D421DF8748300E7C260 /* YogaKitSample */ = {
|
|
isa = PBXNativeTarget;
|
|
buildConfigurationList = 13687D5A1DF8748400E7C260 /* Build configuration list for PBXNativeTarget "YogaKitSample" */;
|
|
buildPhases = (
|
|
13687D771DF878A000E7C260 /* yoga */,
|
|
13687D7B1DF878CE00E7C260 /* YogaKit */,
|
|
13687D3F1DF8748300E7C260 /* Sources */,
|
|
13687D401DF8748300E7C260 /* Frameworks */,
|
|
13687D411DF8748300E7C260 /* Resources */,
|
|
);
|
|
buildRules = (
|
|
);
|
|
dependencies = (
|
|
);
|
|
name = YogaKitSample;
|
|
productName = YogaKitSample;
|
|
productReference = 13687D431DF8748400E7C260 /* YogaKitSample.app */;
|
|
productType = "com.apple.product-type.application";
|
|
};
|
|
638A944E1E215CC800A726AD /* YogaKitSampleTests */ = {
|
|
isa = PBXNativeTarget;
|
|
buildConfigurationList = 638A94561E215CC800A726AD /* Build configuration list for PBXNativeTarget "YogaKitSampleTests" */;
|
|
buildPhases = (
|
|
638A944B1E215CC800A726AD /* Sources */,
|
|
638A944C1E215CC800A726AD /* Frameworks */,
|
|
638A944D1E215CC800A726AD /* Resources */,
|
|
);
|
|
buildRules = (
|
|
);
|
|
dependencies = (
|
|
638A94551E215CC800A726AD /* PBXTargetDependency */,
|
|
);
|
|
name = YogaKitSampleTests;
|
|
productName = YogaKitSampleTests;
|
|
productReference = 638A944F1E215CC800A726AD /* YogaKitSampleTests.xctest */;
|
|
productType = "com.apple.product-type.bundle.unit-test";
|
|
};
|
|
/* End PBXNativeTarget section */
|
|
|
|
/* Begin PBXProject section */
|
|
13687D3B1DF8748300E7C260 /* Project object */ = {
|
|
isa = PBXProject;
|
|
attributes = {
|
|
LastUpgradeCheck = 0820;
|
|
ORGANIZATIONNAME = facebook;
|
|
TargetAttributes = {
|
|
13687D421DF8748300E7C260 = {
|
|
CreatedOnToolsVersion = 8.1;
|
|
LastSwiftMigration = 0820;
|
|
ProvisioningStyle = Automatic;
|
|
};
|
|
638A944E1E215CC800A726AD = {
|
|
CreatedOnToolsVersion = 8.2.1;
|
|
ProvisioningStyle = Automatic;
|
|
TestTargetID = 13687D421DF8748300E7C260;
|
|
};
|
|
};
|
|
};
|
|
buildConfigurationList = 13687D3E1DF8748300E7C260 /* Build configuration list for PBXProject "YogaKitSample" */;
|
|
compatibilityVersion = "Xcode 3.2";
|
|
developmentRegion = English;
|
|
hasScannedForEncodings = 0;
|
|
knownRegions = (
|
|
en,
|
|
Base,
|
|
);
|
|
mainGroup = 13687D3A1DF8748300E7C260;
|
|
productRefGroup = 13687D441DF8748400E7C260 /* Products */;
|
|
projectDirPath = "";
|
|
projectRoot = "";
|
|
targets = (
|
|
13687D421DF8748300E7C260 /* YogaKitSample */,
|
|
638A944E1E215CC800A726AD /* YogaKitSampleTests */,
|
|
);
|
|
};
|
|
/* End PBXProject section */
|
|
|
|
/* Begin PBXResourcesBuildPhase section */
|
|
13687D411DF8748300E7C260 /* Resources */ = {
|
|
isa = PBXResourcesBuildPhase;
|
|
buildActionMask = 2147483647;
|
|
files = (
|
|
13687D531DF8748400E7C260 /* Assets.xcassets in Resources */,
|
|
);
|
|
runOnlyForDeploymentPostprocessing = 0;
|
|
};
|
|
638A944D1E215CC800A726AD /* Resources */ = {
|
|
isa = PBXResourcesBuildPhase;
|
|
buildActionMask = 2147483647;
|
|
files = (
|
|
);
|
|
runOnlyForDeploymentPostprocessing = 0;
|
|
};
|
|
/* End PBXResourcesBuildPhase section */
|
|
|
|
/* Begin PBXSourcesBuildPhase section */
|
|
13687D3F1DF8748300E7C260 /* Sources */ = {
|
|
isa = PBXSourcesBuildPhase;
|
|
buildActionMask = 2147483647;
|
|
files = (
|
|
638A94481E1F06D100A726AD /* SwiftViewController.swift in Sources */,
|
|
13687D801DF87CEC00E7C260 /* UIView+Yoga.m in Sources */,
|
|
13687D4E1DF8748400E7C260 /* ViewController.m in Sources */,
|
|
13687D4B1DF8748400E7C260 /* AppDelegate.m in Sources */,
|
|
13687D821DF87CF200E7C260 /* Yoga.c in Sources */,
|
|
13687D811DF87CF200E7C260 /* YGNodeList.c in Sources */,
|
|
13687D481DF8748400E7C260 /* main.m in Sources */,
|
|
638A94431E1EF5D000A726AD /* YGLayout.m in Sources */,
|
|
);
|
|
runOnlyForDeploymentPostprocessing = 0;
|
|
};
|
|
638A944B1E215CC800A726AD /* Sources */ = {
|
|
isa = PBXSourcesBuildPhase;
|
|
buildActionMask = 2147483647;
|
|
files = (
|
|
638A945A1E215CD400A726AD /* YogaKitTests.m in Sources */,
|
|
);
|
|
runOnlyForDeploymentPostprocessing = 0;
|
|
};
|
|
/* End PBXSourcesBuildPhase section */
|
|
|
|
/* Begin PBXTargetDependency section */
|
|
638A94551E215CC800A726AD /* PBXTargetDependency */ = {
|
|
isa = PBXTargetDependency;
|
|
target = 13687D421DF8748300E7C260 /* YogaKitSample */;
|
|
targetProxy = 638A94541E215CC800A726AD /* PBXContainerItemProxy */;
|
|
};
|
|
/* End PBXTargetDependency section */
|
|
|
|
/* Begin XCBuildConfiguration section */
|
|
13687D581DF8748400E7C260 /* Debug */ = {
|
|
isa = XCBuildConfiguration;
|
|
buildSettings = {
|
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
CLANG_ANALYZER_NONNULL = YES;
|
|
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
CLANG_CXX_LIBRARY = "libc++";
|
|
CLANG_ENABLE_MODULES = YES;
|
|
CLANG_ENABLE_OBJC_ARC = YES;
|
|
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
|
CLANG_WARN_EMPTY_BODY = YES;
|
|
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
CLANG_WARN_INT_CONVERSION = YES;
|
|
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
CLANG_WARN_SUSPICIOUS_MOVES = YES;
|
|
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
|
COPY_PHASE_STRIP = NO;
|
|
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_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;
|
|
IPHONEOS_DEPLOYMENT_TARGET = 10.1;
|
|
MTL_ENABLE_DEBUG_INFO = YES;
|
|
ONLY_ACTIVE_ARCH = YES;
|
|
SDKROOT = iphoneos;
|
|
};
|
|
name = Debug;
|
|
};
|
|
13687D591DF8748400E7C260 /* Release */ = {
|
|
isa = XCBuildConfiguration;
|
|
buildSettings = {
|
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
CLANG_ANALYZER_NONNULL = YES;
|
|
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
CLANG_CXX_LIBRARY = "libc++";
|
|
CLANG_ENABLE_MODULES = YES;
|
|
CLANG_ENABLE_OBJC_ARC = YES;
|
|
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
|
CLANG_WARN_EMPTY_BODY = YES;
|
|
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
CLANG_WARN_INT_CONVERSION = YES;
|
|
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
CLANG_WARN_SUSPICIOUS_MOVES = YES;
|
|
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
|
COPY_PHASE_STRIP = NO;
|
|
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_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;
|
|
IPHONEOS_DEPLOYMENT_TARGET = 10.1;
|
|
MTL_ENABLE_DEBUG_INFO = NO;
|
|
SDKROOT = iphoneos;
|
|
VALIDATE_PRODUCT = YES;
|
|
};
|
|
name = Release;
|
|
};
|
|
13687D5B1DF8748400E7C260 /* Debug */ = {
|
|
isa = XCBuildConfiguration;
|
|
buildSettings = {
|
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
CLANG_ENABLE_MODULES = YES;
|
|
INFOPLIST_FILE = YogaKitSample/Info.plist;
|
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
PRODUCT_BUNDLE_IDENTIFIER = com.facebook.YogaKitSample;
|
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
SWIFT_OBJC_BRIDGING_HEADER = "YogaKitSample/YogaKitSample-Bridging-Header.h";
|
|
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
SWIFT_VERSION = 3.0;
|
|
};
|
|
name = Debug;
|
|
};
|
|
13687D5C1DF8748400E7C260 /* Release */ = {
|
|
isa = XCBuildConfiguration;
|
|
buildSettings = {
|
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
CLANG_ENABLE_MODULES = YES;
|
|
INFOPLIST_FILE = YogaKitSample/Info.plist;
|
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
PRODUCT_BUNDLE_IDENTIFIER = com.facebook.YogaKitSample;
|
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
SWIFT_OBJC_BRIDGING_HEADER = "YogaKitSample/YogaKitSample-Bridging-Header.h";
|
|
SWIFT_VERSION = 3.0;
|
|
};
|
|
name = Release;
|
|
};
|
|
638A94571E215CC800A726AD /* Debug */ = {
|
|
isa = XCBuildConfiguration;
|
|
buildSettings = {
|
|
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
|
BUNDLE_LOADER = "$(TEST_HOST)";
|
|
INFOPLIST_FILE = YogaKitSampleTests/Info.plist;
|
|
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
|
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
|
PRODUCT_BUNDLE_IDENTIFIER = com.facebook.YogaKitSampleTests;
|
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/YogaKitSample.app/YogaKitSample";
|
|
};
|
|
name = Debug;
|
|
};
|
|
638A94581E215CC800A726AD /* Release */ = {
|
|
isa = XCBuildConfiguration;
|
|
buildSettings = {
|
|
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
|
BUNDLE_LOADER = "$(TEST_HOST)";
|
|
INFOPLIST_FILE = YogaKitSampleTests/Info.plist;
|
|
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
|
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
|
PRODUCT_BUNDLE_IDENTIFIER = com.facebook.YogaKitSampleTests;
|
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/YogaKitSample.app/YogaKitSample";
|
|
};
|
|
name = Release;
|
|
};
|
|
/* End XCBuildConfiguration section */
|
|
|
|
/* Begin XCConfigurationList section */
|
|
13687D3E1DF8748300E7C260 /* Build configuration list for PBXProject "YogaKitSample" */ = {
|
|
isa = XCConfigurationList;
|
|
buildConfigurations = (
|
|
13687D581DF8748400E7C260 /* Debug */,
|
|
13687D591DF8748400E7C260 /* Release */,
|
|
);
|
|
defaultConfigurationIsVisible = 0;
|
|
defaultConfigurationName = Release;
|
|
};
|
|
13687D5A1DF8748400E7C260 /* Build configuration list for PBXNativeTarget "YogaKitSample" */ = {
|
|
isa = XCConfigurationList;
|
|
buildConfigurations = (
|
|
13687D5B1DF8748400E7C260 /* Debug */,
|
|
13687D5C1DF8748400E7C260 /* Release */,
|
|
);
|
|
defaultConfigurationIsVisible = 0;
|
|
defaultConfigurationName = Release;
|
|
};
|
|
638A94561E215CC800A726AD /* Build configuration list for PBXNativeTarget "YogaKitSampleTests" */ = {
|
|
isa = XCConfigurationList;
|
|
buildConfigurations = (
|
|
638A94571E215CC800A726AD /* Debug */,
|
|
638A94581E215CC800A726AD /* Release */,
|
|
);
|
|
defaultConfigurationIsVisible = 0;
|
|
};
|
|
/* End XCConfigurationList section */
|
|
};
|
|
rootObject = 13687D3B1DF8748300E7C260 /* Project object */;
|
|
}
|