flipper icon indicating copy to clipboard operation
flipper copied to clipboard

Question: FlipperKit on Mac M3

Open tomisanhues2 opened this issue 11 months ago • 3 comments

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 avatar Mar 19 '24 17:03 tomisanhues2

`--- 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`

tomisanhues2 avatar Mar 19 '24 17:03 tomisanhues2

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' }),

sachiotomita avatar Mar 21 '24 02:03 sachiotomita

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

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

vaclav-stummer avatar Apr 29 '24 16:04 vaclav-stummer