(iOS) static library throws an exception | Community
Skip to main content
New Participant
April 18, 2019
Solved

(iOS) static library throws an exception

  • April 18, 2019
  • 3 replies
  • 2155 views

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by himanshup604264

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

3 replies

Employee
May 31, 2019

Hi all,

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

Thanks,

Yansong

New Participant
April 19, 2019

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

himanshup604264
himanshup604264Accepted solution
Employee
April 18, 2019

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