iOS Blocks do not work in Native Extensions
Hi Guys,
I think i have found a bug in the current Native Extensions implementation.
Basically if you add an iOS 4 style block to your code then FlashBuilder can't build the project I get an error like this.
ld: absolute addressing (perhaps -mdynamic-no-pic) used in -[MobileImagePicker searchForAlbums] from /var/folders/nw/nwjKk-0UFzKXgLSHtcbjxE+++TI/-Tmp-/530e198b-499e-4ee1-afb3-e566ea8d2bf3/libuk.co.betadesigns.extension.NativeImagePicker.a(MobileImagePicker.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs
Compilation failed while executing : ld64
In order to get rid of this error I had to set "Enable Linking with shared libraries" to NO which allows the application to build however as soon as i call context.createExtensionContext() the Application exits.
Has anyone managed to get blocks working in an IOS extension?
Any help or ideas would be much appreciated.
Thanks
Anthony
