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

[bug] [v1][macos] _MASReceipt prevents bundle from being deleted #9633

Open
rtiagom opened this issue May 1, 2024 · 0 comments
Open

[bug] [v1][macos] _MASReceipt prevents bundle from being deleted #9633

rtiagom opened this issue May 1, 2024 · 0 comments
Labels
platform: macOS status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@rtiagom
Copy link

rtiagom commented May 1, 2024

Describe the bug

When using in-app store purchases in macOS a directory called _MASReceipt is created in the bundle with a receipt file. That directory and file are owned by root which causes npm run tauri build to fail.

"Error failed to bundle project: Failed to remove old Relative Motion.app"

Reproduction

No response

Expected behavior

Old bundle to be removed

Full tauri info output

[✔] Environment
    - OS: Mac OS 14.4.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.77.2 (25ef9e3d8 2024-04-09)
    ✔ cargo: 1.77.2 (e52e36006 2024-03-26)
    ✔ rustup: 1.27.0 (bbb9276d2 2024-03-08)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 20.11.0
    - npm: 10.2.4

[-] Packages
    - tauri [RUST]: 1.6.2
    - tauri-build [RUST]: 1.5.1
    - wry [RUST]: 0.24.7
    - tao [RUST]: 0.16.8
    - @tauri-apps/api [NPM]: 1.5.4
    - @tauri-apps/cli [NPM]: 1.5.12

[-] App
    - build-type: bundle
    - CSP: default-src 'self'; script-src 'self'; connect-src 'self' server.relativemotion.app dev.server.relativemotion.app ws:; img-src https://* data:; frame-src *; child-src 'self'; font-src 'self'; style-src-elem 'self'; style-src 'self'; object-src 'none'; upgrade-insecure-requests;
    - distDir: ../src
    - devPath: ../src
    - bundler: Webpack

Stack trace

No response

Additional context

No response

@rtiagom rtiagom added status: needs triage This issue needs to triage, applied to new issues type: bug labels May 1, 2024
@rtiagom rtiagom changed the title [bug] [macos] _MASReceipt prevents bundle from being deleted [bug] [v1][macos] _MASReceipt prevents bundle from being deleted May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: macOS status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

2 participants