Skip to content

Commit

Permalink
Wrong test for local development
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsenko committed Mar 20, 2024
1 parent 387c5be commit 4df5ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/realm/macos/realm.podspec
Expand Up @@ -11,7 +11,7 @@ realmLibName = "librealm_dart.dylib"
# We need to create an absolute symlink to librealm_dart.dylib otherwises
# Cocoapods and Xcode build look for different files from different base directories while handling `vendored_libraries`
realmLibraryPath = "#{realmPackageDir}/#{realmLibName}";
if realmLibraryPath.include?("realm/") && !File.exist?(realmLibraryPath)
if realmLibraryPath.include?("packages/realm/") && !File.exist?(realmLibraryPath)
absoluteRealRealmLibPath = File.realpath("#{realmPackageDir}/../../realm_dart/binary/macos/#{realmLibName}")

if !File.exist?(absoluteRealRealmLibPath)
Expand Down

0 comments on commit 4df5ab5

Please sign in to comment.