Skip to content

Cannot build after merging master to forked repo #7999

Description

@Bawenang

Hi guys. I need some help. I am trying to update my forked element repo with the latest one after 6 months so I can build on Xcode 26. So I merged it with the upstream element master branch (latest as of today). I've already resolved the spm packages and pods, I've fixed the libcmark dependency error. But when I try to build, I've got some build errors for MxRoom and MxSession like so:

  • Value of type 'MXRoom' has no member 'isLastOwner'
  • Value of type 'MXSession' has no member 'hasOAuth2APIEnabled'
  • Value of type 'MXSession' has no member 'getLogoutDeviceURL'

The Podfile.lock file showed this about MatrixSDK:

  • MatrixSDK (0.27.17):
    • MatrixSDK/Core (= 0.27.17)
    • MatrixSDK/Core (0.27.17):
    • AFNetworking (~> 4.0.0)
    • GZIP (~> 1.3.0)
    • libbase58 (~> 0.1.4)
    • MatrixSDKCrypto (= 0.11.1)
    • Realm (= 10.27.0)
    • SwiftyBeaver (= 1.9.5)
  • MatrixSDK/JingleCallStack (0.27.17):
    • JitsiMeetSDKLite (= 8.1.2-lite)
    • MatrixSDK/Core
  • MatrixSDKCrypto (0.11.1)

What I've done are these:

  • git pull from upstream master
  • change to my forked master
  • git merge from rom upstream master into forked master
  • git submodule update
  • pod install
  • open workspace
  • resolve spm packages
  • disable "SWIFT_ENABLE_EXPLICIT_MODULES"
  • build

Can anybody help me fix this? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions