Xcode build issues related to analytics | Community
Skip to main content
New Participant
September 4, 2023
Solved

Xcode build issues related to analytics

  • September 4, 2023
  • 2 replies
  • 660 views

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.
Best answer by FarazHusain

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
September 4, 2023

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

abhi10Author
New Participant
September 4, 2023

Could anyone please assist on this?