Exception "[SUHost sharedFrameworksPath]: unrecognized selector sent to instance" on XCode5 #303

Closed
vtardia opened this Issue Oct 25, 2013 · 1 comment

Projects

None yet

1 participant

@vtardia
vtardia commented Oct 25, 2013

Hi Andy,

I'm compiling a mac app on XCode5 on Mountain Lion, an exception is thrown during the update check, but only when using the Release configuration:

[SUHost sharedFrameworksPath]: unrecognized selector sent to instance "

When I run the app from inside xcode simulating updates it runs ok, when I archive and deploy I see the exception message.

The Sparkle framework seems properly linked what could it be?

The full log message is:

2013-10-25 13:08:07.413 PictureBank[4676:c07] -[SUHost sharedFrameworksPath]: unrecognized selector sent to instance 0x7fecc901b1f0
2013-10-25 13:08:07.414 PictureBank[4676:c07] An uncaught exception was raised
2013-10-25 13:08:07.414 PictureBank[4676:c07] -[SUHost sharedFrameworksPath]: unrecognized selector sent to instance 0x7fecc901b1f0
2013-10-25 13:08:07.416 PictureBank[4676:c07](0 CoreFoundation 0x00007fff840dcb06 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff880b33f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8417340a -[NSObject%28NSObject%29 doesNotRecognizeSelector:] + 186
3 CoreFoundation 0x00007fff840cb02e forwarding + 414
4 CoreFoundation 0x00007fff840cae18 _CF_forwarding_prep_0 + 232
5 Sparkle 0x000000010362b4ea load_dsa_key + 11400
6 Sparkle 0x0000000103627f4f Sparkle + 24399
7 Sparkle 0x000000010362f784 load_dsa_key + 28450
8 AppKit 0x00007fff8c650959 -[NSApplication sendAction:to:from:] + 342
9 AppKit 0x00007fff8c78636c -[NSMenuItem _corePerformAction] + 406
10 AppKit 0x00007fff8c78605a -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 133
11 AppKit 0x00007fff8c47320f -[NSMenu _internalPerformActionForItemAtIndex:] + 36
12 AppKit 0x00007fff8c473097 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 135
13 AppKit 0x00007fff8c77f165 NSSLMMenuEventHandler + 342
14 HIToolbox 0x00007fff870acd1a _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1206
15 HIToolbox 0x00007fff870ac1e9 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 410
16 HIToolbox 0x00007fff870c1fc9 SendEventToEventTarget + 40
17 HIToolbox 0x00007fff870f8ca9 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 443
18 HIToolbox 0x00007fff8709da21 SendMenuCommandWithContextAndModifiers + 59
19 HIToolbox 0x00007fff8709d9d3 SendMenuItemSelectedEvent + 254
20 HIToolbox 0x00007fff8709d85f ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2 + 94
21 HIToolbox 0x00007fff870798bb _ZL14MenuSelectCoreP8MenuData5PointdjPP13OpaqueMenuRefPt + 605
22 HIToolbox 0x00007fff87078ec8 _HandleMenuSelection2 + 565
23 AppKit 0x00007fff8c63e8c6 _NSHandleCarbonMenuEvent + 245
24 AppKit 0x00007fff8c560a9f _DPSNextEvent + 2073
25 AppKit 0x00007fff8c55fdf2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
26 AppKit 0x00007fff8c5571a3 -[NSApplication run] + 517
27 AppKit 0x00007fff8c4fbbd6 NSApplicationMain + 869
28 PictureBank 0x000000010360d8a5 PictureBank + 6309
29 PictureBank 0x000000010360d674 PictureBank + 5748
30 ??? 0x0000000000000002 0x0 + 2)

Thank you very much

Vito

@vtardia
vtardia commented Nov 7, 2013

Solved, here's the how:

My builder script is made in PHP. Zip packages generated using the ZipArchive library caused the error, probably the library misses something.

I now create the package using the system zip command and it's all right.

@vtardia vtardia closed this Nov 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment