Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing on iphone 5s #17

Closed
matthewjdrover opened this issue May 12, 2015 · 11 comments
Closed

Crashing on iphone 5s #17

matthewjdrover opened this issue May 12, 2015 · 11 comments
Labels

Comments

@matthewjdrover
Copy link

It works great in the simulator but when ran on my phone it crashes. I'm running ios 8.1.1 on a 5s. To be sure it was not my implementation, I used your code sample to test.

@lbrndnr
Copy link
Owner

lbrndnr commented May 14, 2015

You need to give me a crash log so that I can help you

@lbrndnr lbrndnr added the bug label May 14, 2015
@lbrndnr
Copy link
Owner

lbrndnr commented May 22, 2015

@matthewjdrover Do you have any info for me?

@matthewjdrover
Copy link
Author

Running your example on my iphone starts fine. I press to activate the picker. I 'Allow' access to my photos. then crash.

xcode says "Terminated due to Memory error"

and the output log shows "2015-05-22 10:00:05.735 BRNImagePickerSheet[667:179775] Connection to assetsd was interrupted or assetsd died". This message only came up the first time I ran it. The memory error comes up every time.

That's very little to go on I know. Just to note, I have 2000 images on my phone currently. Not sure if it's relevant.

@lbrndnr
Copy link
Owner

lbrndnr commented May 22, 2015

@matthewjdrover That's weird, it certainly doesn't load 2000 images in memory. Do you have a stack trace or something else?

@lbrndnr
Copy link
Owner

lbrndnr commented May 22, 2015

@matthewjdrover Oh, are you running the latest commit btw?

@matthewjdrover
Copy link
Author

This is what I get from the latest. My phone is running 8.1.1 btw.

dyld: Library not loaded: @rpath/ImagePickerSheet.framework/ImagePickerSheet
Referenced from: /private/var/mobile/Containers/Bundle/Application/7FF567A0-A881-41D9-8CDB-2E99A5311AF6/Example.app/Example
Reason: image not found
(lldb)

@lbrndnr
Copy link
Owner

lbrndnr commented May 22, 2015

@matthewjdrover Pull and try again please :)

@matthewjdrover
Copy link
Author

Works great. Thanks.

@matthewjdrover
Copy link
Author

The example works fine, but when I include your project into mine I get this error again. Only on my phone, the simulator works fine.

It says image not found, so I copied your asset images into my assets, but still no go.

dyld: Library not loaded: @rpath/ImagePickerSheetController.framework/ImagePickerSheetController
Referenced from: /private/var/mobile/Containers/Bundle/Application/DDF8141B-20E7-4B02-8F54-DC74363C061A/myapp.app/myapp
Reason: image not found

@matthewjdrover
Copy link
Author

Never mind. I forgot to set the imbedded binaries. This is some great code. Thanks.

@lbrndnr
Copy link
Owner

lbrndnr commented Jun 26, 2015

@matthewjdrover perfect, thanks a lot :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants