munim-wifi 0.1.6 → 0.1.8
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/MunimWifi.podspec +8 -2
- package/package.json +1 -1
package/MunimWifi.podspec
CHANGED
|
@@ -29,10 +29,16 @@ Pod::Spec.new do |s|
|
|
|
29
29
|
# The generated iOS bridge files include headers like "ScanOptions.hpp"
|
|
30
30
|
# which are located in nitrogen/generated/shared/c++/
|
|
31
31
|
# Use USER_HEADER_SEARCH_PATHS for quoted includes (user headers)
|
|
32
|
-
|
|
32
|
+
# Also add HEADER_SEARCH_PATHS as a fallback
|
|
33
|
+
# Get the xcconfig that was set by add_nitrogen_files
|
|
34
|
+
existing_xcconfig = s.pod_target_xcconfig || {}
|
|
33
35
|
current_user_header_paths = existing_xcconfig['USER_HEADER_SEARCH_PATHS'] || '$(inherited)'
|
|
36
|
+
current_header_paths = existing_xcconfig['HEADER_SEARCH_PATHS'] || '$(inherited)'
|
|
37
|
+
# Use PODS_TARGET_SRCROOT which points to the pod's source directory
|
|
38
|
+
shared_header_path = '$(PODS_TARGET_SRCROOT)/nitrogen/generated/shared/c++'
|
|
34
39
|
s.pod_target_xcconfig = existing_xcconfig.merge({
|
|
35
|
-
"USER_HEADER_SEARCH_PATHS" => "#{current_user_header_paths}
|
|
40
|
+
"USER_HEADER_SEARCH_PATHS" => "#{current_user_header_paths} \"#{shared_header_path}\"",
|
|
41
|
+
"HEADER_SEARCH_PATHS" => "#{current_header_paths} \"#{shared_header_path}\""
|
|
36
42
|
})
|
|
37
43
|
|
|
38
44
|
s.dependency 'React-jsi'
|