diff --git a/example/ios/Podfile b/example/ios/Podfile index d81044f0f..320f30ba7 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -50,6 +50,9 @@ target 'xmtpreactnativesdkexample' do pod 'secp256k1.swift', :modular_headers => true + # See https://github.com/margelo/react-native-quick-crypto/issues/189#issuecomment-1711561970 + pod "OpenSSL-Universal", "1.1.2200" + use_react_native!( :path => config[:reactNativePath], :hermes_enabled => podfile_properties['expo.jsEngine'] == nil || podfile_properties['expo.jsEngine'] == 'hermes', diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 57bf7ac76..b17ba151c 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,6 +1,12 @@ PODS: - BigInt (5.0.0) - boost (1.76.0) + - CoinbaseWalletSDK/Client (1.0.4) + - CoinbaseWalletSDK/CrossPlatform (1.0.4): + - CoinbaseWalletSDK/Client + - CoinbaseWalletSDKExpo (1.0.7): + - CoinbaseWalletSDK/CrossPlatform (= 1.0.4) + - ExpoModulesCore - Connect-Swift (0.3.0): - SwiftProtobuf (~> 1.20.3) - DoubleConversion (1.1.6) @@ -17,6 +23,8 @@ PODS: - React-Core - Expo (48.0.21): - ExpoModulesCore + - ExpoClipboard (4.5.0): + - ExpoModulesCore - ExpoDocumentPicker (11.7.0): - ExpoModulesCore - ExpoImagePicker (14.5.0): @@ -27,6 +35,8 @@ PODS: - React-Core - React-RCTAppDelegate - ReactCommon/turbomodule/core + - ExpoSecureStore (12.5.0): + - ExpoModulesCore - EXSplashScreen (0.18.2): - ExpoModulesCore - React-Core @@ -51,6 +61,7 @@ PODS: - MMKV (1.3.2): - MMKVCore (~> 1.3.2) - MMKVCore (1.3.2) + - OpenSSL-Universal (1.1.2200) - RCT-Folly (2021.07.22.00): - boost - DoubleConversion @@ -306,9 +317,22 @@ PODS: - React-Core - react-native-encrypted-storage (4.0.3): - React-Core + - react-native-get-random-values (1.10.0): + - React-Core - react-native-mmkv (2.11.0): - MMKV (>= 1.2.13) - React-Core + - react-native-netinfo (11.2.0): + - React-Core + - react-native-quick-base64 (2.0.8): + - React-Core + - react-native-quick-crypto (0.6.1): + - OpenSSL-Universal + - React + - React-callinvoker + - React-Core + - react-native-randombytes (3.6.1): + - React-Core - react-native-safe-area-context (4.5.0): - RCT-Folly - RCTRequired @@ -399,6 +423,8 @@ PODS: - React-jsi (= 0.71.14) - React-logger (= 0.71.14) - React-perflogger (= 0.71.14) + - RNCAsyncStorage (1.21.0): + - React-Core - RNScreens (3.20.0): - React-Core - React-RCTImage @@ -425,6 +451,7 @@ PODS: DEPENDENCIES: - boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`) + - "CoinbaseWalletSDKExpo (from `../node_modules/@coinbase/wallet-mobile-sdk/ios`)" - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) - EXApplication (from `../node_modules/expo-application/ios`) - EXConstants (from `../node_modules/expo-constants/ios`) @@ -432,16 +459,19 @@ DEPENDENCIES: - EXFont (from `../node_modules/expo-font/ios`) - EXImageLoader (from `../node_modules/expo-image-loader/ios`) - Expo (from `../node_modules/expo`) + - ExpoClipboard (from `../node_modules/expo-clipboard/ios`) - ExpoDocumentPicker (from `../node_modules/expo-document-picker/ios`) - ExpoImagePicker (from `../node_modules/expo-image-picker/ios`) - ExpoKeepAwake (from `../node_modules/expo-keep-awake/ios`) - ExpoModulesCore (from `../node_modules/expo-modules-core`) + - ExpoSecureStore (from `../node_modules/expo-secure-store/ios`) - EXSplashScreen (from `../node_modules/expo-splash-screen/ios`) - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) - FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`) - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) - hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`) - libevent (~> 2.1.12) + - OpenSSL-Universal (= 1.1.2200) - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) @@ -459,7 +489,12 @@ DEPENDENCIES: - React-logger (from `../node_modules/react-native/ReactCommon/logger`) - react-native-blob-util (from `../node_modules/react-native-blob-util`) - react-native-encrypted-storage (from `../node_modules/react-native-encrypted-storage`) + - react-native-get-random-values (from `../node_modules/react-native-get-random-values`) - react-native-mmkv (from `../node_modules/react-native-mmkv`) + - "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)" + - react-native-quick-base64 (from `../node_modules/react-native-quick-base64`) + - react-native-quick-crypto (from `../node_modules/react-native-quick-crypto`) + - react-native-randombytes (from `../node_modules/react-native-randombytes`) - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) - React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`) - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) @@ -474,6 +509,7 @@ DEPENDENCIES: - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`) - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) + - "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)" - RNScreens (from `../node_modules/react-native-screens`) - RNSVG (from `../node_modules/react-native-svg`) - secp256k1.swift @@ -483,6 +519,7 @@ DEPENDENCIES: SPEC REPOS: trunk: - BigInt + - CoinbaseWalletSDK - Connect-Swift - fmt - GenericJSON @@ -492,6 +529,7 @@ SPEC REPOS: - MessagePacker - MMKV - MMKVCore + - OpenSSL-Universal - secp256k1.swift - SwiftProtobuf - web3.swift @@ -501,6 +539,8 @@ SPEC REPOS: EXTERNAL SOURCES: boost: :podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec" + CoinbaseWalletSDKExpo: + :path: "../node_modules/@coinbase/wallet-mobile-sdk/ios" DoubleConversion: :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" EXApplication: @@ -515,6 +555,8 @@ EXTERNAL SOURCES: :path: "../node_modules/expo-image-loader/ios" Expo: :path: "../node_modules/expo" + ExpoClipboard: + :path: "../node_modules/expo-clipboard/ios" ExpoDocumentPicker: :path: "../node_modules/expo-document-picker/ios" ExpoImagePicker: @@ -523,6 +565,8 @@ EXTERNAL SOURCES: :path: "../node_modules/expo-keep-awake/ios" ExpoModulesCore: :path: "../node_modules/expo-modules-core" + ExpoSecureStore: + :path: "../node_modules/expo-secure-store/ios" EXSplashScreen: :path: "../node_modules/expo-splash-screen/ios" FBLazyVector: @@ -565,8 +609,18 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native-blob-util" react-native-encrypted-storage: :path: "../node_modules/react-native-encrypted-storage" + react-native-get-random-values: + :path: "../node_modules/react-native-get-random-values" react-native-mmkv: :path: "../node_modules/react-native-mmkv" + react-native-netinfo: + :path: "../node_modules/@react-native-community/netinfo" + react-native-quick-base64: + :path: "../node_modules/react-native-quick-base64" + react-native-quick-crypto: + :path: "../node_modules/react-native-quick-crypto" + react-native-randombytes: + :path: "../node_modules/react-native-randombytes" react-native-safe-area-context: :path: "../node_modules/react-native-safe-area-context" React-perflogger: @@ -595,6 +649,8 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/runtimeexecutor" ReactCommon: :path: "../node_modules/react-native/ReactCommon" + RNCAsyncStorage: + :path: "../node_modules/@react-native-async-storage/async-storage" RNScreens: :path: "../node_modules/react-native-screens" RNSVG: @@ -607,6 +663,8 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: BigInt: 74b4d88367b0e819d9f77393549226d36faeb0d8 boost: 57d2868c099736d80fcd648bf211b4431e51a558 + CoinbaseWalletSDK: ea1f37512bbc69ebe07416e3b29bf840f5cc3152 + CoinbaseWalletSDKExpo: 89f8ad7f799227be7aff2b9353b7a77d37eb8283 Connect-Swift: d38eedc1907d440314f8d26d5a038a00cbb0f6f1 DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 EXApplication: d8f53a7eee90a870a75656280e8d4b85726ea903 @@ -615,10 +673,12 @@ SPEC CHECKSUMS: EXFont: 6ea3800df746be7233208d80fe379b8ed74f4272 EXImageLoader: 03063370bc06ea1825713d3f55fe0455f7c88d04 Expo: 0d9f112757acc6bf32103eabccf91267780bd580 + ExpoClipboard: d2f0e44d50e5ba07b02f5fb7bd280178b420e24e ExpoDocumentPicker: d3b6b0ed2dbbc2f05158e0294dd3f4673f386e5f ExpoImagePicker: 9e5c745cb3e56ee00e1cfe5d6af59caab66ecf1a ExpoKeepAwake: 69f5f627670d62318410392d03e0b5db0f85759a ExpoModulesCore: 653958063a301098b541ae4dfed1ac0b98db607b + ExpoSecureStore: 5372610a4bbcf5e50fafbe6f38f8d9c22edf8253 EXSplashScreen: 0e0a9ba0cf7553094e93213099bd7b42e6e237e9 FBLazyVector: 12ea01e587c9594e7b144e1bfc86ac4d9ac28fde FBReactNativeSpec: b6ae48e67aaba46442f84d6f9ba598ccfbe2ee66 @@ -632,6 +692,7 @@ SPEC CHECKSUMS: MessagePacker: ab2fe250e86ea7aedd1a9ee47a37083edd41fd02 MMKV: f21593c0af4b3f2a0ceb8f820f28bb639ea22bb7 MMKVCore: 31b4cb83f8266467eef20a35b6d78e409a11060d + OpenSSL-Universal: 6e1ae0555546e604dbc632a2b9a24a9c46c41ef6 RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1 RCTRequired: e9df143e880d0e879e7a498dc06923d728809c79 RCTTypeSafety: c2d89c8308829c12c038ec1f431191eaa0d8c15c @@ -648,7 +709,12 @@ SPEC CHECKSUMS: React-logger: 655ff5db8bd922acfbe76a4983ffab048916343e react-native-blob-util: 30a6c9fd067aadf9177e61a998f2c7efb670598d react-native-encrypted-storage: db300a3f2f0aba1e818417c1c0a6be549038deb7 + react-native-get-random-values: 384787fd76976f5aec9465aff6fa9e9129af1e74 react-native-mmkv: e97c0c79403fb94577e5d902ab1ebd42b0715b43 + react-native-netinfo: 25c87e28495d955b30aeca9c22594691668c907a + react-native-quick-base64: 777057ea4286f806b00259ede65dc79c7c706320 + react-native-quick-crypto: 455c1b411db006dba1026a30681ececb19180187 + react-native-randombytes: 421f1c7d48c0af8dbcd471b0324393ebf8fe7846 react-native-safe-area-context: 39c2d8be3328df5d437ac1700f4f3a4f75716acc React-perflogger: 4987ad83731c23d11813c84263963b0d3028c966 React-RCTActionSheet: 5ad952b2a9740d87a5bd77280c4bc23f6f89ea0c @@ -663,6 +729,7 @@ SPEC CHECKSUMS: React-RCTVibration: 64e412b9ac684c4edc938fa1187135ada9af7faf React-runtimeexecutor: ffe826b7b1cfbc32a35ed5b64d5886c0ff75f501 ReactCommon: 7f3dd5e98a9ec627c6b03d26c062bf37ea9fc888 + RNCAsyncStorage: 618d03a5f52fbccb3d7010076bc54712844c18ef RNScreens: 218801c16a2782546d30bd2026bb625c0302d70f RNSVG: d00c8f91c3cbf6d476451313a18f04d220d4f396 secp256k1.swift: a7e7a214f6db6ce5db32cc6b2b45e5c4dd633634 @@ -673,6 +740,6 @@ SPEC CHECKSUMS: XMTPRust: 8848a2ba761b2c961d666632f2ad27d1082faa93 Yoga: e71803b4c1fff832ccf9b92541e00f9b873119b9 -PODFILE CHECKSUM: 522d88edc2d5fac4825e60a121c24abc18983367 +PODFILE CHECKSUM: 198f653f81532688b4006dd0f4b2ac66df8b4f37 COCOAPODS: 1.14.3 diff --git a/example/ios/xmtpreactnativesdkexample.xcodeproj/project.pbxproj b/example/ios/xmtpreactnativesdkexample.xcodeproj/project.pbxproj index 636f1947d..ed7972a8f 100644 --- a/example/ios/xmtpreactnativesdkexample.xcodeproj/project.pbxproj +++ b/example/ios/xmtpreactnativesdkexample.xcodeproj/project.pbxproj @@ -293,10 +293,12 @@ ); inputPaths = ( "${PODS_ROOT}/Target Support Files/Pods-xmtpreactnativesdkexample/Pods-xmtpreactnativesdkexample-frameworks.sh", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL", "${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermes.framework/hermes", ); name = "[CP] Embed Pods Frameworks"; outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OpenSSL.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework", ); runOnlyForDeploymentPostprocessing = 0;