callstack / super-app-showcase

Monorepository template for super app development with React Native and Re.Pack
MIT License
382 stars 63 forks source link

Failed to launch Android & Failed to install Pods and launch IOS #74

Open rezkiy37 opened 7 months ago

rezkiy37 commented 7 months ago

Environment

Debug; MacOS 13.5.2; pnpm 8.9.2;

Description

I've tried to launch the app. I successfully installed node_modules. After, tried to launch pnpm --filter host android and faced the next error:

SA Android Error 1

Also, tried to launch IOS. Started from the pod installation via pnpm pods, but no luck:

SA Pods Error 1 SA Pods Error 2

Therefore, pnpm --filter host ios throes the next error:

SA IOS Error 2

Reproducible Demo

I used command from the docs.

Android: pnpm --filter host android. IOS: pnpm pods and pnpm --filter host ios.

jbroma commented 7 months ago

Hey @rezkiy37,

I've fixed the issue with pods (outdated pods) in #75

For the android, please provide more detailed logs as I can't reproduce that - I did try running it on a fresh clone of repository and it worked without any issues

rezkiy37 commented 7 months ago

@jbroma, I've tried everything from the very beginning. Unfortunately, I have a problem with installing pods for IOS.

https://github.com/callstack/super-app-showcase/assets/57314631/17c74a9e-c794-4ad9-b00b-4db45b2ba8b1

Screenshot 2023-11-20 at 11 35 26
rezkiy37 commented 7 months ago

For Android I also have a problem:

https://github.com/callstack/super-app-showcase/assets/57314631/25831bea-ef0e-479d-b556-a44e8a98a5a6

However, it added the app, but it is not loading.

Screenshot 2023-11-20 at 11 49 24
rezkiy37 commented 7 months ago

Once I've removed the app from the emulator and tried again, I have a progress:

1

But, there is a JS Error:

Screenshot 2023-11-20 at 12 00 22
RafikiTiki commented 7 months ago

@rezkiy37 Run pnpm adbreverse and reload the app – this should fix it.

rezkiy37 commented 7 months ago

@rezkiy37 Run pnpm adbreverse and reload the app – this should fix it.

Yes, Android works now. Thank you!

thymikee commented 7 months ago

@RafikiTiki any chance Re.Pack could detect this kind of issues and hint the user to adb reverse?

rezkiy37 commented 7 months ago

So, but what should I do to launch IOS, what I missed?

leovido commented 4 months ago

I had the same issue. All I did was run pnpm pods each time it failed, which took 40m in the end to complete.