From c1af4fbb4d99bbad969f27483f815c07aa380e1c Mon Sep 17 00:00:00 2001 From: scawful Date: Fri, 2 Aug 2024 15:35:38 -0400 Subject: [PATCH] update macros for iOS file path impl --- src/app/core/platform/file_path.mm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/core/platform/file_path.mm b/src/app/core/platform/file_path.mm index 74dccef7..c07b14ae 100644 --- a/src/app/core/platform/file_path.mm +++ b/src/app/core/platform/file_path.mm @@ -5,9 +5,7 @@ #include #include -#if TARGET_IPHONE_SIMULATOR == 1 -std::string GetBundleResourcePath() {} -#elif TARGET_OS_IPHONE == 1 +#if TARGET_IPHONE_SIMULATOR == 1 || TARGET_OS_IPHONE == 1 std::string GetBundleResourcePath() { NSBundle* bundle = [NSBundle mainBundle]; NSString* resourceDirectoryPath = [bundle bundlePath];