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

"Failed to stat file" error attempting to install the Pebble app #58

Open
hi-names-nat opened this issue Jun 20, 2024 · 7 comments
Open

Comments

@hi-names-nat
Copy link

hi-names-nat commented Jun 20, 2024

Problem

I cannot install the Pebble application built for iOS 13+ devices found here. Using Sideloadly, I was able without fault to install it many times over the course of a few months.

Steps to reproduce

Attempt to install com.getpebble.pebbletime-iPhone13.ipa (linked above) using the GTK gui on PopOS 20.04. Installation proceeds as normal until error below is thrown:
...ideloadprogresswindow ERROR 2024-06-20T15:21:59.688 Sideloading failed: object.Exception@std/file.d(4101): Failed to stat file `/tmp/com.getpebble.pebbletime-iPhone13.ipa/Payload/PebbleTime.app/Frameworks/SVProgressHUD.framework/SC_Info'

Other information

iOS device model/version: model MT012LL/A (iPhone XR). iOS Version 17.4.1
Operating system version: PopOS 20.04 LTS (a flavor of Ubuntu 20.04 LTS) 64 bit. GNOME version 42.9 using X11.
installation of Sidestore had no issues.
I have attempted wiping the app installed via sideloadly off my phone, as well as wiping the associated cert and appID to no avail.

@Dadoum
Copy link
Owner

Dadoum commented Jun 20, 2024

Can you try to use the latest cli build from GitHub Actions with the --singlethread argument? It will tell me if the issue is due to multi-threading (and if that's the case I will disable it in the GUI).

@hi-names-nat
Copy link
Author

Good point. Will try shortly.

@hi-names-nat
Copy link
Author

Same error on the CLI: cli_frontend ERROR 2024-06-20T15:56:21.327 object.Exception at std/file.d:4101: Failed to stat file `/tmp/com.getpebble.pebbletime-iPhone13.ipa/Payload/PebbleTime.app/Frameworks/SVProgressHUD.framework/SC_Info'.

Dadoum added a commit that referenced this issue Jun 20, 2024
@Dadoum
Copy link
Owner

Dadoum commented Jun 20, 2024

can you try the latest build in gh actions?

@hi-names-nat
Copy link
Author

Will get back with the results within a day or so.

@hi-names-nat
Copy link
Author

hi-names-nat commented Jun 24, 2024

Sorry for the late response. Same error. Might attempt running the debug build if I can get that working.

Full log, from fresh install (removed .config/Sideloader directory)

                    main INFO  2024-06-24T08:29:46.066 Configuration path: /home/natalie/.config/Sideloader
...eloadergtkapplication INFO  2024-06-24T08:29:46.208 Cannot find Apple libraries. Prompting the user to download them. 
                     app INFO  2024-06-24T08:29:48.221 Downloading APK...
                     app INFO  2024-06-24T08:29:50.371 Extracted successfully!
                     app INFO  2024-06-24T08:29:50.371 Creating device...
                     app INFO  2024-06-24T08:29:51.265 Device created successfully.
                     app INFO  2024-06-24T08:29:51.269 Provisioning device...
                     app INFO  2024-06-24T08:29:52.271 Device provisioned successfully.
...eloadergtkapplication INFO  2024-06-24T08:29:52.337 Device 00008020-001245120E06002E (usbmuxd) has been connected.

(sideloader-gtk-x86_64-linux-gnu:6919): Gtk-WARNING **: 08:29:53.958: Failed to measure available space: Unhandled Apple File Control error (15)
         ui.devicewidget INFO  2024-06-24T08:29:58.799 Application "/home/natalie/Downloads/com.getpebble.pebbletime-iPhone13.ipa" selected for installation.
 server.developersession INFO  2024-06-24T08:30:08.001 Creating DeveloperSession for [email protected]...
     server.appleaccount INFO  2024-06-24T08:30:08.001 Logging in...

(sideloader-gtk-x86_64-linux-gnu:6919): Gtk-WARNING **: 08:30:18.891: GtkText - did not receive a focus-out event.
If you handle this event, you must return
GDK_EVENT_PROPAGATE so the default handler
gets the event as well
 server.developersession ERROR 2024-06-24T08:30:19.806 DeveloperSession creation failed: This action cannot be completed at this time
...entication.loginslide ERROR 2024-06-24T08:30:19.806 Apple auth error: This action cannot be completed at this time (-22411)

(sideloader-gtk-x86_64-linux-gnu:6919): Gtk-WARNING **: 08:30:26.480: GtkText - did not receive a focus-out event.
If you handle this event, you must return
GDK_EVENT_PROPAGATE so the default handler
gets the event as well
...thentication.tfaslide ERROR 2024-06-24T08:30:27.066 Apple auth error: Incorrect verification code (-21669)
...thentication.tfaslide ERROR 2024-06-24T08:30:28.752 Apple auth error: Incorrect verification code (-21669)
         ui.devicewidget INFO  2024-06-24T08:30:35.408 Application "/home/natalie/Downloads/com.getpebble.pebbletime-iPhone13.ipa" selected for installation.
 server.developersession INFO  2024-06-24T08:30:47.072 Creating DeveloperSession for [email protected]...
     server.appleaccount INFO  2024-06-24T08:30:47.072 Logging in...
 server.developersession INFO  2024-06-24T08:30:48.414 DeveloperSession created successfully.
...ideloadprogresswindow ERROR 2024-06-24T08:30:50.450 Sideloading failed: server.developersession.ExceptionType!(server.developersession.DeveloperPortalError).ExceptionType@source/server/developersession.d(73): DeveloperPortalError {
	statusCode = 7460
	description = You already have a current iOS Development certificate or a pending certificate request.
}
----------------
??:? [0x5a8a6611d856]
??:? [0x5a8a6611d4d2]
??:? [0x5a8a66145766]
??:? [0x5a8a66126b0f]
??:? [0x5a8a65ee2666]
??:? [0x5a8a65ee25d1]
??:? [0x5a8a65ee529a]
??:? [0x5a8a65ee975f]
??:? [0x5a8a65eedb6b]
??:? [0x5a8a65d37e17]
??:? [0x5a8a6611fb63]
??:? [0x7f5a50c94ac2]
??:? [0x7f5a50d2684f]
 server.developersession INFO  2024-06-24T08:31:03.389 Creating DeveloperSession for [email protected]...
     server.appleaccount INFO  2024-06-24T08:31:03.389 Logging in...

(sideloader-gtk-x86_64-linux-gnu:6919): Gtk-WARNING **: 08:31:03.390: GtkText - did not receive a focus-out event.
If you handle this event, you must return
GDK_EVENT_PROPAGATE so the default handler
gets the event as well
 server.developersession INFO  2024-06-24T08:31:04.498 DeveloperSession created successfully.
         ui.devicewidget INFO  2024-06-24T08:31:13.661 Application "/home/natalie/Downloads/com.getpebble.pebbletime-iPhone13.ipa" selected for installation.
 server.developersession INFO  2024-06-24T08:31:22.461 Creating DeveloperSession for [email protected]...
     server.appleaccount INFO  2024-06-24T08:31:22.461 Logging in...
 server.developersession INFO  2024-06-24T08:31:23.786 DeveloperSession created successfully.
...ideloadprogresswindow ERROR 2024-06-24T08:31:30.055 Sideloading failed: object.Exception@std/file.d(4105): Failed to stat file `/tmp/com.getpebble.pebbletime-iPhone13.ipa/Payload/PebbleTime.app/Frameworks/SVProgressHUD.framework/SC_Info'
----------------
??:? [0x5a8a6611d856]
??:? [0x5a8a6611d4d2]
??:? [0x5a8a66145766]
??:? [0x5a8a66126b0f]
??:? [0x5a8a65d47f8c]
??:? [0x5a8a65eaabbd]
??:? [0x5a8a660e4839]
??:? [0x5a8a660e560c]
??:? [0x5a8a660e57a5]
??:? [0x5a8a65ee7ce6]
??:? [0x5a8a65ee7b6a]
??:? [0x5a8a660f6c1d]
??:? [0x5a8a6611fb63]
??:? [0x7f5a50c94ac2]
??:? [0x7f5a50d2684f]

To add a note here. com.getpebble.pebbletime-iPhone13.ipa is not an official application, its (as far as I know) a modified version of the pre-iOS 13 application package reconfigured through some dark Apple magic to run on the newer devices. There may be some weirdness from that.

@Dadoum
Copy link
Owner

Dadoum commented Jun 24, 2024

Anyway an easy way to fix that is to remove all SC_Info files in the ipa file (which is just a zip file). I can't reproduce the issue on my computer :(

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