-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
briefcase run
fails after briefcase create
when using stub app templates
#1729
Comments
When reporting a bug, it's really important that you provide full reproduction instructions. You've given 3 commands - but haven't provided any details about the other inputs you've used (such as the name of your app), or the system where you're running (including operating system versions, briefcase versions, etc). The bug template asks for these details for reason - if you don't provide these details, it can be very difficult for us to diagnose the problem. I've updated your report to include some of the details you've omitted. In this case, the problem is that the As a workaround, you can manually run:
This will only be needed on the initial build. Once the metadata has been set once, no additional builds will be required. I believe the specific issue is caused because you did run The same problem exists for both the macOS One fix would be to modify the app template so that the stub binary generated by the template is literally |
briefcase run
fails after briefcase create
when using stub app templates
Thank you |
Describe the bug
When running an app on macOS or Windows,
briefcase run
will fail if abuild
step hasn't been executed.On Windows, the error manifests as:
On macOS, it is
Steps to reproduce
Expected behavior
App should start without error. The
run
should imply the need for abuild
on the macOS/Windows app templates, but because the template and binary both exist, the need for a build isn't detected.Screenshots
No response
Environment
Logs
Additional context
The briefcase dev is normal, but the briefcase run is abnormal.
If you invoke
briefcase run
on a clean project, the app works.If you invoke
briefcase build
before invokingbriefcase run
, the app works.This only affects the
app
targets; theXcode
/VisualStudio
templates do the right thing, because they require an explicit compilation step to create the binary.The text was updated successfully, but these errors were encountered: