Skip to main content

iOS

Intro

If you're new to Unity iOS, please read https://docs.unity3d.com/2019.4/Documentation/Manual/iphone-GettingStarted.html

Before build iOS project with 101XP SDK you need to configure that.

info

Minimum supported iOS 10

CocoaPods arts

1. To setup CocoaPods, please use the script setup_sdk_stage.sh or setup_sdk_release.sh (please, ask your release manager if you're not sure which script you want).

$ chmod +x setup_sdk_release.sh
$ ./setup_sdk_release.sh

2. To build your project after export from Unity, you should open Unity-iPhone.xcworkspace file, not Unity-iPhone.xcodeproj.

Updating 101XP SDK

That's needed for every 101XP SDK update iteration.

To update 101XP SDK you can run the script from the project directory with your Podfile:

./setup_sdk_release.sh

Or with the following commands:

$ pod repo-art update p101xp-release
$ pod update

Xcode Configure

Please, check files in Assets/Platform101XP/iOSConfig/:

GoogleService-Info.plist - replace this file with your Firebase config (ask your manager)

P101XP.entitlements - entitlements file contains settings for Xcode project.

P101XP-Info.plist - this file contains Info.plist values. Configure that in depending on your requirements.

caution

Please, open Unity-iPhone.xcworkspace, not Unity-iPhone.xcodeproj

101XP SDK uses Cocoa Pods and it works with xcworkspace only

caution

You should replace P101XP-Info.plist file with new file from your Xcode project if you've changed Info.plist in your Xcode project.

You should replace P101XP.entitlements file with new file from your Xcode project if you've changed Capabilities in Signing & Capabilities section in your Xcode project.

Otherwise your files will be replaced those files in Assets/Platform101XP/iOSConfig/ on the next export.