Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RCOCOA-2343 Enable building RealmSwift as a dynamic framework with SPM #8561

Merged
merged 1 commit into from
Apr 30, 2024

Force Realm to be built as a dynamic library when installing via SPM

2ca5c82
Select commit
Loading
Failed to load commit list.
Merged

RCOCOA-2343 Enable building RealmSwift as a dynamic framework with SPM #8561

Force Realm to be built as a dynamic library when installing via SPM
2ca5c82
Select commit
Loading
Failed to load commit list.
Xcode Cloud / RealmSwift | osx_15.2 | Test - macOS succeeded Apr 30, 2024 in 9m 40s

14 warnings

Report Summary
Errors 0
Test Failures 0
Analysis Issues 0
Warnings 14

Details

14 Warnings

Details

  Realm/RLMAsyncTask_Private.h:21
      Double-quoted include "RLMRealm_Private.h" in framework header, expected angle-bracketed instead
  not stripping binary because it is signed: /Volumes/workspace/DerivedData/Build/Products/Release/Realm.framework/Versions/A/Realm
  Realm/RLMResults_Private.h:21
      Double-quoted include "RLMRealm_Private.h" in framework header, expected angle-bracketed instead
  Direct access in function 'makeError(realm::SyncError&&, std::__1::shared_ptr const&)' from file '/Volumes/workspace/DerivedData/Build/Intermediates.noindex/Realm.build/Release/Realm.build/Objects-normal/arm64/Realm_lto.o/17.arm64.thinlto.o' to global weak symbol 'realm::SyncError::c_original_file_path_key' from file '/Volumes/workspace/DerivedData/Build/Products/Release/librealm-monorepo.a(sync_session.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
  Realm/TestUtils/include/TestUtils.h:38
      Pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
  Direct access in function 'realm::sync::InstructionApplier::operator()(realm::sync::instr::SetErase const&)::SetEraseResolver::on_set(realm::SetBase&)' from file '/Volumes/workspace/DerivedData/Build/Products/Release/librealm-monorepo.a(instruction_applier.o)' to global weak symbol 'typeinfo for realm::Set' from file '/Volumes/workspace/DerivedData/Build/Products/Release/librealm-monorepo.a(set.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
  No App Category is set for target 'TestHost'. Set a category by using the General tab for your target, or by adding an appropriate LSApplicationCategory value to your Info.plist.
  Direct access in function 'realm::sync::InstructionApplier::operator()(realm::sync::instr::SetInsert const&)::SetInsertResolver::on_set(realm::SetBase&)' from file '/Volumes/workspace/DerivedData/Build/Products/Release/librealm-monorepo.a(instruction_applier.o)' to global weak symbol 'typeinfo for realm::Set' from file '/Volumes/workspace/DerivedData/Build/Products/Release/librealm-monorepo.a(set.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
  Realm/TestUtils/TestUtils.mm:176
      Unused function 'fakeJWT'
  Direct access in function 'makeError(realm::SyncError&&, std::__1::shared_ptr const&)' from file '/Volumes/workspace/DerivedData/Build/Intermediates.noindex/Realm.build/Release/Realm.build/Objects-normal/arm64/Realm_lto.o/17.arm64.thinlto.o' to global weak symbol 'realm::SyncError::c_recovery_file_path_key' from file '/Volumes/workspace/DerivedData/Build/Products/Release/librealm-monorepo.a(sync_session.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
  Realm/TestUtils/include/TestUtils.h:24
      Pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
  Realm/TestUtils/include/TestUtils.h:38
      pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
  Realm/Tests/RealmTests.mm:1909
      Variable 'asyncTransactionIdA' is uninitialized when captured by block
  Realm/TestUtils/include/TestUtils.h:24
      pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)