lumanmann / test-realm

Test on applying Realm in project
0 stars 0 forks source link

Could not build Objective-C module 'RealmSwift' #1

Closed lumanmann closed 5 years ago

lumanmann commented 5 years ago

'RealmSwift' should be a swift module I have encountered this warning after installing RealmSwift by cocoa pod. As suggested by the official document, 'RealmSwift' is not a Objective-C module. Something went wrong.

To Reproduce Steps to reproduce the behavior: (Install RealmSwift by cocoa pod)

  1. Add pod 'RealmSwift' in the Podfile
  2. Run pod install
  3. Import RealmSwift in the xcworkspace

Expected behavior RealmSwift should be a swift module, which can use properly in a swift project.

Screenshots