Closed blackketter closed 4 years ago
Found this crashlog, seems that there's an issue with Sparkle:
Process: Tinkle [98396]
Path: /Users/USER/*/Tinkle.app/Contents/MacOS/Tinkle
Identifier: org.pqrs.Tinkle
Version: 1.0.0 (1.0.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Tinkle [98396]
User ID: 502
Date/Time: 2020-04-02 20:12:32.415 -0700
OS Version: Mac OS X 10.15.4 (19E266)
Report Version: 12
Bridge OS Version: 4.4 (17P4263)
Anonymous UUID: DBE691D3-9780-4F65-4EAA-540F0A8F98A4
Sleep/Wake UUID: A82F01B8-9CF8-4CA7-8DB9-6A07BB2331C6
Time Awake Since Boot: 610000 seconds
Time Since Wake: 44000 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x5] Code Signature
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @rpath/Sparkle.framework/Versions/A/Sparkle
Referenced from: /Users/USER/*/Tinkle.app/Contents/MacOS/Tinkle
Reason: no suitable image found. Did find:
/Users/dean/src/Tinkle/tmp/Tinkle.app/Contents/MacOS/../Frameworks/Sparkle.framework/Versions/A/Sparkle: code signature in (/Users/dean/src/Tinkle/tmp/Tinkle.app/Contents/MacOS/../Frameworks/Sparkle.framework/Versions/A/Sparkle) not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)
/Users/dean/src/Tinkle/tmp/Tinkle.app/Contents/MacOS/../Frameworks/Sparkle.framework/Versions/A/Sparkle: stat() failed with errno=1
Binary Images:
0x10f79e000 - 0x10f7cfff7 +org.pqrs.Tinkle (1.0.0 - 1.0.0) <0E784293-F64D-3FA8-A3B5-EEEEF0E1E2C7> /Users/USER/*/Tinkle.app/Contents/MacOS/Tinkle
0x11abb9000 - 0x11ac4aeff dyld (750.5) <1F893B81-89A5-3502-8510-95B97B9F730D> /usr/lib/dyld
Replace CODESIGN_IDENTITY
if you have your own certificate.
https://github.com/pqrs-org/Tinkle/blob/master/scripts/codesign.sh#L6
If you do not have Apple Developer Certificates, remove Sparkle from Xcode project, and remove related code from Updater.swift. https://github.com/pqrs-org/Tinkle/blob/master/src/Tinkle/swift/Updater.swift#L6-L9 https://github.com/pqrs-org/Tinkle/blob/master/src/Tinkle/swift/Updater.swift#L6-L9 https://github.com/pqrs-org/Tinkle/blob/master/src/Tinkle/swift/Updater.swift#L6-L9
Thanks so much!
I improved the build to read codesign identity from the environment variable and exclude Sparkle automatically if there is not valid identity.
Follow this instruction. https://github.com/pqrs-org/Tinkle/#steps
Hi. Trying to follow the instructions to build Tinkle, getting the following error during code signing at the end of the build. The built app won't launch properly. Any suggestions on how to get it to build and run? Thanks!
The following is logged to the console when you try to launch the built app: