Open mmacu opened 3 years ago
@mmacu I've been able to reproduce this. We're investigating if importing Realm using SPM into Playground is possible.
@tgoyne Have you tried this before?
I tested https://github.com/realm/realm-swift/issues/7266 with a playground in an Xcode project in Xcode 13.2 and it works. So when this gets merged we will have better support for Playgrounds inside Xcode projects.
Goals
Importing and opening Realm in Xcode Playground.
Expected Results
Since Xcode 12 it's possible to import Swift packages into Playground. As such it should be possible to import Realm as well.
Actual Results
Getting
No such module 'RealmSwift'
error.Steps for others to Reproduce
Code Sample
Version of Realm and Tooling
Realm version: 10.5.2 Realm database version: 10.4.0 Xcode version: 12.4 (tested with 12.5 beta as well) iOS/OSX version: N/A Dependency manager + version: Swift Package Manager