-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
MacOS. You can't open the application "..." because it may be damaged or incomplete. #525
Comments
Well, that's weird... Can you check what happens if you try to launch the PWA from terminal using |
Running
Checking the contents of |
Do you have Command Line Tools for Xcode installed? You can install them with I'm not sure if this is the problem though, as if you didn't have them, logs should contain a warning message. And the loader should have been created before downloading the icons, so I don't know why it's missing. Can you check if editing/updating the PWA from the extension fixes the issue? Also, does theproblem happen only with ChatGPT or also with other PWAs? |
I tried again with another fresh install of Firefox and noticed this in the stderr.log
|
Unfortunately, I still don't know why this happens. You can try to manually create and compile a loder file and check if it works: Create a Swift file: import Foundation
let task = Process()
task.launchPath = "{firefoxpwa-exe}"
task.arguments = ["site", "launch", "--direct-launch", "{ulid}"] + CommandLine.arguments[1...]
task.launch()
task.waitUntilExit() You should replace Compile the file: swiftc -O -o loader firefoxpwa-loader.swift Copy the compiled loader binary into |
The file I created is:
But when I tried to compile it I got the following:
|
Appearently Can you please try to reinstall Xcode Command Line Tools with |
Ok problem seems to have been solved! When I ran remove the current install of the Xcode Command Line Tools with: Then install a fresh copy using: Loader compiled on the first try, moved it into I have also tried creating new PWAs using the extension directly in Firefox and that now works properly too. |
I'm not sure why this happened, but it's nice to see that you were able to fix it. Maybe your Xcode CLT installation was somehow corrupted. I will add better handling to the system integration that checks if the loader has been compiled successfully and displays the error if needed, instead of just failing silently. So, if this happens in the future, it will be at least easier to debug. |
Any app I create shows
You can't open the application "app_name" because it may be damaged or incomplete.
when trying to launch it.I was originally using Waterfox but to simplify troubleshooting I switched to Firefox. When I made the switch I removed any trace of Waterfox, Firefox, and the PWA extension, runtime, and connector.
I then Re-Installed Firefox from a fresh download. Installed the PWA Extension, installed the connector from home-brew and installed the default runtime from the PWA extension itself.
Everything appears fine and there are no errors in the extensions console. However the debug log does show numerous errors all seemingly related to the icon...
Im not sure what else to try. I ran through all the troubleshooting steps including the total re-install mentioned above more than once. Especially considering everything works perfectly on my other Mac which is configured exactly the same.
The attached log shows only one attempt to create and launch a ChatGPT PWA in a fresh profile..
firefoxpwa.log
macOS Sonoma 14.5
Intel Core i5
Extension Ver: 2.12.1
Firefox Ver: 128.0.3
The text was updated successfully, but these errors were encountered: