From 6949e343e0b578db2cf7577bf15a88d98be15971 Mon Sep 17 00:00:00 2001 From: Norbel AMBANUMBEN Date: Thu, 8 Aug 2024 19:12:15 +0100 Subject: [PATCH] fix: error running on ios device --- iosApp/Podfile | 4 +++ iosApp/Podfile.lock | 11 +++++++- iosApp/iosApp.xcodeproj/project.pbxproj | 36 +++++++++++++++++++++++++ 3 files changed, 50 insertions(+), 1 deletion(-) diff --git a/iosApp/Podfile b/iosApp/Podfile index cf494a9c..8d25bbf2 100644 --- a/iosApp/Podfile +++ b/iosApp/Podfile @@ -8,6 +8,8 @@ ooni_pods_location = "https://github.com/ooni/probe-cli/releases/download/#{ooni target 'OONIProbe' do pod 'composeApp', :path => '../composeApp' + pod 'sqlite3', '~> 3.42.0' + pod "libcrypto", :podspec => "#{ooni_pods_location}/libcrypto.podspec" pod "libevent", :podspec => "#{ooni_pods_location}/libevent.podspec" pod "libssl", :podspec => "#{ooni_pods_location}/libssl.podspec" @@ -19,6 +21,8 @@ end target 'NewsMediaScan' do pod 'composeApp', :path => '../composeApp' + pod 'sqlite3', '~> 3.42.0' + pod "libcrypto", :podspec => "#{ooni_pods_location}/libcrypto.podspec" pod "libevent", :podspec => "#{ooni_pods_location}/libevent.podspec" pod "libssl", :podspec => "#{ooni_pods_location}/libssl.podspec" diff --git a/iosApp/Podfile.lock b/iosApp/Podfile.lock index 3339c30d..ba5da7f3 100644 --- a/iosApp/Podfile.lock +++ b/iosApp/Podfile.lock @@ -6,6 +6,9 @@ PODS: - libtor (2024.05.22-093305) - libz (2024.05.22-093305) - oonimkall (2024.05.22-093305) + - sqlite3 (3.42.0): + - sqlite3/common (= 3.42.0) + - sqlite3/common (3.42.0) DEPENDENCIES: - composeApp (from `../composeApp`) @@ -15,6 +18,11 @@ DEPENDENCIES: - libtor (from `https://github.com/ooni/probe-cli/releases/download/v3.22.0/libtor.podspec`) - libz (from `https://github.com/ooni/probe-cli/releases/download/v3.22.0/libz.podspec`) - oonimkall (from `https://github.com/ooni/probe-cli/releases/download/v3.22.0/oonimkall.podspec`) + - sqlite3 (~> 3.42.0) + +SPEC REPOS: + trunk: + - sqlite3 EXTERNAL SOURCES: composeApp: @@ -40,7 +48,8 @@ SPEC CHECKSUMS: libtor: c72b23da6a5d2e16173149784f11cf66156c35be libz: 83658eb2a0db785623ffdf9ce13407e6b8b5c8f9 oonimkall: 9768ce9dad18265d45d2ea972c84fb0bd5237cc3 + sqlite3: f163dbbb7aa3339ad8fc622782c2d9d7b72f7e9c -PODFILE CHECKSUM: 5bcb6ea084168cab14bd0cd0f6e4775194adbc48 +PODFILE CHECKSUM: c5dc5bf29da7489163ae2c4d6b438c4541281e5d COCOAPODS: 1.15.2 diff --git a/iosApp/iosApp.xcodeproj/project.pbxproj b/iosApp/iosApp.xcodeproj/project.pbxproj index 41631f95..a678e115 100644 --- a/iosApp/iosApp.xcodeproj/project.pbxproj +++ b/iosApp/iosApp.xcodeproj/project.pbxproj @@ -156,6 +156,7 @@ 7555FF79242A565900829871 /* Resources */, 93E977732C4FE022009CCABC /* ShellScript */, F57E468EACCE9B29FB4C68FC /* [CP] Copy Pods Resources */, + 11F17E981064A71B74C323DA /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -177,6 +178,7 @@ 79FBD0122C5A70AF004E041C /* Resources */, 79FBD0152C5A70AF004E041C /* ShellScript */, 06E00FBBFEA4B57236F98854 /* [CP] Copy Pods Resources */, + 3A3900471DFA31082B6AA60E /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -260,6 +262,23 @@ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-NewsMediaScan/Pods-NewsMediaScan-resources.sh\"\n"; showEnvVarsInLog = 0; }; + 11F17E981064A71B74C323DA /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-OONIProbe/Pods-OONIProbe-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-OONIProbe/Pods-OONIProbe-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-OONIProbe/Pods-OONIProbe-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; 2221CAC0E44786DF6A5501B8 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -304,6 +323,23 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; + 3A3900471DFA31082B6AA60E /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-NewsMediaScan/Pods-NewsMediaScan-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-NewsMediaScan/Pods-NewsMediaScan-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-NewsMediaScan/Pods-NewsMediaScan-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; 79FBD00B2C5A70AF004E041C /* Compile Kotlin Framework */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647;