super-app-showcase icon indicating copy to clipboard operation
super-app-showcase copied to clipboard

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

Open rezkiy37 opened this issue 1 year ago • 9 comments

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.

rezkiy37 avatar Nov 18 '23 13:11 rezkiy37

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

jbroma avatar Nov 18 '23 15:11 jbroma

@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 avatar Nov 20 '23 10:11 rezkiy37

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 avatar Nov 20 '23 10:11 rezkiy37

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

rezkiy37 avatar Nov 20 '23 11:11 rezkiy37

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

RafikiTiki avatar Nov 20 '23 12:11 RafikiTiki

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

Yes, Android works now. Thank you!

rezkiy37 avatar Nov 20 '23 14:11 rezkiy37

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

thymikee avatar Nov 20 '23 15:11 thymikee

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

rezkiy37 avatar Nov 22 '23 10:11 rezkiy37

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

leovido avatar Feb 05 '24 23:02 leovido