You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I built a macOS application using Tauri and tried to publish it to the App Store, but it's been stuck for 2 hours... I received 3 errors and I'm not sure how to correct them.
Asset validation failed (90296)
App sandbox not enabled. The following executables must include the "com.apple.security.app-sandbox" entitlement with a Boolean value of truein the entitlements property list: [( "com.rxliuli.batch-rename.pkg/Payload/Batch Rename.app/Contents/MacOS/Batch Rename" )] Refer to App Sandbox page at https://developer.apple.com/documentation/security/app_sandbox for more information on sandboxing your app. (ID: f5bdedf9-cfa8-42e6-a26b-3f6520a3c02c)
I thought this error only required me to declare com.apple.security.app-sandbox in the Info.plist, but that didn't help.
Asset validation failed (90242)
The product archive is invalid. The Info.plist must contain a LSApplicationCategoryType key, whose value is the UTI for a valid category. For more details, see "Submitting your Mac apps to the App Store". (ID: febdd2d7-a513-4a80-8338-3229ad794e68)
Similarly, I have already configured tauri.bundle.category: public.app-category.utilities.
Asset validation failed (90869)
Invalid bundle. The “Batch Rename.app” bundle supports arm64 but not Intel-based Mac computers. Your build must include the x86_64 architecture to support Intel-based Mac computers. To support arm64 only, your macOS deployment target must be 12.0 or higher. For details, view: https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary. (ID: 657554bd-aeee-43e8-a97f-638fae7fa528)
The build command I used is as follows:
pnpm tauri build --target universal-apple-darwin
productbuild --component './src-tauri/target/release/bundle/macos/Batch Rename.app' /Applications --sign "3rd Party Mac Developer Installer: NAME (ID)" ./release/batch-rename.pkg
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I built a macOS application using Tauri and tried to publish it to the App Store, but it's been stuck for 2 hours... I received 3 errors and I'm not sure how to correct them.
I thought this error only required me to declare
com.apple.security.app-sandbox
in the Info.plist, but that didn't help.GitHub Link: https://github.com/rxliuli/batch-rename/blob/f91e95907d98ab8cda7271033fe403f8f6a60b9c/src-tauri/MyInfo.plist#L5-L6
Similarly, I have already configured
tauri.bundle.category: public.app-category.utilities
.The build command I used is as follows:
GitHub Repo: https://github.com/rxliuli/batch-rename
Beta Was this translation helpful? Give feedback.
All reactions