iOS Configuration Monetization+Cross

Generate an iOS Project


To generate the project in XCode you must follow these steps:

Next you will get a screen with all the different platforms. You have to select iOS and then click on Switch Platform.
It should look like this:

Once the platform is changed, you generate your Project in XCode by clicking the Build button.

iOS 9 Considerations

App Transport Security


So that our application is not affected by this new measure that Apple has taken we have to add in our file "Info.plist" the following lines:

If you want to see more documentation, App Transport Security (ATS).

Bitcode in Xcode 7


The Google Mobile Ads SDK does not yet support enabling bitcode. You will need to disable this setting in your app by navigating to the target or project Build Settings. Under the Build Options section, set Enable Bitcode to No.


If you want to see more documentation, Bitcode.

Tappx SDK integration


Download the latest version of the SDK. Current SDK version: 4.0.6

Drag the "TappxFramework.framework" and "OMSDK_Tappx.framework" files inside the Xcode Project.
Tappx_sdk_integration_1.png
Once done you will see the option screen where you must check the same options as in the following screen:

Google Admob integration


We are using a Google Adserver and for that reason the integration of their SDK is a must. If you have it integrated yet in your project, just skip this step.

CocoaPods

1. Download the example from GoogleServices-Info.plist.

2. Modify the BUNDLE_ID property with the bundle or your app and delete the two Admob test keys.

3. Save the file with the same name and in the same path where is located your project.

4. Create a file with name Podfile in the same directory where is the .xcworkspace file (usually in the root of your project) with the following lines:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'
pod 'Firebase/Core'
pod 'Firebase/AdMob'

5. And finally from the terminal console, access the directory where is the Podfile and execute the instruction: pod install.

pod install

Note: If you need more details about how to integrate it, you can check this link : https://firebase.google.com/docs/admob/ios/quick-start.

Manual

1. Download the SDK from this link: Google Ads.


  1. 2. Drag the framework asa you did it previously with Tappx framework.

    3. In the next screen you need to set the options as in this image:

Tappx © 2020