Boost library support for arm64 and i386 for iOS Simulator(Unable to build and run iOS Sample project for M1 iOS Sim)
See original GitHub issue🐛 Bug Report
I’m unable to build and run the iOS/Sample
project.
To Reproduce
- clone the repo
cd flipper/iOS/Sample
pod install
open Sample.xcworkspace
- On XCode: Run the Sample target
Environment
- MacOSX: 11.3 (20E232) Apple M1
- XCode: 12.5 (12E262)
- iOS Simulator iPhone 11 Pro Max, iOS 14.5
- cocoapods: 1.10.1
- Flipper 0.87.0 (50.0.0) - I’ve tried both the standalone Mac installer as well as the Brew one
- boost 1.75.0_3 installed via Brew, if relevant

I have the feeling the issue is coming from Flipper-Boost-iOSX
but I’m not familiar with the way linking works. Let me know if I can give you more info.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:22 (10 by maintainers)
Top Results From Across the Web
Simulator ARM64 Support for Static Libraries in M1 Machines
We have an SDK project that contains a static library (.a) with binaries for arm64, armv7 (Device) and x86_64, i386 (Simulator). When we...
Read more >Xcode error 'building for iOS Simulator, but linking in dylib built ...
I guess what is happening is that because I excluded arm64 in build setting for iOS simulator, Xcode is attempting to run my...
Read more >Compiling for iOS on Apple M1 - Mercari Engineering Blog
This will force Xcode to generate a x86_64-sim executable · The simulator will be running on Rosetta · The libraries will be compiled...
Read more >found: arm64-apple-ios-simulator - You.com | The AI Search ...
I think that the library ExpoModulesCore is only for x86 (intel chip) environment. As might you think, I'm using M1 Mac. Is there...
Read more >Apple Silicon and the library incompatibility problem for iOS ...
This works because you are telling Xcode to not build for the ARM architecture if the target device is a Simulator. For the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m also getting this issue on my macbook pro corei7 (not M1), I tried Flipper version 0.87.0, 0.88.0, 0.89.0, 0.90.0 and 0.90.2 but still this issue is showing up. I’m using
thanks,
Edit: I think the issue show’s up when Flipper-Boost-iOSX added/updated. Can anyone suggest a solution with this issue?
Edit 2: I’ve found a solution which needs other flipper tools to downgrade.
use_flipper!({ 'Flipper' => '0.87.0', 'Flipper-Folly' => '2.5.3', 'Flipper-RSocket' => '1.3.1' })
This will remove theFlipper-Boost-iOSX
which solve the issue when reverting back to0.87.0
found it on this link https://github.com/facebook/flipper/issues/2248#issuecomment-830060572Using Flipper-Boost-iOSX 1.76.0.1.11 will solve the issue. With this version we now support all architectures. Let us know if there are any issue.