ELCAssetTablePicker preparePhotos crash with Bad Exec #20

Closed
Tosken1337 opened this Issue Apr 20, 2012 · 1 comment

Projects

None yet

2 participants

@Tosken1337

Hi,

i am trying to integrate your wonderful image picker in my application.
Everything works fine and the ELCAlbumPickerController let me pic an album.
But then i get a bad access exception when the ELCAssetTablePicker tries to enumerate the images of the selected assetGroup.
The call [self.assetGroup enumerateAssetsUsingBlock:^(...) in prepare Photos throws the exception.
I try to debug but everything seems to be ok. The assetGroup is not null.
I get this when i run it on an iOS 5.1 Simulater.
On the iphone iOS 4.3 Simulator the albums will not load.
He will not execute the code to laod the albums ansy with the dispatch_async call.

Do you have any suggestion for me?

Thanks and best regards

@Tosken1337

i figured out, that the issue comes from weak linking the uiKit and foundation framework
When i remove these linker flags, it works

@jvanmetre jvanmetre closed this Apr 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment