Skip to content

Commit

Permalink
fix: error running on ios device
Browse files Browse the repository at this point in the history
  • Loading branch information
aanorbel committed Aug 8, 2024
1 parent fb3d610 commit 6949e34
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 1 deletion.
4 changes: 4 additions & 0 deletions iosApp/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
11 changes: 10 additions & 1 deletion iosApp/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
Expand All @@ -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:
Expand All @@ -40,7 +48,8 @@ SPEC CHECKSUMS:
libtor: c72b23da6a5d2e16173149784f11cf66156c35be
libz: 83658eb2a0db785623ffdf9ce13407e6b8b5c8f9
oonimkall: 9768ce9dad18265d45d2ea972c84fb0bd5237cc3
sqlite3: f163dbbb7aa3339ad8fc622782c2d9d7b72f7e9c

PODFILE CHECKSUM: 5bcb6ea084168cab14bd0cd0f6e4775194adbc48
PODFILE CHECKSUM: c5dc5bf29da7489163ae2c4d6b438c4541281e5d

COCOAPODS: 1.15.2
36 changes: 36 additions & 0 deletions iosApp/iosApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
7555FF79242A565900829871 /* Resources */,
93E977732C4FE022009CCABC /* ShellScript */,
F57E468EACCE9B29FB4C68FC /* [CP] Copy Pods Resources */,
11F17E981064A71B74C323DA /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand All @@ -177,6 +178,7 @@
79FBD0122C5A70AF004E041C /* Resources */,
79FBD0152C5A70AF004E041C /* ShellScript */,
06E00FBBFEA4B57236F98854 /* [CP] Copy Pods Resources */,
3A3900471DFA31082B6AA60E /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 6949e34

Please sign in to comment.