question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build Fails with Flipper enabled

See original GitHub issue

What happened?

App builds successfully when running react-native run-ios

But with Flipper enabled debug build fails detox build --configuration ios.sim.debug; detox test --configuration ios.sim.debug

** BUILD FAILED **
The following build commands failed:
        CompileC ../ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FlipperKit.build/Objects-normal/x86_64/FlipperWebSocket.o ../ios/Pods/FlipperKit/iOS/FlipperKit/FlipperWebSocket.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'FlipperKit' from project 'Pods')
(1 failure)

Version of Flipper doesn’t seem to make a difference - have tried with

  • 0.125.0
  • 0.159.0
  • 0.175.0

Successfully builds if Flipper is disabled

What was the expected behaviour?

detox build --configuration ios.sim.debug; detox test --configuration ios.sim.debug

should build successfully without having to disable Flipper

Was it tested on latest Detox?

  • I have tested this issue on the latest Detox release and it still reproduces.

Did your test throw out a timeout?

Help us reproduce this issue!

No response

In what environment did this happen?

Detox version: 20.0.3 React Native version: 0.70.6 Node version: 16.13.0 Device model: iPhone 14 iOS version: 16.1 macOS version: 13.0.1 Xcode version: 14.1 Test-runner (select one): jest

Detox logs

Detox logs
paste logs here!

Device logs

Device logs
paste logs here!

More data, please!

No response

Issue Analytics

  • State:open
  • Created 9 months ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jonohodgsoncommented, Dec 14, 2022
0reactions
jonohodgsoncommented, Dec 12, 2022

Thanks for the prompt feedback - will investigate

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting General Issues - Flipper
If no app plugins are showing up, there may be a connectivity issue between Flipper and your app. Check connection issues to see...
Read more >
swift - FB_SONARKIT_ENABLED=1 flag not working when ...
FB_SONARKIT_ENABLED=1 doesn't seem to work. Flipper connects to device but it is not initialised in the app and NO APPLICATION SELECTED error ......
Read more >
Using Flipper - Expo Documentation
You can add more plugins available in the Flipper desktop app. Debugging your Expo projects with Flipper requires the following: Creating a development...
Read more >
Troubleshooting - Bouncer Docs
error : Failed to build iOS project. ... Switch to the legacy build system ... Note that Flipper is not compatible with use_frameworks!...
Read more >
react-native-flipper - npm
react-native-flipper. TypeScript icon, indicating that this package has built-in type declarations. 0.176.1 • Public • Published 16 days ago.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found