Skip to content

Update otp 25 to 26 #13

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
erlang 25.0.4
elixir 1.13.4-otp-25
erlang 26.2.5
elixir 1.17.2-otp-26
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "weichsel/ZIPFoundation" "0.9.14"
github "weichsel/ZIPFoundation" "0.9.19"
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ This xcode project wraps the [Desktop Sample App](https://github.com/elixir-desk

`brew install carthage git [email protected] npm`

1. Install Erlang-OTP (with openssl) in the same version 25.0.4 as the bundled runtime edition:
1. Install Erlang-OTP (with openssl) in the same version 26.2.5 as the bundled runtime edition:

```
asdf install erlang 25.0.4
asdf install elixir 1.13.4-otp-25
asdf install erlang 26.2.5
asdf install elixir 1.17.2-otp-26
```

If above fails for you on an older mac or can't seem to find openssl you can try this custom build command as well:

```
export DED_LDFLAGS_CONFTEST="-bundle"
export KERL_CONFIGURE_OPTIONS="--without-javac --with-ssl=$(brew --prefix [email protected])"
asdf install erlang 25.0.4
asdf install elixir 1.13.4-otp-25
asdf install erlang 26.2.5
asdf install elixir 1.17.2-otp-26
```

1. fork / git clone this project to your local disk:
Expand Down
20 changes: 12 additions & 8 deletions liberlang.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,36 @@
<key>AvailableLibraries</key>
<array>
<dict>
<key>BinaryPath</key>
<string>2-liberlang.a</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>610-liberlang.a</string>
<string>2-liberlang.a</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>34-liberlang.a</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64_armv7</string>
<key>LibraryPath</key>
<string>578-liberlang.a</string>
<string>34-liberlang.a</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
<string>armv7</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion run_mix
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ fi

mix assets.deploy && \
mix release --overwrite && \
cd _build/ios_prod/rel/todo_app && \
cd _build/ios_prod/rel/default_release && \
zip -9r "$BASE/todoapp/app.zip" lib/ releases/ --exclude "*.so"