Skip to content
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

Question: FlipperKit on Mac M3 #5524

Open
tomisanhues2 opened this issue Mar 19, 2024 · 3 comments
Open

Question: FlipperKit on Mac M3 #5524

tomisanhues2 opened this issue Mar 19, 2024 · 3 comments

Comments

@tomisanhues2
Copy link

tomisanhues2 commented Mar 19, 2024

Hello,

I have issues regarding running my react-native project version: 0.72

I get a weird error saying there are 2 simulators running and it will chose the first but after that there is a big error and the build fails.

I will leave the logs below.

As soon as I disable Flipper in my Podfile it builds perfectly but I cannot connect Flipper Client to debug the app.

@tomisanhues2
Copy link
Author

`--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator, id:208F17E9-2F32-43CE-B216-E91D88D67FF9, OS:17.4, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:208F17E9-2F32-43CE-B216-E91D88D67FF9, OS:17.4, name:iPhone 15 Pro }
** BUILD FAILED **

The following build commands failed:
CompileC /Users/tomassanhueza/Library/Developer/Xcode/DerivedData/ByFMobile-enusmalkhmxuidauztajoqgfclkz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FlipperKit.build/Objects-normal/arm64/FlipperPlatformWebSocket.o /Users/tomassanhueza/Documents/Meydey/meydey-frontend-mobile/ios/Pods/FlipperKit/iOS/FlipperKit/FlipperPlatformWebSocket.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'FlipperKit' from project 'Pods')
(1 failure)
]

Node.js v21.7.1`

@sachiotomita
Copy link

I have solved similar case.

This may happen because FlipperKit library is old. Make sure version of FlipperKit in Podfile.lock
and if it's older than the latest version, check around Podfile settings.
https://cocoapods.org/pods/FlipperKit

I had such line on Podfile which specifies version of Flipper.

:flipper_configuration => FlipperConfiguration.enabled(["Debug"], { 'Flipper' => '0.250.0' }),

@vaclav-stummer
Copy link

:flipper_configuration => FlipperConfiguration.enabled(["Debug"], { 'Flipper' => '0.250.0' }),

Thanks, this is what I have been looking for since last week 🚀

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

No branches or pull requests

3 participants