Skip to content

Crash - unrecognized selector sent to instance #13

@Csaba8472

Description

@Csaba8472

First of all, thank you for the library!

With the latest Xamarin.iOS - xcode versions when I try to init RCPurchases:
RCPurchases.DebugLogsEnabled = true; RCPurchases.ConfigureWithAPIKey(API_KEY);

I get this exception:
[RCPurchases configureSubscriberAttributesManager]: unrecognized selector sent to instance

and RCPurchases.SharedPurchases is not initialised.

Full log:

[Purchases] - DEBUG: Initial App User ID - (null)
[Purchases] - DEBUG: Generated New App User ID - $RCAnonymousID:e8002ee99a544cfe848e6b4dc4dcff36
[Purchases] - DEBUG: GET /v1/subscribers/$RCAnonymousID:e8002ee99a544cfe848e6b4dc4dcff36
[Purchases] - DEBUG: GET /v1/subscribers/$RCAnonymousID:e8002ee99a544cfe848e6b4dc4dcff36/offerings
-[RCPurchases configureSubscriberAttributesManager]: unrecognized selector sent to instance 0x28354d0e0
[Purchases] - DEBUG: GET /v1/subscribers/$RCAnonymousID:e8002ee99a544cfe848e6b4dc4dcff36/offerings 200
[Purchases] - DEBUG: Requesting products with identifiers: {(

Tried 3.5.3.10 and 3.5.3.8 and both had this issue.

Also tried to update, but it seems from 3.6.0 the lib is modularized, and it has swift code too, so this method didn't work.

What did I do wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions