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

attempt to delete and reload the same index path (<NSIndexPath: 0xd88f329bfe16a05b> {length = 2, path = 1 - 0}) #274

Closed
SushreeNayak opened this issue Jun 23, 2020 · 9 comments · Fixed by #279

Comments

@SushreeNayak
Copy link

Screen Shot 2020-06-23 at 5 42 33 PM

@knox
Copy link
Contributor

knox commented Jun 25, 2020

I am seeing the same with 3.2.0
It might be a regression of or is related to #254

OS Version: iOS 13.4.1 (17E262)
Report Version: 104

Exception Type: EXC_CRASH (SIGABRT)
Crashed Thread: 0

Application Specific Information:
attempt to delete and reload the same index path (<NSIndexPath: 0xd75277ceecde82a0> {length = 2, path = 0 - 23})

Thread 0 Crashed:
0 CoreFoundation 0x31df0c5f0
1 libobjc.A.dylib 0x31da75bcc objc_exception_throw
2 CoreFoundation 0x31de0f7bc
3 Foundation 0x31e624d1c
4 UIKitCore 0x324fb3398
5 UIKitCore 0x324fbd770
6 UIKitCore 0x324fbdabc
7 UIKitCore 0x324fbd904
8 UIKitCore 0x324fbd888
9 UIKitCore 0x324fbd7c4
10 xxxxxx 0x2004b9808 closure #1 in AssetsViewController.photoLibraryDidChange(_:) (AssetsViewController.swift:208)
11 xxxxxx 0x20017d884 thunk for @escaping @callee_guaranteed () -> ()
12 libdispatch.dylib 0x31d9669a8
13 libdispatch.dylib 0x31d967524
14 libdispatch.dylib 0x31d9195b4
15 CoreFoundation 0x31de8a748
16 CoreFoundation 0x31de8561c
17 CoreFoundation 0x31de84c34 CFRunLoopRunSpecific
18 GraphicsServices 0x3321b738c GSEventRunModal
19 UIKitCore 0x32576022c UIApplicationMain

@nayaks2019
Copy link

Thank you so much for fixing this issue.When it is going to be released any idea?Need this urgently

@knox
Copy link
Contributor

knox commented Jul 2, 2020

You can install the fixed code directly from master like this
pod 'BSImagePicker', :git => 'https://github.com/mikaoj/BSImagePicker.git', :branch => 'master'

@mikaoj
Copy link
Owner

mikaoj commented Jul 2, 2020

I'll probably release a version in a day or two. You can do what @knox said if you need it now.
Or specify a commit instead of branch if you prefer that:

pod 'BSImagePicker', :git => 'https://github.com/mikaoj/BSImagePicker.git', :commit => 'ea583325d1e5e7eddbf9074d11ebb94b0f0a0253'

@mikaoj
Copy link
Owner

mikaoj commented Jul 2, 2020

Ok...I did it now. Version 3.2.1

@nayaks2019
Copy link

nayaks2019 commented Jul 2, 2020

@mikaoj @knox it is no more supported for Objective c application?

@mikaoj
Copy link
Owner

mikaoj commented Jul 2, 2020

What isn’t supported by objective-c?

@nayaks2019
Copy link

@mikaoj yes I was using 2.10.3 version which was working with objective c.Now I updated to 3.2.1 and not able to access settings.selection.max value from Objective c code.Any idea?

@nayaks2019
Copy link

@mikaoj I noticed now the presentImagePicker function does not have parameter selectLimitReached:^(int maximumSelection) anymore, this was there before.I used this parameter to show how many images are left to pick up to the user on a closure. Is there any specific reason this was removed from presentImagePicker func ?
Or any alternative we have today?

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

Successfully merging a pull request may close this issue.

4 participants