Problem when Compiling with the NSObject

Asked by BS0D

Hi,

I am having an issue when compiling my app. It compiles with Sparkle included in the resources.
But once I add the NSObject, assign it the SUUpdater class in the pane, Xcode doesn't compile and returns the following in the console :

There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".tty /dev/ttys000
Loading program into debugger…
Program loaded.
run
[Switching to process 7035]
Running…
Program received signal: “EXC_BAD_ACCESS”.
Error while running hook_stop:
sharedlibrary apply-load-rules all
Error while running hook_stop:
Error while running hook_stop:
Error while running hook_stop:
Invalid type combination in ordering comparison.
Error while running hook_stop:
Error while running hook_stop:
Error while running hook_stop:
Error while running hook_stop:
Error while running hook_stop:

Unable to disassemble objc_msgSend.
(gdb)

Could you help me figure out what I am doing wrong please?

It was working fine last night, it was checking for updates and everything -- not sure what I modified since then that would make it freeze !

Thanks in advance

Question information

Language:
English Edit question
Status:
Solved
For:
Sparkle Edit question
Assignee:
No assignee Edit question
Solved by:
BS0D
Solved:
Last query:
Last reply:
Revision history for this message
BS0D (bs0d) said :
#1

NB: the same thing happens when I add the SUUpdater object to my preferences.xib file.

I first removed the SUUpdater object from my MainMenu.xib, and then added one to the preferences xib.
The app compiles fine, and the main window shows, but when I click on "show preferences", I get the same message in the debugger console.

Please help !

Revision history for this message
Andy Matuschak (andymatuschak) said :
#2

Xcode doesn't compile? Please include the build errors.

And a backtrace for the crash: type "bt" at the debugger prompt.

Revision history for this message
BS0D (bs0d) said :
#3

Hello,

I have no clue what happened, I just started a new project and implemented Sparkle again, and now it works fine.
I must have done something wrong in the old project but I don't know what it is.

Thanks for your time