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];