ilabs-flir 2.1.35 → 2.1.36
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/Flir.podspec +11 -4
- package/package.json +1 -1
package/Flir.podspec
CHANGED
|
@@ -36,14 +36,21 @@ Pod::Spec.new do |s|
|
|
|
36
36
|
|
|
37
37
|
# Ensure React headers are available to this Pod across various RN/CocoaPods layouts
|
|
38
38
|
# (helps when headers are in different public/private/ReactCore locations or when using use_frameworks)
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
begin
|
|
40
|
+
existing = s.pod_target_xcconfig rescue {}
|
|
41
|
+
end
|
|
42
|
+
existing_hdrs = existing.is_a?(Hash) ? (existing['HEADER_SEARCH_PATHS'] || '$(inherited)') : '$(inherited)'
|
|
41
43
|
hdrs = [existing_hdrs,
|
|
42
44
|
'"${PODS_ROOT}/Headers/Public/React"',
|
|
43
45
|
'"${PODS_ROOT}/Headers/Public/React-Core"',
|
|
44
46
|
'"${PODS_ROOT}/Headers/Public/ReactCommon"',
|
|
45
|
-
'"${PODS_ROOT}/Headers/Public/React-CoreModules"']
|
|
46
|
-
|
|
47
|
+
'"${PODS_ROOT}/Headers/Public/React-CoreModules"'].join(' ')
|
|
48
|
+
begin
|
|
49
|
+
s.pod_target_xcconfig = (existing || {}).merge('HEADER_SEARCH_PATHS' => hdrs)
|
|
50
|
+
rescue NoMethodError
|
|
51
|
+
# Fallback for older CocoaPods that don't support pod_target_xcconfig
|
|
52
|
+
s.user_target_xcconfig = (s.user_target_xcconfig || {}).merge('HEADER_SEARCH_PATHS' => hdrs)
|
|
53
|
+
end
|
|
47
54
|
|
|
48
55
|
|
|
49
56
|
# ==========================================================================
|