|ReleasedLast Release||Aug 2020|
Webengage SDK is supported for
iOS7and above only. We needs the following frameworks to be linked as part of the XCode project(Direct Integration). Specifically:
Add the below lines to your Podfile
For Xcode 7 and above:
target 'WebEngageExample' do pod 'WebEngage'
For XCode 6:
target 'WebEngageExample' do pod 'WebEngage/Xcode6'
Learn about Podfile Specifications here
Download the SDK file here. Extract the downloaded zip file. In the extracted zip there would be two directories - xc6 and xc7. If you are using XCode 6 use the
Webengage.framework within the
xc6 directory. For Xcode 7 and above use the one in
xc7. Save the appropriate
Webengage.framework it in a location on your computer.
Select the name of the project in the project navigator. The project editor appears in the editor area of the Xcode workspace window.
Click on the
General Tab at the top of project editor.
In the section
Embedded Libraries click on
+ button. It will open up the file chooser for your project. Open WebEngage.framework and select
Copy if needed option. This will copy the framework to your project directory.
Below Embedded Libraries, there is
Linked Frameworks and Libraries click the
+ button and add the following frameworks:
Other Linker Flagsoption.
At this point, Webengage SDK integration is complete and your project should build successfully.