From c62d21e5cc20f6140656e7bfac029aa6dc06e0c0 Mon Sep 17 00:00:00 2001 From: John Smith Date: Sun, 27 Nov 2022 22:42:34 -0500 Subject: [PATCH] ios work --- .../veilidtools-tests.xcodeproj/project.pbxproj | 8 ++++++++ veilid-tools/src/tests/mod.rs | 1 + 2 files changed, 9 insertions(+) diff --git a/veilid-tools/src/tests/ios/veilidtools-tests/veilidtools-tests.xcodeproj/project.pbxproj b/veilid-tools/src/tests/ios/veilidtools-tests/veilidtools-tests.xcodeproj/project.pbxproj index 51f168d3..d840dc66 100644 --- a/veilid-tools/src/tests/ios/veilidtools-tests/veilidtools-tests.xcodeproj/project.pbxproj +++ b/veilid-tools/src/tests/ios/veilidtools-tests/veilidtools-tests.xcodeproj/project.pbxproj @@ -341,6 +341,10 @@ "@executable_path/Frameworks", ); OTHER_LDFLAGS = ""; + "OTHER_LDFLAGS[sdk=iphoneos*]" = ( + "-L../../../../../target/lipo-ios/debug", + "-lveilid_tools", + ); "OTHER_LDFLAGS[sdk=iphonesimulator*]" = ( "-L../../../../../target/lipo-ios-sim/debug", "-lveilid_tools", @@ -371,6 +375,10 @@ "@executable_path/Frameworks", ); OTHER_LDFLAGS = ""; + "OTHER_LDFLAGS[sdk=iphoneos*]" = ( + "-L../../../../../target/lipo-ios/release", + "-lveilid_tools", + ); "OTHER_LDFLAGS[sdk=iphonesimulator*]" = ( "-L../../../../../target/lipo-ios-sim/release", "-lveilid_tools", diff --git a/veilid-tools/src/tests/mod.rs b/veilid-tools/src/tests/mod.rs index 7208386a..e10c08c2 100644 --- a/veilid-tools/src/tests/mod.rs +++ b/veilid-tools/src/tests/mod.rs @@ -6,6 +6,7 @@ mod ios; #[cfg(not(target_arch = "wasm32"))] mod native; +#[allow(unused_imports)] use super::*; pub use common::*;