Skip to content

Fix arm64 for simulator - #11

Open
LudySu wants to merge 2 commits into
amorenew:mainfrom
LudySu:fix-arm64-for-simulator
Open

Fix arm64 for simulator#11
LudySu wants to merge 2 commits into
amorenew:mainfrom
LudySu:fix-arm64-for-simulator

Conversation

@LudySu

@LudySu LudySu commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Currently iOS apps using this package would not be able to run on iOS 26+ simulator, because the libmp3lame.a archive was built for device while lacks support for arm64 simulator. This PR properly fixes issue #5

In this PR, the package is compiling libmp3lame from source code like what we did for Android in 1.5.0. Now they are referencing the same libmp3lame source code at the project's root folder lame_3.99.5_libmp3lame.

Note that the iOS compiler/cocoapod can not reference relative path pointing to parent like ../.., nor can it reference a symlink folder. So I have to create symlinks for every single file in lame_3.99.5_libmp3lamefolder

Feel free to edit this PR

Verified:

  • My own app can run and record mp3 audio
  • The example app in this package can run and record mp3 audio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant