This app compiles fine for the Device, but it fails when building for the Simulator.
Undefined symbols:
“.objc_class_name_NSObject”, referenced from:
.objc_class_name__PLAbstractBlock in PLBlocks(NSBlock.o)
“_OBJC_CLASS_$__PLConcreteStackBlock”, referenced from:
_OBJC_CLASS_$__PLConcreteStackBlock$non_lazy_ptr in ZAttributedString.o
_OBJC_CLASS_$__PLConcreteStackBlock$non_lazy_ptr in UpdatesModel.o
(maybe you meant: _OBJC_CLASS_$__PLConcreteStackBlock$non_lazy_ptr)
ld: symbol(s) not found
collect2: ld returned 1 exit status
Anyone out there understand this error?
I’m going to try leaving out PLBlocks, and simply requiring iOS 4.0. Actually, does iPhone OS 3.2 include built-in blocks support?
Comments
Are you sure you’re using the correct PLBlocks runtime version? Apple changed the runtime ABI.
3.2 has a block runtime, but it’s broken, private and will explode if you try to use it.
Hmm, I remember going back to the PLBlocks site and downloading the latest version, but maybe the ABI was still incompatible. Thanks for the info! I’ll check into this the next time I want to use PLBlocks.
Leave A Comment