UPDATED:
I have seen sporadic issues with debug build on iOS if Flipper is enabled. I generally disable Flipper before building and running on iOS to save build time.
Here is how I generally disable Flipper on iOS:
example/ios/Podfile
example/ios/AppDelegate.m
pod install
in example/ios
for reference: react-native-tvos/react-native-tvos#49 (comment)
OUTDATED description from February 2021:
When I tried generating the example with --example-react-native-version react-native@next
(gives me react-native@0.64.0-rc.3 at this point), I could not run the example app on iOS. I am getting the following build failure:
In file included from /Users/brodybits/dev/create-react-native-module/tt-D441EEC8-BD92-4E36-8B79-6E76C408DB56/react-native-a-test/example/ios/Pods/Flipper/xplat/Flipper/FlipperClient.cpp:8: In file included from /Users/brodybits/dev/create-react-native-module/tt-D441EEC8-BD92-4E36-8B79-6E76C408DB56/react-native-a-test/example/ios/Pods/Flipper/xplat/Flipper/FlipperClient.h:16: In file included from /Users/brodybits/dev/create-react-native-module/tt-D441EEC8-BD92-4E36-8B79-6E76C408DB56/react-native-a-test/example/ios/Pods/Flipper/xplat/Flipper/FlipperInitConfig.h:10: In file included from /Users/brodybits/dev/create-react-native-module/tt-D441EEC8-BD92-4E36-8B79-6E76C408DB56/react-native-a-test/example/ios/Pods/Headers/Public/Flipper-Folly/folly/io/async/EventBase.h:46: In file included from /Users/brodybits/dev/create-react-native-module/tt-D441EEC8-BD92-4E36-8B79-6E76C408DB56/react-native-a-test/example/ios/Pods/Headers/Public/Flipper-Folly/folly/io/async/AsyncTimeout.h:19: In file included from /Users/brodybits/dev/create-react-native-module/tt-D441EEC8-BD92-4E36-8B79-6E76C408DB56/react-native-a-test/example/ios/Pods/Headers/Public/Flipper-Folly/folly/io/async/EventBaseBackendBase.h:21: In file included from /Users/brodybits/dev/create-react-native-module/tt-D441EEC8-BD92-4E36-8B79-6E76C408DB56/react-native-a-test/example/ios/Pods/Headers/Public/Flipper-Folly/folly/io/async/EventUtil.h:21: In file included from /Users/brodybits/dev/create-react-native-module/tt-D441EEC8-BD92-4E36-8B79-6E76C408DB56/react-native-a-test/example/ios/Pods/Headers/Public/Flipper-Folly/folly/portability/Event.h:24: /Users/brodybits/dev/create-react-native-module/tt-D441EEC8-BD92-4E36-8B79-6E76C408DB56/react-native-a-test/example/ios/Pods/Headers/Public/libevent/event.h:44:10: fatal error: 'event2/event-config.h' file not found #include <event2/event-config.h> ^~~~~~~~~~~~~~~~~~~~~~~
I discovered this failure while testing PR #421 (use react-native-init-func to generate example app).
This needs further investigation. Any help from the user community would be much appreciated.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4