ios - lldb class has incompatible superclass -
i have become unable print out object properties or call methods inside of lldb. thing prints out is:
error: class '<classname>' has incompatible superclasses note: inherits superclass 'nsobject' here
this true basic object types, such as: nsarray, nsdictionary, , nsstring. here's specific example:
(lldb) po functie.length error: class 'nsstring' has incompatible superclasses note: inherits superclass 'nsobject' here error: 1 errors parsing expression
the methods available available in nsobject, such -class. extending previous example:
(lldb) po [functie class] __nscfstring
if has idea problem is, input appreciated. thank you.
try one:
select project in left project navigator.
switch
build settings
tab.search
debug information format
.set value debug
dwarf
.clean build folder: hold
option + command + shift + k
(that⌥ + ⌘ + ⇧ + k
).rebuild project:
⌘ + r
.
good luck.
Comments
Post a Comment