From 7ff9130187a186a7cd9b90e0375a00d371ebacd6 Mon Sep 17 00:00:00 2001 From: Nikola Irinchev Date: Thu, 2 May 2024 13:54:41 +0200 Subject: [PATCH] Use resources rather than resource bundles --- packages/realm/ios/realm.podspec | 2 +- packages/realm/macos/realm.podspec | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/realm/ios/realm.podspec b/packages/realm/ios/realm.podspec index 9be033953..456b6455d 100644 --- a/packages/realm/ios/realm.podspec +++ b/packages/realm/ios/realm.podspec @@ -63,5 +63,5 @@ Pod::Spec.new do |s| :execution_position => :before_compile } ] - s.resource_bundles = { 'realm_privacy' => [ 'Resources/PrivacyInfo.xcprivacy' ] } + s.resources = 'Resources/PrivacyInfo.xcprivacy' end \ No newline at end of file diff --git a/packages/realm/macos/realm.podspec b/packages/realm/macos/realm.podspec index f6a96dc5f..14e7e9480 100644 --- a/packages/realm/macos/realm.podspec +++ b/packages/realm/macos/realm.podspec @@ -17,9 +17,9 @@ if realmLibraryPath.include?("packages/realm/") && !File.exist?(realmLibraryPath if !File.exist?(absoluteRealRealmLibPath) raise "Realm macos library does not exists in realm-dart repo at path #{absoluteRealRealmLibPath}" end - + # create an absolute symlink to realm flutter macos lib librealm_dart.dylib - File.symlink(absoluteRealRealmLibPath, realmLibraryPath); + File.symlink(absoluteRealRealmLibPath, realmLibraryPath); end # This works cause realm plugin is always accessed through the .symlinks directory. @@ -65,5 +65,5 @@ Pod::Spec.new do |s| :execution_position => :before_compile } ] - s.resource_bundles = { 'realm_privacy' => [ 'Resources/PrivacyInfo.xcprivacy' ] } + s.resources = 'Resources/PrivacyInfo.xcprivacy' end