Expand my Community achievements bar.

Webinar: Adobe Customer Journey Analytics Product Innovations: A Quarterly Overview. Come learn for the Adobe Analytics Product team who will be covering AJO reporting, Graph-based Stitching, guided analysis for CJA, and more!
SOLVED

(iOS) static library throws an exception

Avatar

Level 1

Hi Adobe Experts,

I have integrated ACPCore and ACPAnalytics in my project (libACPCore_iOS.a, libACPIdentity_iOS.a, libACPAnalytics_iOS.a, etc). I find there's an exception in the console:

-[Reachability reachabilityStatus]: unrecognized selector sent to instance 0x6000016aef40

Our project also calls Reachability api. And we are using version #3.2. I don't see a class method named 'reachabilityStatus' in its code.

Now when my code wants to call ACPCore.trackPage() or ACPCore.trackAction(). It throws exceptions (the app can still run). But I am afraid the request was not sent successfully. In the log, it shows:

Analytics Request Queued (ndh=1&cid.&AVID.&as=0&id=2E5BEECE85030EC5-60001185C00005BF&.AVID&.cid&c.&a.&AppID=...

Does that mean the request was not sent? Should I do something to fix that exception?

Thanks in advance!

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi nickj80819353​,

It seems like you have a class with name Reachability as well? If so, that will conflict with Reachability class in ACPCore thus resulting into this exception while Analytics hits attempt to get processed from the queue. Is it possible for you to rename your Reachability class and retry?

In the meantime, we have created an internal ticket to address this and rename the class in future releases.

Regards,

Himanshu

View solution in original post

3 Replies

Avatar

Correct answer by
Employee

Hi nickj80819353​,

It seems like you have a class with name Reachability as well? If so, that will conflict with Reachability class in ACPCore thus resulting into this exception while Analytics hits attempt to get processed from the queue. Is it possible for you to rename your Reachability class and retry?

In the meantime, we have created an internal ticket to address this and rename the class in future releases.

Regards,

Himanshu

Avatar

Level 1

Thank you Himanshu. After renaming Reachability class, the issue is fixed.

Avatar

Level 2

Hi all,

Reachability class was renamed to ACPReachability in ACPCore 2.3.0 which is released today.

Thanks,

Yansong