Use realm in my project linked via SPM , and be able to use in test cases also
Test cases should run
Received compile error: Missing required modules: 'Realm.Private'
Realm framework version: 3.19.0
Realm Object Server version: N/A
Xcode version: 11.1
iOS/OSX version: 13
Dependency manager + version: SPM 5.1
@grangej are you trying to include sync? If so, this will not work. If not, please upgrade to the latest XCode/Realm version.
I got same issue with v4.3.0
I am seeing this too, any news?
The workaround in this Apple thread solved the issue for me.
Under OTHER_SWIFT_FLAGS, I added -Xcc -fmodule-map-file=$(PROJECT_TEMP_ROOT)/GeneratedModuleMaps/iphonesimulator/RealmSwift.modulemap, for iOS 13.2 SDK.
This was with Xcode 11.1, and 11.3.1. And Realm 4.3.0.
➤ Jason Flax commented:
Closing due to lack of activity and workaround provided.
Most helpful comment
The workaround in this Apple thread solved the issue for me.
Under
OTHER_SWIFT_FLAGS, I added-Xcc -fmodule-map-file=$(PROJECT_TEMP_ROOT)/GeneratedModuleMaps/iphonesimulator/RealmSwift.modulemap, foriOS 13.2 SDK.This was with Xcode 11.1, and 11.3.1. And Realm 4.3.0.