matrix-org / matrix-org/matrix-ios-sdk
Compile error when trying to send a message
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 484
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Xcode can no longer compile the swift code, ones room.sendTextMessage is called.
To Reproduce
Steps to reproduce the behavior:
- Create a
MXSessionlike in the examples - select a room from the
MXSession.roomsvalue - call
sendTextMessageon the room - Xcode cannot compile anymore (Trace/BPT trap: 5)
(things like sendTypingNotification on the room works)
Expected behavior
should compile and send a text message
Desktop (please complete the following information):
- OS: macOS 11.0.1 (apple silicon M1)
- Version [0.17.4] (swift)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with an MXSession, a selected room from MXSession.rooms, and a call to sendTextMessage in Xcode on the reported environment. Compare this with sendTypingNotification, which works, and consider the issue done when the project compiles and the text message sends successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100