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

--use-apple-networking issue in generated example #426

Open
brodycj opened this issue Feb 24, 2021 · 0 comments
Open

--use-apple-networking issue in generated example #426

brodycj opened this issue Feb 24, 2021 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@brodycj
Copy link
Owner

brodycj commented Feb 24, 2021

When I tried --use-apple-networking with the generated example in React Native 0.63 (0.63.4) and tried building the example, it failed with the following error (looks similar to issue #422 between example app and react-native 0.64 RC):

In file included from /Users/brodybits/dev/create-react-native-module/tt-6CE20E18-547E-4A77-8D93-8D0B1CAD749C/react-native-aa-test11/example/ios/Pods/Flipper/xplat/Flipper/FlipperConnectionManagerImpl.cpp:8:
In file included from /Users/brodybits/dev/create-react-native-module/tt-6CE20E18-547E-4A77-8D93-8D0B1CAD749C/react-native-aa-test11/example/ios/Pods/Flipper/xplat/Flipper/FlipperConnectionManagerImpl.h:11:
In file included from /Users/brodybits/dev/create-react-native-module/tt-6CE20E18-547E-4A77-8D93-8D0B1CAD749C/react-native-aa-test11/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-6CE20E18-547E-4A77-8D93-8D0B1CAD749C/react-native-aa-test11/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-6CE20E18-547E-4A77-8D93-8D0B1CAD749C/react-native-aa-test11/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-6CE20E18-547E-4A77-8D93-8D0B1CAD749C/react-native-aa-test11/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-6CE20E18-547E-4A77-8D93-8D0B1CAD749C/react-native-aa-test11/example/ios/Pods/Headers/Public/Flipper-Folly/folly/portability/Event.h:24:
/Users/brodybits/dev/create-react-native-module/tt-6CE20E18-547E-4A77-8D93-8D0B1CAD749C/react-native-aa-test11/example/ios/Pods/Headers/Public/libevent/event.h:44:10: fatal error: 'event2/event-config.h' file not found
#include <event2/event-config.h>
         ^~~~~~~~~~~~~~~~~~~~~~~

When I tried again with no Flipper included or enabled (see react-native-tvos/react-native-tvos#49 (comment)), I was able to build and run the example but got a JSON error message with "Domain=NSCocoaErrorDomain".

Discovered while testing PR #421 (use react-native-init-func to generate example app).

@brodycj brodycj added bug Something isn't working help wanted Extra attention is needed labels Feb 24, 2021
brodycj added a commit that referenced this issue Feb 24, 2021
for upcoming 0.20.0 release

* React Native pre-0.63 support is now deprecated (see issue #423)
* known issue with React Native 0.64 (rc) on iOS (see issue #422)
* add link to @otobank fork (see #425)
* document --use-apple-networking as EXPERIMENTAL & NOT SUPPORTED
  (see issue #426)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant