c4lliope

c4lliope

OTP 26 Android / iOS Binaries

Hello, @dominicletz ! I’m glad to see you merged my upgrades for elixir-desktop! I’m really pleased by the experience and hope to package mobile apps soon also.

I’m a couple days in managing a recompilation of GitHub - elixir-desktop/runtimes: Erlang / Elixir runtimes for Android and iOS · GitHub for OTP 26. I had no luck running the mix package.android.runtime (or .ios) commands, relying on the docker cross-compilation images. I ran the commands on Nix OS and Ubuntu and both had similar issues.

I am also checking in on the OTP compilation guides:

I’ll likely need to run them on Ubuntu, as NixOS produces errors regarding linked libraries.

Can you remark on the compilation process for OTP on mobile? This seems like a core piece of the packaging that needs more public comprehension. I hope coders in our position can someday rely on a build pipeline, to ensure rolling upgrades for any OTP (or Android or iOS) changes, for years to come.

First Post!

dominicletz

dominicletz

Creator of Elixir Desktop

Hey @c4lliope ,

great that you had a chance to play with this. Yes indeed I would like to update those to a more recent version of OTP as well. But didn’t have the time yet. It’s unfortunate to hear that the builds did break in the meantime. That said I don’t think the issues can be too deep. I’ve upstreamed a github CI job for OTP to build on iOS on every commit and it seems that is still showing green:

Link to the most recent commit and it’s iOS build job on erlang/OTP
https://github.com/erlang/otp/actions/runs/6970879678/job/18970298816

That said I’ll probably have some time next week to update the runtimes repo. If not feel free to give me another ping. :slight_smile:

Where Next?

Popular in Questions Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
PeterCarter
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New

Other popular topics Top

lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New

We're in Beta

About us Mission Statement