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

Cannot register React.Native for iOS part #6089

Open
haron1020 opened this issue Jan 11, 2025 · 3 comments
Open

Cannot register React.Native for iOS part #6089

haron1020 opened this issue Jan 11, 2025 · 3 comments

Comments

@haron1020
Copy link

Description:

I've cloned the repository and tried to run the application for development on my Mac M3 Pro. This issue concerns the React Native part of the application.

Environment Information:

MacOS Sonoma 14.6.1
Xcode 16.1
ruby 2.7.4
node 23.4.0
metro 0.80.6
npm 10.9.2

Steps to reproduce:

Running from root folder:

  1. yarn
  2. npx pod-install
  3. yarn ios

Expected behavior:

The React Native app configures and runs successfully.

Actual behavior:

The iOS part builds successfully, but the React Native part fails to run.

registration error

Additional context:

npx tsc --noEmit: no issues

I've tried using an Intel-based Mac, tested different versions of Xcode (14 and 15), and experimented with various Ruby versions — none of these attempts resolved the issue. Moreover, if I replace the main code in app/index.tsx with a simple "Hello World", the application registers successfully.

It seems the issue requires a fine-tuned environment configuration to run the project properly. What dependencies might I be missing? Which versions should I double-check?

@Rohit3523
Copy link
Contributor

I tried following the steps, but I'm not encountering the error you mentioned. Did you change anything in the code or install any new package?

@haron1020
Copy link
Author

Which branch should I use to build the white-label app?

I only upgraded expo-apple-authentication to version 6.4.2 to support Xcode 16. Additionally, I made changes to iOS-related settings, such as PRODUCT_BUNDLE_IDENTIFIER and similar configurations. Which dependency versions should I double-check?

@Rohit3523
Copy link
Contributor

Can you please try running the project by cloning it again and installing the latest version of expo-apple-authentication (Required for xcode 16)

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

No branches or pull requests

2 participants