Skip to content

Can't build xcode14.2 #72

Open
Open

Description

@cellgit

build error: Declaration of 'RealmSwiftObject' must be imported from module 'Realm.Swift' before it is required

Activity

  1. arturdev commented on Mar 19, 2023

    @arturdev
    Collaborator

    @cellgit Which package manager did you use to install the library?

  2. cellgit commented on Mar 20, 2023

    @cellgit
    Author

    @arturdev CocoaPods

  3. zbockskopf commented on Mar 24, 2023

    @zbockskopf

    +1

  4. zbockskopf commented on Mar 24, 2023

    @zbockskopf

    Adding '@import Realm.Swift;' fixes the issue for now

  5. arturdev commented on Apr 17, 2023

    @arturdev
    Collaborator

    The issue has been fixed. Check 1.9.5

  6. ashugabani commented on Apr 27, 2023

    @ashugabani

    Adding '@import Realm.Swift;' With Xcode 14.2 not working

  7. arturdev commented on Apr 27, 2023

    @arturdev
    Collaborator

    make sure you're using the latest version of the Realm. Check your podfile and run
    pod update --repo-update

  8. ashugabani commented on Apr 27, 2023

    @ashugabani

    @arturdev I am installing using Package Dependencies. So realm is already installed by package

  9. arturdev commented on Apr 27, 2023

    @arturdev
    Collaborator

    @ashugabani which version have you installed of Realm?

  10. ashugabani commented on Apr 27, 2023

    @ashugabani

    @arturdev Realm version is 10.25.2

  11. arturdev commented on Apr 27, 2023

    @arturdev
    Collaborator

    @ashugabani you should update the realm version.. it is too old...

    https://github.com/realm/realm-swift/releases

  12. ashugabani commented on Apr 27, 2023

    @ashugabani

    @arturdev When I add a package of Unrealm then it already add that realm version.

  13. arturdev commented on Apr 27, 2023

    @arturdev
    Collaborator

    @ashugabani Ah.. that makes sense now.. I've fixed it only for cocoapods..

  14. ashugabani commented on Apr 27, 2023

    @ashugabani

    @arturdev so any update possible?

  15. arturdev commented on Apr 27, 2023

    @arturdev
    Collaborator

    will try to update during the next days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions