Realm 3.10.0 macos example fails to build under Xcode 10.0 (10A255)


I downloaded the dynamic framework, Realm version 3.10.0, and opened RealmExamples.xcworkspace from the osx objective-c example in Xcode 10. When I attempted to build and run the example, the build failed with the message:

dyld: Library not loaded: @rpath/Realm.framework/Versions/A/Realm
Referenced from: /Users/mikel/Library/Developer/Xcode/DerivedData/RealmExamples-efhvbubgtvyzmyfbpxvgdcafdkvt/Build/Products/Debug/JSONImport
Reason: image not found

I tried removing the existing reference and re-adding the Realm.framework from the Finder, and I got the same result.

I also tried modifiying the architectures to include only x86_64, since file claims that’s the only architecture in the Realm library; same result.

Please note also that the libc++.dylib referenced from the workspace Frameworks does not exist. I also tried substituting the libcc++.tbd library, which does exist, but the result was still the same.