Fix SPM ompilation error

This commit is contained in:
Lvv.me
2021-11-15 23:11:39 +08:00
parent 02a002f594
commit 733e346320
9 changed files with 33 additions and 15 deletions

View File

@@ -14,7 +14,7 @@
#import <UIKit/UIKit.h>
#endif
#import "YGLayout.h"
#import "YogaKit.h"
NS_ASSUME_NONNULL_BEGIN

View File

@@ -5,8 +5,8 @@
* LICENSE file in the root directory of this source tree.
*/
#import <yoga/Yoga.h>
#import "YGLayout.h"
#import "../../yoga/Yoga.h"
#import "YogaKit.h"
@interface YGLayout ()

View File

@@ -13,9 +13,9 @@
#import <UIKit/UIKit.h>
#endif
#import <yoga/YGEnums.h>
#import <yoga/YGMacros.h>
#import <yoga/Yoga.h>
#import "../../yoga/YGEnums.h"
#import "../../yoga/YGMacros.h"
#import "../../yoga/Yoga.h"
YG_EXTERN_C_BEGIN

View File

@@ -0,0 +1,2 @@
#import "../YogaKit.h"
#import "../UIView+Yoga.h"

View File

@@ -0,0 +1,4 @@
module YogaKit {
umbrella header "YogaKit-umbrella.h"
export *
}