fixing pod
This commit is contained in:
@@ -19,7 +19,7 @@ let package = Package(
|
||||
name: "yoga",
|
||||
dependencies: [],
|
||||
path: "./yoga",
|
||||
publicHeadersPath: "./apple-public",
|
||||
publicHeadersPath: "./swiftpm-support",
|
||||
cxxSettings: [
|
||||
.headerSearchPath("../"),
|
||||
],
|
||||
|
@@ -33,6 +33,7 @@ Pod::Spec.new do |spec|
|
||||
'-fPIC'
|
||||
]
|
||||
spec.source_files = 'yoga/**/*.{c,h,cpp}'
|
||||
spec.public_header_files = 'yoga/apple-public/umbrella.h'
|
||||
spec.exclude_files = 'yoga/swiftpm-support/*.h'
|
||||
spec.public_header_files = 'yoga/{Yoga,YGEnums,YGMacros,YGNode,YGStyle,YGValue}.h'
|
||||
|
||||
end
|
||||
|
@@ -8,6 +8,7 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef __OBJC__
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#include "../YGEnums.h"
|
||||
@@ -16,4 +17,5 @@
|
||||
#include "../YGStyle.h"
|
||||
#include "../YGValue.h"
|
||||
#include "../Yoga.h"
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user