Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

(iOS) static library throws an exception

Avatar

Avatar
Validate 1
Level 1
nickj80819353
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
nickj80819353
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
nickj80819353
Level 1

18-04-2019

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!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 5
Employee
himanshup604264
Employee

Likes

5 likes

Total Posts

12 posts

Correct Reply

7 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Employee
himanshup604264
Employee

Likes

5 likes

Total Posts

12 posts

Correct Reply

7 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
himanshup604264
Employee

18-04-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

Answers (2)

Answers (2)

Avatar

Avatar
Boost 1
Employee
Yansong
Employee

Likes

2 likes

Total Posts

5 posts

Correct Reply

2 solutions
Top badges earned
Boost 1
Affirm 1
View profile

Avatar
Boost 1
Employee
Yansong
Employee

Likes

2 likes

Total Posts

5 posts

Correct Reply

2 solutions
Top badges earned
Boost 1
Affirm 1
View profile
Yansong
Employee

31-05-2019

Hi all,

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

Thanks,

Yansong

Avatar

Avatar
Validate 1
Level 1
nickj80819353
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
nickj80819353
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
nickj80819353
Level 1

19-04-2019

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