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

Xcode compilation, EXConstants Script Build error #9

Open
misbell opened this issue Nov 23, 2024 · 11 comments
Open

Xcode compilation, EXConstants Script Build error #9

misbell opened this issue Nov 23, 2024 · 11 comments

Comments

@misbell
Copy link

misbell commented Nov 23, 2024

Screenshot 2024-11-23 at 11 55 02 AM

here's a screenshot of the error. Hope it helps.

@misbell
Copy link
Author

misbell commented Nov 23, 2024

here's the build log.

Build PasskeyDemo_2024-11-22T19-53-16.txt

@misbell
Copy link
Author

misbell commented Nov 23, 2024

I believe my initial problems were because I installed node 22. when I installed node 18.8 as you instructed, I was able to build.

I am guessing the reason the app DOES build and run with the yarn command (as opposed to Xcode) is because the environment variable reported missing here is included somewhere in the mix.

@misbell
Copy link
Author

misbell commented Nov 23, 2024

arghh. it's already included in the .env file.

Screenshot 2024-11-23 at 12 54 32 PM

@misbell
Copy link
Author

misbell commented Nov 23, 2024

Screenshot 2024-11-23 at 1 05 01 PM

Commented this out, the app built in Xcode.

So what's the problem here?

@misbell
Copy link
Author

misbell commented Nov 23, 2024

Screenshot 2024-11-23 at 4 54 40 PM

added associated ngrok domain as article recommended.

@misbell
Copy link
Author

misbell commented Nov 23, 2024

your process works okay, but why can't I do an ordinary pod update or pod install? crashes immediately.

@misbell
Copy link
Author

misbell commented Nov 24, 2024

works okay in simulator, can't see development server from iPhone no matter what I try. Also no debug menu on device, either by shaking or 3 finger press. I build a fresh expo app, ran on iPhone, saw dev server without problem.

Screenshot 2024-11-23 at 6 58 40 PM

@misbell
Copy link
Author

misbell commented Nov 24, 2024

By logging in on both Mac and iPhone, I am now able to fetch the development server. You might want to add this explicit not to the instructions? Could help people save a day or two.

IMG_0906

@misbell
Copy link
Author

misbell commented Nov 24, 2024

However, different error when I try to load the app:

IMG_EC0362C480B3-1

FYI the app loads fine from the browser via the USB connected iPhone, and over the internet from an iPad on the same network.

@misbell
Copy link
Author

misbell commented Nov 24, 2024

and finally, deleting a prior side by side version of the app on the phone solved the 'error loading app' problem.

IMG_345F121D9A05-1

@misbell
Copy link
Author

misbell commented Nov 25, 2024

Boiled down:

heritage app

first, make sure it's right version of node

second, sign into expo both on macos and ios

third, make sure there's no other version of the app running on the iphone

Next, I have to make the process work, because right now, it's not.

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

1 participant