omikit-plugin 3.2.48 → 3.2.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/omikit-plugin.podspec +7 -6
- package/package.json +1 -1
package/omikit-plugin.podspec
CHANGED
|
@@ -22,21 +22,22 @@ Pod::Spec.new do |s|
|
|
|
22
22
|
# Định nghĩa module để tránh lỗi Swift bridging header
|
|
23
23
|
s.static_framework = true
|
|
24
24
|
s.pod_target_xcconfig = {
|
|
25
|
-
"DEFINES_MODULE" => "YES"
|
|
26
|
-
"SWIFT_OBJC_INTERFACE_HEADER_NAME" => "omikit_plugin-Swift.h"
|
|
25
|
+
"DEFINES_MODULE" => "YES"
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
# Thêm dependency bắt buộc
|
|
30
29
|
s.dependency "React-Core"
|
|
31
30
|
s.dependency "OmiKit", "1.8.1"
|
|
32
31
|
|
|
33
|
-
# Xử lý riêng cho New Architecture
|
|
32
|
+
# Xử lý riêng cho kiến trúc mới (New Architecture)
|
|
34
33
|
if ENV['RCT_NEW_ARCH_ENABLED'] == '1'
|
|
35
34
|
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
|
|
36
35
|
s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
|
|
37
|
-
s.
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
s.xcconfig = {
|
|
37
|
+
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
|
|
38
|
+
"OTHER_CPLUSPLUSFLAGS" => folly_compiler_flags,
|
|
39
|
+
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
|
|
40
|
+
}
|
|
40
41
|
s.dependency "React-Codegen"
|
|
41
42
|
s.dependency "RCT-Folly"
|
|
42
43
|
s.dependency "RCTRequired"
|