-
Notifications
You must be signed in to change notification settings - Fork 554
NSRangeException from NSTaggedPointerString on iOS 9 DP #120
Comments
@josefdlange thanks for the report! I don't currently have the Xcode beta on my machine to double-check for myself. But there are only a few uses of NSRange in our code, and based on your well-reported details I'm pretty sure that I see the one responsible here. I'll fix that now. We'll probably release an updated version of card.io within the next few days, and I'll include this fix. I'll update this issue then, and hopefully you'll be able to confirm that everything is working under iOS 9. |
having same issue... Here's the stack trace if it helps: 2015-07-06 09:55:08.675 heynay[18768:259423] *** Terminating app due to uncaught exception 'NSRangeException', reason: '-[NSTaggedPointerString getCharacters:range:]: Range {0, 12} out of bounds; string length 9' |
Fixed in Version 5.1.0. |
Nice. Thanks.
|
having same issue... Here's the stack trace if it helps: |
Please open a new issue (referencing this one if you like), and provide the version of card.io you are using as well as the iOS version. Thanks! |
Still crash exist. It works for two cards, but does not work for one card. Console Log: Let me know if more info required. |
Any chance you could symbolicate that stack trace, or at least the card.io portion of if? |
Sorry, It is crashing in our code. It works well for my 2 cards, but for one card, it returns nil. So not sure why it does not scan it properly. |
May i ask what was the problem and how you fixed that? Because i keep getting strange error of such kind when i am trying to insert a letter "İ" using custom keyboard to Messages and iMessage app. Messages app just crashes and i don`t know what is going on. Googling brought me here. Please share your experience. |
@pirrate I don't think this is an appropriate thread for your issue. Are you using the Card.IO library and having issue with it? It looks like your issue is entirely unrelated to this library. |
Hi there,
Loving using Card.IO. What a stellar library for the world to use. I am running iOS 9 DP and finding an issue stemming from Card.IO. On iOS 8 devices, there seems to be no issue, but on iOS 9 I see the following exception rise from inside of Card.IO. Because it's a compiled Objective-C++ static library, I don't have much visibility into the issue itself, but I can tell you that it happens after I create a
CardIOPaymentViewController
but before it makes it onto the screen. My best guess is something inside of- [CardIOViewController viewDidLoad]
may be at fault, but I don't get a whole lot of insight from the symbolicated stack.Let me know how I can help. For now I'm pushing forward on iOS 8-compatible work and will come back to fix this if need be.
The text was updated successfully, but these errors were encountered: