Created
October 3, 2013 12:25
Unsigning JavaApplicationStub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The application is signed using a broken signature: | |
codesign -vvvv YourKit_Java_Profiler_12.0.6.app | |
# YourKit_Java_Profiler_12.0.6.app: invalid Info.plist (plist or signature have been modified) | |
# In architecture: x86_64 | |
# Get a clean copy of the JavaApplicationStub | |
cp /System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS/JavaApplicationStub YourKit_Java_Profiler_12.0.6.app/Contents/MacOS/JavaApplicationStub | |
# Unsign it using the script from http://snipt.org/kto/ (linked from http://lists.apple.com/archives/java-dev/2012/Jul/msg00136.html) | |
unsign_snipt.rb YourKit_Java_Profiler_12.0.6.app/Contents/MacOS/JavaApplicationStub | |
# The application will be unsigned, and ctrl+click (rightclick) -> open will open it just fine. | |
codesign -vvvv YourKit_Java_Profiler_12.0.6.app | |
# YourKit_Java_Profiler_12.0.6.app: code object is not signed at all | |
# In architecture: i386 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment