Xcode build issues related to analytics | Community
Skip to main content
New Participant
Sep 4, 2023 4:55 AM UTC
Solved

Xcode build issues related to analytics

I'm trying to install analytics into a separate target, it works perfectly in the main target for the project but another target, the tests won't build, it shows this error

Undefined symbol: _OBJC_CLASS_$_ACPAnalytics

Undefined symbol: _OBJC_CLASS_$_ACPCore

Undefined symbol: _OBJC_CLASS_$_ACPIdentity

Undefined symbol: _OBJC_CLASS_$_ACPLifecycle

Undefined symbol: _OBJC_CLASS_$_ACPMobileServices

Undefined symbol: _OBJC_CLASS_$_ACPSignal

Undefined symbol: _OBJC_CLASS_$_ACPUserProfile

Undefined symbol: _OBJC_CLASS_$_ACPIdentity

Linker command failed with exit code 1 (use -v to see invocation)

 

How do i fix this issue?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
FarazHusain
FarazHusainAccepted solution
Employee
Sep 4, 2023 2:42 PM UTC

Have you tried an unclean library lying around after adding/removing dependencies?  You can try Xcode -> Product -> Clean Build Folder, and rebuilt the project.

2 replies

FarazHusain
FarazHusainAccepted solution
Employee
Sep 4, 2023 2:42 PM UTC

Have you tried an unclean library lying around after adding/removing dependencies?  You can try Xcode -> Product -> Clean Build Folder, and rebuilt the project.

Translate
abhi10Author
New Participant
Sep 4, 2023 6:07 AM UTC

Could anyone please assist on this? 

Translate