simplejsble 0.0.25 → 0.0.26
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/NitroSimplejsble.podspec +2 -20
- package/package.json +1 -1
package/NitroSimplejsble.podspec
CHANGED
|
@@ -10,7 +10,7 @@ Pod::Spec.new do |s|
|
|
|
10
10
|
s.license = package["license"]
|
|
11
11
|
s.authors = package["author"]
|
|
12
12
|
|
|
13
|
-
s.platforms = { :ios => min_ios_version_supported
|
|
13
|
+
s.platforms = { :ios => min_ios_version_supported }
|
|
14
14
|
|
|
15
15
|
s.source = { :path => "." }
|
|
16
16
|
|
|
@@ -72,24 +72,13 @@ Pod::Spec.new do |s|
|
|
|
72
72
|
echo "SimpleBLE build complete!"
|
|
73
73
|
echo "XCFramework created at: ${XCFRAMEWORK_PATH}"
|
|
74
74
|
fi
|
|
75
|
-
|
|
76
|
-
# Build macOS XCFramework if not present
|
|
77
|
-
if [ -d "macos/SimpleBLE-macos.xcframework" ]; then
|
|
78
|
-
echo "SimpleBLE-macos.xcframework already exists, skipping build"
|
|
79
|
-
else
|
|
80
|
-
echo "Building SimpleBLE for macOS..."
|
|
81
|
-
chmod +x macos/build_simpleble.sh
|
|
82
|
-
macos/build_simpleble.sh
|
|
83
|
-
fi
|
|
84
75
|
CMD
|
|
85
76
|
|
|
86
77
|
s.source_files = [
|
|
87
78
|
# Implementation (Swift)
|
|
88
79
|
"ios/**/*.{swift}",
|
|
89
|
-
"macos/**/*.{swift}",
|
|
90
80
|
# Autolinking/Registration (Objective-C++)
|
|
91
81
|
"ios/**/*.{m,mm}",
|
|
92
|
-
"macos/**/*.{m,mm}",
|
|
93
82
|
# Implementation (C++ objects)
|
|
94
83
|
"cpp/**/*.{hpp,cpp}",
|
|
95
84
|
]
|
|
@@ -104,15 +93,11 @@ Pod::Spec.new do |s|
|
|
|
104
93
|
s.dependency 'React-callinvoker'
|
|
105
94
|
install_modules_dependencies(s)
|
|
106
95
|
|
|
107
|
-
# Required frameworks for SimpleBLE
|
|
96
|
+
# Required frameworks for SimpleBLE
|
|
108
97
|
s.frameworks = ['Foundation', 'CoreBluetooth']
|
|
109
98
|
|
|
110
|
-
# macOS-specific frameworks (IOBluetooth/IOKit for USB dongle support)
|
|
111
|
-
s.osx.frameworks = ['Foundation', 'CoreBluetooth', 'IOBluetooth', 'IOKit']
|
|
112
|
-
|
|
113
99
|
# Vendored XCFramework containing all architectures
|
|
114
100
|
s.ios.vendored_frameworks = 'ios/SimpleBLE.xcframework'
|
|
115
|
-
s.osx.vendored_frameworks = 'macos/SimpleBLE-macos.xcframework'
|
|
116
101
|
|
|
117
102
|
# Configure header search paths for SimpleBLE
|
|
118
103
|
current_pod_target_xcconfig = s.attributes_hash['pod_target_xcconfig'] || {}
|
|
@@ -122,9 +107,6 @@ Pod::Spec.new do |s|
|
|
|
122
107
|
# iOS header paths
|
|
123
108
|
'"$(PODS_TARGET_SRCROOT)/ios/simpleble_iphoneos_arm64/include"',
|
|
124
109
|
'"$(PODS_TARGET_SRCROOT)/ios/simpleble_iphonesimulator_arm64/include"',
|
|
125
|
-
# macOS header paths
|
|
126
|
-
'"$(PODS_TARGET_SRCROOT)/macos/simpleble_macosx_arm64/include"',
|
|
127
|
-
'"$(PODS_TARGET_SRCROOT)/macos/simpleble_macosx_x86_64/include"',
|
|
128
110
|
].join(' '),
|
|
129
111
|
})
|
|
130
112
|
end
|