@doorstepai/dropoff-sdk 1.0.12 → 1.0.14

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.
@@ -13,9 +13,25 @@ Pod::Spec.new do |s|
13
13
  s.platforms = { :ios => min_ios_version_supported }
14
14
  s.source = { :git => "https://github.com/doorstep-ai/DoorstepAIDropoffReactNativeSDK", :tag => "#{s.version}" }
15
15
 
16
- s.source_files = "ios/**/*.{h,m,mm,swift}"
16
+ s.static_framework = true
17
17
 
18
- s.vendored_frameworks = "ios/DoorstepDropoffSDK.xcframework"
18
+ # Split the pod into a binary slice that only delivers the XCFramework
19
+ # and a code slice that contains the Swift / Obj-C bridge. By making the
20
+ # code slice depend on the binary one we guarantee the framework is
21
+ # present (and on the search-path) when the Swift files are compiled.
22
+
23
+ s.subspec 'Binary' do |ss|
24
+ ss.vendored_frameworks = "ios/DoorstepDropoffSDK.xcframework"
25
+ end
26
+
27
+ s.subspec 'Core' do |ss|
28
+ ss.source_files = "ios/**/*.{h,m,mm,swift}"
29
+ ss.exclude_files = "ios/DoorstepDropoffSDK.xcframework"
30
+ ss.dependency "#{s.name}/Binary"
31
+ end
32
+
33
+ # Have the umbrella spec pull both subspecs in by default
34
+ s.default_subspecs = 'Binary', 'Core'
19
35
 
20
36
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
21
37
  # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
@@ -24,4 +40,9 @@ if respond_to?(:install_modules_dependencies, true)
24
40
  else
25
41
  s.dependency "React-Core"
26
42
  end
43
+
44
+ s.pod_target_xcconfig = {
45
+ 'FRAMEWORK_SEARCH_PATHS' => '$(PODS_XCFRAMEWORKS_BUILD_DIR)/DoorstepDropoffSDK',
46
+ 'OTHER_SWIFT_FLAGS' => '-framework DoorstepDropoffSDK'
47
+ }
27
48
  end
@@ -10,18 +10,15 @@
10
10
  <key>DebugSymbolsPath</key>
11
11
  <string>dSYMs</string>
12
12
  <key>LibraryIdentifier</key>
13
- <string>ios-arm64_x86_64-simulator</string>
13
+ <string>ios-arm64</string>
14
14
  <key>LibraryPath</key>
15
15
  <string>DoorstepDropoffSDK.framework</string>
16
16
  <key>SupportedArchitectures</key>
17
17
  <array>
18
18
  <string>arm64</string>
19
- <string>x86_64</string>
20
19
  </array>
21
20
  <key>SupportedPlatform</key>
22
21
  <string>ios</string>
23
- <key>SupportedPlatformVariant</key>
24
- <string>simulator</string>
25
22
  </dict>
26
23
  <dict>
27
24
  <key>BinaryPath</key>
@@ -29,15 +26,18 @@
29
26
  <key>DebugSymbolsPath</key>
30
27
  <string>dSYMs</string>
31
28
  <key>LibraryIdentifier</key>
32
- <string>ios-arm64</string>
29
+ <string>ios-arm64_x86_64-simulator</string>
33
30
  <key>LibraryPath</key>
34
31
  <string>DoorstepDropoffSDK.framework</string>
35
32
  <key>SupportedArchitectures</key>
36
33
  <array>
37
34
  <string>arm64</string>
35
+ <string>x86_64</string>
38
36
  </array>
39
37
  <key>SupportedPlatform</key>
40
38
  <string>ios</string>
39
+ <key>SupportedPlatformVariant</key>
40
+ <string>simulator</string>
41
41
  </dict>
42
42
  </array>
43
43
  <key>CFBundlePackageType</key>
@@ -10,7 +10,7 @@
10
10
  </data>
11
11
  <key>Info.plist</key>
12
12
  <data>
13
- Onhrnsbnwj16dfQRwMQFq1grVpw=
13
+ 5uh18nJzDajW7B+WEEb74nQ9Y0s=
14
14
  </data>
15
15
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.abi.json</key>
16
16
  <data>
@@ -10,7 +10,7 @@
10
10
  </data>
11
11
  <key>Info.plist</key>
12
12
  <data>
13
- klGDxqNkQnzhkAODJqE1pcLbfro=
13
+ Xmw877et7/WqQCZNmMEsBqEDKkk=
14
14
  </data>
15
15
  <key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
16
16
  <data>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doorstepai/dropoff-sdk",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "doorstep.ai dropoff sdk for React Native",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/module/index.js",