fix undefined symbol crypt_key in swift builds (#5575)
fix undefined symbol crypt_key in swift builds (#5575)

* fix undefined symbol crypt_key in swift builds

* fix a couple warnings about unused files in the swift build
realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core