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?