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

Update react-native example to enable testing on a device. #148

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cjcenizal
Copy link

@twitchard I ran into a few issues running the react-native example on my device, so I'm updating the example with 3 specific changes I had to make to enable this.

Errors I encountered

TypeError: os.availableParallelism is not a function

This error occurred because I was on an older version of node. I added a note that Node 18.14 or greater is required.

Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65

This occurred because the signing certificate was missing. I added instructions on how to obtain a signing certificate through XCode based on the Expo docs.

error: Build input file cannot be found

Complete error:

error: Build input file cannot be found: '/hume-api-examples/evi-react-native-example/node_modules/react-native/React/Fabric/RCTThirdPartyFabricComponentsProvider.mm'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'React-RCTFabric' from project 'Pods')

The solution to this was to upgrade react-native to a newer version.

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

Successfully merging this pull request may close these issues.

1 participant