If not using CocoaPods:
Download the WebtrendsSDK is available to download from https://github.com/webtrends/ios-sdk.
Add the following frameworks to the project:
As well as the following dynamic libraries:
Grab wtdb.sqlite from the downloaded repository and add this to the project
Create a new Property List file called webtrends.plist and add, at minimum, a property called wt_dc_dcsid with the value of your DCSID.
If using Swift:
Create Bridging-Header.h file and add the following to it
If not using Swift:
You will need to manually add the following import statement to your header files where you intend to use Webtrends:
Under Build Phases
Add the libWebtrendsSDK.a to Link Binary with Libraries
Under Build Settings
Set Header Search Paths to include the path where you have the WebtrendsSDK.h file
Set Library Search Paths to include the path where you have the libWebtrendsSDK.a file
Add -ObjC under Other Linker Flags in Build Settings