-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fixes, throw out standalone CELT in the process #70
Conversation
It causes strange build failures for the Mumble iOS app, and seems to build fine for both Mac and iOS even without it.
This moves the oldest supported iPhone up from the 4s to the 5s, which I would say is pretty fair ;) This also means aarch64/arm64 is the only architecture we have to support going forward.
it's unused and we're running at least iOS 12 anyway
I was sometimes hitting the stubbed out CELT branch, which seemed like a race condition. In all these cases, _connection was nil. Calls on nil values are valid in Obj-C, and in this case will return NO. Check for a connection instead of just assuming there is one.
TODO: test with an old mumble server and maybe add some proper way to handle this for the MumbleKit consumer
Noting this because I realized I didn't mention it at all: CELT does not cause any problems when building just MumbleKit, as it is never linked into anything together with Opus yet. It only causes problems when trying to actually link MumbleKit to anything (like the iOS app) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing obviously wrong that I spotted though I don't have the knowledge to give a definitive review. However, since CI passes and OP stated things work, I assume the changes are fine.
Got this to build for Mumble iOS with XCode 16.
For now I kept the deployment targets as low as possible without raising any obvious "unsupported" warnings.
This is by far not ideal (dependencies are wildly out of date, a bunch of deprecations persist) but at least it builds and is therefore usable for working on the actual Mumble app :)