-
Notifications
You must be signed in to change notification settings - Fork 5
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
EXC_BAD_ACCESS on device #4
Comments
To add a little more info: Here's the method call where it's crashing: (lldb) x/s $r1
0x32974cdc: "isKindOfClass:"
(lldb) Looks like CargoBay is using that method twice: |
The same thing happens when I use the CargoBay example code (converted over to RubyMotion, of course) identifiers = ["my.product.identifier"]
CargoBay.sharedManager.productsWithIdentifiers(
NSSet.setWithArray(identifiers),
success:-> products, invalidIdentifiers {
NSLog("Products: %@", products)
NSLog("Invalid Identifiers: %@", invalidIdentifiers)
}, failure:-> error {
NSLog("Error: %@", error)
}
) |
I'm not sure what's going on there. Let me know what you find out. All the best Holger Sindbaek On Monday, June 30, 2014 at 8:28 PM, Mark Rickert wrote:
|
Yeah, I am getting the same error. Any status updates on this? |
I eventually wound up writing my own based on a tutorial. https://github.com/MohawkApps/TheShowCloser/blob/master/app/helpers/iap_helper.rb And here's usage: This code is running and working in production. |
@markrickert Thanks for the links! |
I ran into this too on startup. I ran the app in the simulator and it just stopped, no error message. In debug mode, I did a "bt" stacktrace and noticed a crash in NSUserDefaults. On a hunch, I converted the price to a float and it worked fine. Must not have liked the BigDecimal.
|
So I'm trying to get this up and running on a device and I'm running into an EXC_BAD_ACCESS error when running in debug mode (it just stops with no error message when not in debug mode). Any idea about what's going on here?
The text was updated successfully, but these errors were encountered: