Antondomashnev / FBSnapshotsViewer

A mac os application that shows the failing snapshot tests from FBSnapshotTestCase
MIT License
224 stars 15 forks source link

Crash on launch with 0.3.0 #32

Closed marcelofabri closed 7 years ago

marcelofabri commented 7 years ago
Process:               FBSnapshotsViewer [45990]
Path:                  /Applications/FBSnapshotsViewer-0.3.0.app/Contents/MacOS/FBSnapshotsViewer
Identifier:            com.antondomashnev.FBSnapshotsViewer
Version:               0.3.0 (2)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           FBSnapshotsViewer [45990]
User ID:               502

Date/Time:             2017-05-15 14:51:04.744 +0200
OS Version:            Mac OS X 10.12.4 (16E195)
Report Version:        12
Anonymous UUID:        B908F9A8-CF1F-89F8-7A3F-91081B0A78E6

Sleep/Wake UUID:       0C0DB7A5-362F-41E5-804B-7C8E772B517D

Time Awake Since Boot: 110000 seconds
Time Since Wake:       5400 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/KZFileWatchers.framework/Versions/A/KZFileWatchers
  Referenced from: /Applications/FBSnapshotsViewer-0.3.0.app/Contents/MacOS/FBSnapshotsViewer
  Reason: no suitable image found.  Did find:
    /Applications/FBSnapshotsViewer-0.3.0.app/Contents/MacOS/../Frameworks/KZFileWatchers.framework/Versions/A/KZFileWatchers: code signature invalid for '/Applications/FBSnapshotsViewer-0.3.0.app/Contents/MacOS/../Frameworks/KZFileWatchers.framework/Versions/A/KZFileWatchers'

    /Applications/FBSnapshotsViewer-0.3.0.app/Contents/MacOS/../Frameworks/KZFileWatchers.framework/Versions/A/KZFileWatchers: code signature invalid for '/Applications/FBSnapshotsViewer-0.3.0.app/Contents/MacOS/../Frameworks/KZFileWatchers.framework/Versions/A/KZFileWatchers'

Binary Images:
       0x1073f2000 -        0x10744bff7 +com.antondomashnev.FBSnapshotsViewer (0.3.0 - 2) <8D761FD8-CF12-3308-86B4-053ADD58F258> /Applications/FBSnapshotsViewer-0.3.0.app/Contents/MacOS/FBSnapshotsViewer
       0x115830000 -        0x11586ddc7  dyld (433.5) <8239D0D7-66F6-3C44-A77F-586F74525DA3> /usr/lib/dyld
Antondomashnev commented 7 years ago

Hi @marcelofabri thanks for reporting. It seems that the problem is with codesigning, I've reuploaded a new build for 0.3.0 release. Could you please check once again?

marcelofabri commented 7 years ago

Still crashes for me 😬

I get this message on Console.app:

Disallowing org.cocoapods.KZFileWatchers because no eligible provisioning profiles found

Antondomashnev commented 7 years ago

Argh πŸ˜„

Antondomashnev commented 7 years ago

Hah, it seems it could be because in my provisioning profile there was a space in the name. If you don't mind, check it once again, please πŸ˜„

brentleyjones commented 7 years ago

Still crashing.

Antondomashnev commented 7 years ago

Thanks, @brentleyjones I'm still investigating it. The weird thing that the release is done by fastlane script which is the same as for 0.2.1

Antondomashnev commented 7 years ago

Finally reproduced the issue on another laptop. It seems that the other signing flag --deep did the bad job πŸ˜„ Release zip is updated πŸŽ‰

marcelofabri commented 7 years ago

I can confirm that this is fixed πŸš€