Skip to content

Commit

Permalink
Use resources rather than resource bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed May 2, 2024
1 parent 30527bd commit 7ff9130
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/realm/ios/realm.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions packages/realm/macos/realm.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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

0 comments on commit 7ff9130

Please sign in to comment.