diff --git a/frontend/drivers/platform_darwin.m b/frontend/drivers/platform_darwin.m index 79398a70c3..47f0a481ec 100644 --- a/frontend/drivers/platform_darwin.m +++ b/frontend/drivers/platform_darwin.m @@ -454,7 +454,7 @@ static void frontend_darwin_get_env(int *argc, char *argv[], application_data ); NSString *bundleVersionString = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]; - NSInteger bundleVersion = [bundleVersionString integerValue]; + NSInteger bundleVersion = [bundleVersionString integerValue] || 1; configuration_set_uint(settings, settings->uints.bundle_assets_extract_version_current, (uint)bundleVersion); } diff --git a/pkg/apple/RetroArch_Metal.xcodeproj/project.pbxproj b/pkg/apple/RetroArch_Metal.xcodeproj/project.pbxproj index acc2f616f4..62a0bc333f 100644 --- a/pkg/apple/RetroArch_Metal.xcodeproj/project.pbxproj +++ b/pkg/apple/RetroArch_Metal.xcodeproj/project.pbxproj @@ -1805,6 +1805,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; + CURRENT_PROJECT_VERSION = 1; ENABLE_HARDENED_RUNTIME = YES; }; name = Debug; @@ -1815,6 +1816,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; + CURRENT_PROJECT_VERSION = 1; ENABLE_HARDENED_RUNTIME = YES; }; name = Release;