Add carthage support

This commit is contained in:
Sam Mueller
2019-01-24 23:41:28 -08:00
parent 5a9f29debb
commit 89606b94e4
6 changed files with 584 additions and 3 deletions

24
YogaKit/Source/Info.plist Normal file
View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.7.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>

View File

@@ -5,9 +5,9 @@
* file in the root directory of this source tree.
*/
#import <UIKit/UIKit.h>
#import <yoga/YGEnums.h>
#import <yoga/Yoga.h>
#import <yoga/YGMacros.h>
#import <YogaKit/YGEnums.h>
#import <YogaKit/Yoga.h>
#import <YogaKit/YGMacros.h>
YG_EXTERN_C_BEGIN

23
YogaKit/Source/YogaKit.h Normal file
View File

@@ -0,0 +1,23 @@
/**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <UIKit/UIKit.h>
//! Project version number for YogaKit.
FOUNDATION_EXPORT double YogaKitVersionNumber;
//! Project version string for YogaKit.
FOUNDATION_EXPORT const unsigned char YogaKitVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <YogaKit/PublicHeader.h>
#import "UIView+Yoga.h"
#import <YogaKit/YGLayout.h>
#import <YogaKit/YGEnums.h>
#import <YogaKit/YGValue.h>

View File

@@ -0,0 +1,436 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
22962D9D21FA7654006465F5 /* YGEnums.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 22962D9C21FA7654006465F5 /* YGEnums.cpp */; };
22962D9F21FA7684006465F5 /* Yoga.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 22962D9E21FA7684006465F5 /* Yoga.cpp */; };
22962DA221FA76AB006465F5 /* YGNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 22962DA021FA76AB006465F5 /* YGNode.h */; settings = {ATTRIBUTES = (Public, ); }; };
22962DA321FA76AB006465F5 /* YGNode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 22962DA121FA76AB006465F5 /* YGNode.cpp */; };
22962DB321FA76DA006465F5 /* YGConfig.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 22962DA421FA76DA006465F5 /* YGConfig.cpp */; };
22962DB421FA76DA006465F5 /* YGNodePrint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 22962DA521FA76DA006465F5 /* YGNodePrint.cpp */; };
22962DB521FA76DA006465F5 /* YGLayout.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 22962DA621FA76DA006465F5 /* YGLayout.cpp */; };
22962DB621FA76DA006465F5 /* YGFloatOptional.h in Headers */ = {isa = PBXBuildFile; fileRef = 22962DA721FA76DA006465F5 /* YGFloatOptional.h */; settings = {ATTRIBUTES = (Public, ); }; };
22962DB721FA76DA006465F5 /* YGMarker.h in Headers */ = {isa = PBXBuildFile; fileRef = 22962DA821FA76DA006465F5 /* YGMarker.h */; settings = {ATTRIBUTES = (Public, ); }; };
22962DB821FA76DA006465F5 /* CompactValue.h in Headers */ = {isa = PBXBuildFile; fileRef = 22962DA921FA76DA006465F5 /* CompactValue.h */; settings = {ATTRIBUTES = (Public, ); }; };
22962DB921FA76DA006465F5 /* YGValue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 22962DAA21FA76DA006465F5 /* YGValue.cpp */; };
22962DBA21FA76DA006465F5 /* Utils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 22962DAB21FA76DA006465F5 /* Utils.cpp */; };
22962DBB21FA76DA006465F5 /* YGStyle.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 22962DAC21FA76DA006465F5 /* YGStyle.cpp */; };
22962DBC21FA76DA006465F5 /* YGStyle.h in Headers */ = {isa = PBXBuildFile; fileRef = 22962DAD21FA76DA006465F5 /* YGStyle.h */; settings = {ATTRIBUTES = (Public, ); }; };
22962DBD21FA76DA006465F5 /* Utils.h in Headers */ = {isa = PBXBuildFile; fileRef = 22962DAE21FA76DA006465F5 /* Utils.h */; settings = {ATTRIBUTES = (Public, ); }; };
22962DBE21FA76DA006465F5 /* YGValue.h in Headers */ = {isa = PBXBuildFile; fileRef = 22962DAF21FA76DA006465F5 /* YGValue.h */; settings = {ATTRIBUTES = (Public, ); }; };
22962DBF21FA76DA006465F5 /* YGConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = 22962DB021FA76DA006465F5 /* YGConfig.h */; settings = {ATTRIBUTES = (Public, ); }; };
22962DC121FA76DA006465F5 /* YGNodePrint.h in Headers */ = {isa = PBXBuildFile; fileRef = 22962DB221FA76DA006465F5 /* YGNodePrint.h */; settings = {ATTRIBUTES = (Public, ); }; };
22962DF321FA7EC4006465F5 /* UIView+Yoga.m in Sources */ = {isa = PBXBuildFile; fileRef = 22962DEC21FA7EC4006465F5 /* UIView+Yoga.m */; };
22962DF421FA7EC4006465F5 /* UIView+Yoga.h in Headers */ = {isa = PBXBuildFile; fileRef = 22962DED21FA7EC4006465F5 /* UIView+Yoga.h */; settings = {ATTRIBUTES = (Public, ); }; };
22962DF521FA7EC4006465F5 /* YGLayout.m in Sources */ = {isa = PBXBuildFile; fileRef = 22962DEE21FA7EC4006465F5 /* YGLayout.m */; };
22962DF721FA7EC4006465F5 /* YGLayout+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 22962DF021FA7EC4006465F5 /* YGLayout+Private.h */; settings = {ATTRIBUTES = (Private, ); }; };
22962E0A21FA8F1A006465F5 /* YGLayoutExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22962E0921FA8F1A006465F5 /* YGLayoutExtensions.swift */; };
22962E0D21FAA5E6006465F5 /* YGLayout.h in Headers */ = {isa = PBXBuildFile; fileRef = 22962DEA21FA7EC4006465F5 /* YGLayout.h */; settings = {ATTRIBUTES = (Public, ); }; };
22CCC2B121FAAB7700A83111 /* YogaKit.h in Headers */ = {isa = PBXBuildFile; fileRef = 22CCC2B021FAAB7700A83111 /* YogaKit.h */; settings = {ATTRIBUTES = (Public, ); }; };
244F4AB61F818CE000460B54 /* Yoga-internal.h in Headers */ = {isa = PBXBuildFile; fileRef = 244F4AB41F818CE000460B54 /* Yoga-internal.h */; settings = {ATTRIBUTES = (Private, ); }; };
9D4FF1601E35ABC00029DFF7 /* YGEnums.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D4FF15A1E35ABC00029DFF7 /* YGEnums.h */; settings = {ATTRIBUTES = (Public, ); }; };
9D4FF1611E35ABC00029DFF7 /* YGMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D4FF15B1E35ABC00029DFF7 /* YGMacros.h */; settings = {ATTRIBUTES = (Public, ); }; };
9D4FF1651E35ABC00029DFF7 /* Yoga.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D4FF15F1E35ABC00029DFF7 /* Yoga.h */; settings = {ATTRIBUTES = (Public, ); }; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
22962D9C21FA7654006465F5 /* YGEnums.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = YGEnums.cpp; path = ../yoga/YGEnums.cpp; sourceTree = "<group>"; };
22962D9E21FA7684006465F5 /* Yoga.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Yoga.cpp; path = ../yoga/Yoga.cpp; sourceTree = "<group>"; };
22962DA021FA76AB006465F5 /* YGNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = YGNode.h; path = ../yoga/YGNode.h; sourceTree = "<group>"; };
22962DA121FA76AB006465F5 /* YGNode.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = YGNode.cpp; path = ../yoga/YGNode.cpp; sourceTree = "<group>"; };
22962DA421FA76DA006465F5 /* YGConfig.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = YGConfig.cpp; path = ../yoga/YGConfig.cpp; sourceTree = "<group>"; };
22962DA521FA76DA006465F5 /* YGNodePrint.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = YGNodePrint.cpp; path = ../yoga/YGNodePrint.cpp; sourceTree = "<group>"; };
22962DA621FA76DA006465F5 /* YGLayout.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = YGLayout.cpp; path = ../yoga/YGLayout.cpp; sourceTree = "<group>"; };
22962DA721FA76DA006465F5 /* YGFloatOptional.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = YGFloatOptional.h; path = ../yoga/YGFloatOptional.h; sourceTree = "<group>"; };
22962DA821FA76DA006465F5 /* YGMarker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = YGMarker.h; path = ../yoga/YGMarker.h; sourceTree = "<group>"; };
22962DA921FA76DA006465F5 /* CompactValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CompactValue.h; path = ../yoga/CompactValue.h; sourceTree = "<group>"; };
22962DAA21FA76DA006465F5 /* YGValue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = YGValue.cpp; path = ../yoga/YGValue.cpp; sourceTree = "<group>"; };
22962DAB21FA76DA006465F5 /* Utils.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Utils.cpp; path = ../yoga/Utils.cpp; sourceTree = "<group>"; };
22962DAC21FA76DA006465F5 /* YGStyle.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = YGStyle.cpp; path = ../yoga/YGStyle.cpp; sourceTree = "<group>"; };
22962DAD21FA76DA006465F5 /* YGStyle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = YGStyle.h; path = ../yoga/YGStyle.h; sourceTree = "<group>"; };
22962DAE21FA76DA006465F5 /* Utils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Utils.h; path = ../yoga/Utils.h; sourceTree = "<group>"; };
22962DAF21FA76DA006465F5 /* YGValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = YGValue.h; path = ../yoga/YGValue.h; sourceTree = "<group>"; };
22962DB021FA76DA006465F5 /* YGConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = YGConfig.h; path = ../yoga/YGConfig.h; sourceTree = "<group>"; };
22962DB121FA76DA006465F5 /* YGLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = YGLayout.h; path = ../yoga/YGLayout.h; sourceTree = "<group>"; };
22962DB221FA76DA006465F5 /* YGNodePrint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = YGNodePrint.h; path = ../yoga/YGNodePrint.h; sourceTree = "<group>"; };
22962DEA21FA7EC4006465F5 /* YGLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = YGLayout.h; path = Source/YGLayout.h; sourceTree = "<group>"; };
22962DEC21FA7EC4006465F5 /* UIView+Yoga.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "UIView+Yoga.m"; path = "Source/UIView+Yoga.m"; sourceTree = "<group>"; };
22962DED21FA7EC4006465F5 /* UIView+Yoga.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "UIView+Yoga.h"; path = "Source/UIView+Yoga.h"; sourceTree = "<group>"; };
22962DEE21FA7EC4006465F5 /* YGLayout.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = YGLayout.m; path = Source/YGLayout.m; sourceTree = "<group>"; };
22962DEF21FA7EC4006465F5 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Source/Info.plist; sourceTree = "<group>"; };
22962DF021FA7EC4006465F5 /* YGLayout+Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "YGLayout+Private.h"; path = "Source/YGLayout+Private.h"; sourceTree = "<group>"; };
22962E0921FA8F1A006465F5 /* YGLayoutExtensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = YGLayoutExtensions.swift; path = Source/YGLayoutExtensions.swift; sourceTree = "<group>"; };
22CCC2B021FAAB7700A83111 /* YogaKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = YogaKit.h; path = Source/YogaKit.h; sourceTree = "<group>"; };
244F4AB41F818CE000460B54 /* Yoga-internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "Yoga-internal.h"; path = "../yoga/Yoga-internal.h"; sourceTree = "<group>"; };
9D4FF1351E35AB150029DFF7 /* YogaKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = YogaKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
9D4FF15A1E35ABC00029DFF7 /* YGEnums.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = YGEnums.h; path = ../yoga/YGEnums.h; sourceTree = "<group>"; };
9D4FF15B1E35ABC00029DFF7 /* YGMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = YGMacros.h; path = ../yoga/YGMacros.h; sourceTree = "<group>"; };
9D4FF15F1E35ABC00029DFF7 /* Yoga.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Yoga.h; path = ../yoga/Yoga.h; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
9D4FF1311E35AB150029DFF7 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
22962DE921FA7E90006465F5 /* YogaKit */ = {
isa = PBXGroup;
children = (
22962DEF21FA7EC4006465F5 /* Info.plist */,
22962DED21FA7EC4006465F5 /* UIView+Yoga.h */,
22962DEC21FA7EC4006465F5 /* UIView+Yoga.m */,
22962DEA21FA7EC4006465F5 /* YGLayout.h */,
22962DEE21FA7EC4006465F5 /* YGLayout.m */,
22962DF021FA7EC4006465F5 /* YGLayout+Private.h */,
22962E0921FA8F1A006465F5 /* YGLayoutExtensions.swift */,
22CCC2B021FAAB7700A83111 /* YogaKit.h */,
);
name = YogaKit;
sourceTree = "<group>";
};
9D4FF12B1E35AB150029DFF7 = {
isa = PBXGroup;
children = (
9D4FF1591E35ABAB0029DFF7 /* Yoga */,
22962DE921FA7E90006465F5 /* YogaKit */,
9D4FF1361E35AB150029DFF7 /* Products */,
);
sourceTree = "<group>";
};
9D4FF1361E35AB150029DFF7 /* Products */ = {
isa = PBXGroup;
children = (
9D4FF1351E35AB150029DFF7 /* YogaKit.framework */,
);
name = Products;
sourceTree = "<group>";
};
9D4FF1591E35ABAB0029DFF7 /* Yoga */ = {
isa = PBXGroup;
children = (
22962DA921FA76DA006465F5 /* CompactValue.h */,
22962DAB21FA76DA006465F5 /* Utils.cpp */,
22962DAE21FA76DA006465F5 /* Utils.h */,
22962DA421FA76DA006465F5 /* YGConfig.cpp */,
22962DB021FA76DA006465F5 /* YGConfig.h */,
22962DA721FA76DA006465F5 /* YGFloatOptional.h */,
22962DA621FA76DA006465F5 /* YGLayout.cpp */,
22962DB121FA76DA006465F5 /* YGLayout.h */,
22962DA821FA76DA006465F5 /* YGMarker.h */,
22962DA521FA76DA006465F5 /* YGNodePrint.cpp */,
22962DB221FA76DA006465F5 /* YGNodePrint.h */,
22962DAC21FA76DA006465F5 /* YGStyle.cpp */,
22962DAD21FA76DA006465F5 /* YGStyle.h */,
22962DAA21FA76DA006465F5 /* YGValue.cpp */,
22962DAF21FA76DA006465F5 /* YGValue.h */,
22962DA121FA76AB006465F5 /* YGNode.cpp */,
22962DA021FA76AB006465F5 /* YGNode.h */,
22962D9E21FA7684006465F5 /* Yoga.cpp */,
22962D9C21FA7654006465F5 /* YGEnums.cpp */,
244F4AB41F818CE000460B54 /* Yoga-internal.h */,
9D4FF15A1E35ABC00029DFF7 /* YGEnums.h */,
9D4FF15B1E35ABC00029DFF7 /* YGMacros.h */,
9D4FF15F1E35ABC00029DFF7 /* Yoga.h */,
);
name = Yoga;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
9D4FF1321E35AB150029DFF7 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
22962DB821FA76DA006465F5 /* CompactValue.h in Headers */,
22962DB721FA76DA006465F5 /* YGMarker.h in Headers */,
22962DA221FA76AB006465F5 /* YGNode.h in Headers */,
9D4FF1611E35ABC00029DFF7 /* YGMacros.h in Headers */,
22962DBD21FA76DA006465F5 /* Utils.h in Headers */,
9D4FF1601E35ABC00029DFF7 /* YGEnums.h in Headers */,
22962DBF21FA76DA006465F5 /* YGConfig.h in Headers */,
9D4FF1651E35ABC00029DFF7 /* Yoga.h in Headers */,
22962DBE21FA76DA006465F5 /* YGValue.h in Headers */,
22962DC121FA76DA006465F5 /* YGNodePrint.h in Headers */,
22962DF421FA7EC4006465F5 /* UIView+Yoga.h in Headers */,
244F4AB61F818CE000460B54 /* Yoga-internal.h in Headers */,
22962E0D21FAA5E6006465F5 /* YGLayout.h in Headers */,
22CCC2B121FAAB7700A83111 /* YogaKit.h in Headers */,
22962DB621FA76DA006465F5 /* YGFloatOptional.h in Headers */,
22962DF721FA7EC4006465F5 /* YGLayout+Private.h in Headers */,
22962DBC21FA76DA006465F5 /* YGStyle.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
9D4FF1341E35AB150029DFF7 /* YogaKit */ = {
isa = PBXNativeTarget;
buildConfigurationList = 9D4FF1491E35AB150029DFF7 /* Build configuration list for PBXNativeTarget "YogaKit" */;
buildPhases = (
9D4FF1301E35AB150029DFF7 /* Sources */,
9D4FF1311E35AB150029DFF7 /* Frameworks */,
9D4FF1321E35AB150029DFF7 /* Headers */,
9D4FF1331E35AB150029DFF7 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = YogaKit;
productName = YogaKit;
productReference = 9D4FF1351E35AB150029DFF7 /* YogaKit.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
9D4FF12C1E35AB150029DFF7 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0820;
ORGANIZATIONNAME = "";
TargetAttributes = {
9D4FF1341E35AB150029DFF7 = {
CreatedOnToolsVersion = 8.2.1;
LastSwiftMigration = 1010;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = 9D4FF12F1E35AB150029DFF7 /* Build configuration list for PBXProject "YogaKit" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = 9D4FF12B1E35AB150029DFF7;
productRefGroup = 9D4FF1361E35AB150029DFF7 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
9D4FF1341E35AB150029DFF7 /* YogaKit */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
9D4FF1331E35AB150029DFF7 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
9D4FF1301E35AB150029DFF7 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
22962DB321FA76DA006465F5 /* YGConfig.cpp in Sources */,
22962DBB21FA76DA006465F5 /* YGStyle.cpp in Sources */,
22962DA321FA76AB006465F5 /* YGNode.cpp in Sources */,
22962DF521FA7EC4006465F5 /* YGLayout.m in Sources */,
22962DB421FA76DA006465F5 /* YGNodePrint.cpp in Sources */,
22962DB921FA76DA006465F5 /* YGValue.cpp in Sources */,
22962D9F21FA7684006465F5 /* Yoga.cpp in Sources */,
22962DF321FA7EC4006465F5 /* UIView+Yoga.m in Sources */,
22962DB521FA76DA006465F5 /* YGLayout.cpp in Sources */,
22962E0A21FA8F1A006465F5 /* YGLayoutExtensions.swift in Sources */,
22962DBA21FA76DA006465F5 /* Utils.cpp in Sources */,
22962D9D21FA7654006465F5 /* YGEnums.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
9D4FF1471E35AB150029DFF7 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = 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_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
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 = (
XCODE_PROJECT_BUILD,
"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 = 9.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = XCODE_PROJECT_BUILD;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
9D4FF1481E35AB150029DFF7 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = 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_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
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 = XCODE_PROJECT_BUILD;
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 = 9.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = XCODE_PROJECT_BUILD;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
9D4FF14A1E35AB150029DFF7 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
CLANG_CXX_LANGUAGE_STANDARD = "c++14";
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
HEADER_SEARCH_PATHS = ../;
INFOPLIST_FILE = Source/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
OTHER_LDFLAGS = "-ObjC";
PRODUCT_BUNDLE_IDENTIFIER = com.facebook.YogaKit;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.2;
};
name = Debug;
};
9D4FF14B1E35AB150029DFF7 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
CLANG_CXX_LANGUAGE_STANDARD = "c++14";
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
HEADER_SEARCH_PATHS = ../;
INFOPLIST_FILE = Source/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
OTHER_LDFLAGS = "-ObjC";
PRODUCT_BUNDLE_IDENTIFIER = com.facebook.YogaKit;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_VERSION = 4.2;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
9D4FF12F1E35AB150029DFF7 /* Build configuration list for PBXProject "YogaKit" */ = {
isa = XCConfigurationList;
buildConfigurations = (
9D4FF1471E35AB150029DFF7 /* Debug */,
9D4FF1481E35AB150029DFF7 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
9D4FF1491E35AB150029DFF7 /* Build configuration list for PBXNativeTarget "YogaKit" */ = {
isa = XCConfigurationList;
buildConfigurations = (
9D4FF14A1E35AB150029DFF7 /* Debug */,
9D4FF14B1E35AB150029DFF7 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 9D4FF12C1E35AB150029DFF7 /* Project object */;
}

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:YogaKit.xcodeproj">
</FileRef>
</Workspace>

View File

@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0820"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9D4FF1341E35AB150029DFF7"
BuildableName = "YogaKit.framework"
BlueprintName = "YogaKit"
ReferencedContainer = "container:YogaKit.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9D4FF1341E35AB150029DFF7"
BuildableName = "YogaKit.framework"
BlueprintName = "YogaKit"
ReferencedContainer = "container:YogaKit.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9D4FF1341E35AB150029DFF7"
BuildableName = "YogaKit.framework"
BlueprintName = "YogaKit"
ReferencedContainer = "container:YogaKit.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9D4FF1341E35AB150029DFF7"
BuildableName = "YogaKit.framework"
BlueprintName = "YogaKit"
ReferencedContainer = "container:YogaKit.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>