-
Notifications
You must be signed in to change notification settings - Fork 148
Closed
Labels
bugSomething isn't workingSomething isn't workingduplicateThis issue or pull request already existsThis issue or pull request already existsfeedbackWaiting for feedbackWaiting for feedback
Description
I'm submitting a…
- bug report
- feature request
- other
Short description of the issue/suggestion:
Signature fail on Mac, it seems that the path to .app is wrong
Steps to reproduce the issue/enhancement:
Enable signature:
macConfig {
codesignApp = true
developerId = "XXXXXXXXXX"
hardenedCodesign = true
generatePkg = false
volumeName = "MyVolumeName"
entitlements = file("${projectDir}/assets/mac/entitlements.plist")
}
Do you have outputs, screenshots, demos or samples which demonstrate the problem or enhancement?
Executing command: /bin/sh -c cd '/Users/andrea/Projects/projectname/.' && 'find' /Users/andrea/Projects/projectname/build/projectname/projectname.app -depth -type f -exec codesign -f -o runtime -s XXXXXXXXXX --entitlements /Users/andrea/Projects/projectname/assets/mac/entitlements.plist {} \;
/Users/andrea/Projects/projectname/build/projectname/projectname.app/Contents/MacOS/universalJavaApplicationStub: code object is not signed at all
In subcomponent: /Users/andrea/Projects/projectname/build/projectname/projectname app/Contents/PlugIns/jre/Contents/Home/LICENSE
/Users/andrea/Projects/projectname/build/projectname/projectname.app/Contents/PlugIns/jre/Contents/Home/bin/unpack200: replacing existing signature
/Users/andrea/Projects/projectname/build/projectname/projectname.app/Contents/PlugIns/jre/Contents/Home/bin/jfr: replacing existing signature
/Users/andrea/Projects/projectname/build/projectname/projectname.app/Contents/PlugIns/jre/Contents/Home/bin/rmid: replacing existing signature
......
......
Executing command: /bin/sh -c cd '/Users/andrea/Projects/projectname/.' && 'codesign' -f -o runtime --entitlements /Users/andrea/Projects/projectname/assets/mac/entitlements.plist -s XXXXXXXXXX /Users/andrea/Projects/projectname/build/projectname
/Users/andrea/Projects/projectname/build/projectname: bundle format unrecognized, invalid, or unsuitable
It seems that the last command is missing the application name, shouldn't it be Users/andrea/Projects/projectname/build/projectname/projectname.app?
Please tell us about your environment:
IntelliJ 2022.3.3
Gradle 7.6
- JavaPackager version: 1.7.0
- OS version: MacOS 10.15.7
- JDK version: 11.0.10
- Build tool:
- Maven
- Gradle
Other information (e.g. related issues, suggestions how to fix, links for us to have context)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingduplicateThis issue or pull request already existsThis issue or pull request already existsfeedbackWaiting for feedbackWaiting for feedback