Fix: Add HEADER_SEARCH_PATHS for Libbox headers in bridging header
This commit is contained in:
@@ -5,11 +5,7 @@
|
||||
// Bridging header for Libbox.xcframework
|
||||
//
|
||||
|
||||
// Import Libbox Objective-C headers for Swift access
|
||||
// Note: The framework must be linked and framework search paths must be set correctly
|
||||
|
||||
#if __has_include(<Libbox/Libbox.h>)
|
||||
#import <Libbox/Libbox.h>
|
||||
#elif __has_include("Libbox.h")
|
||||
#import "Libbox.h"
|
||||
#endif
|
||||
// Import Libbox Objective-C headers directly for Swift access
|
||||
#import "Libbox.objc.h"
|
||||
#import "Universe.objc.h"
|
||||
#import "ref.h"
|
||||
@@ -1993,6 +1993,10 @@
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)",
|
||||
);
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Libbox.xcframework/**",
|
||||
);
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
INFOPLIST_KEY_NSHumanReadableCopyright = "";
|
||||
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
||||
@@ -2048,6 +2052,10 @@
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)",
|
||||
);
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Libbox.xcframework/**",
|
||||
);
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
INFOPLIST_KEY_NSHumanReadableCopyright = "";
|
||||
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
||||
|
||||
Reference in New Issue
Block a user