Add the SDK to the Project
Here are details on adding the Oracle iOS SDK to your project.
- Download the ODA Client SDK for iOS and extract it to your local system.
- Add the
.xcframework
file to theFrameworks
file in your Xcode project. Choose the set of frameworks from the appropriate folder depending on where you want to run the app (simulator or actual device).NoteYou can drag and drop the files into the Frameworks file or you can add them as follows:
Starting with Release 24.04, the frameworks for Intel and M1 Chip Mac are packaged into a single.xcframework
file.- Click File > Add Files to "<project name>".
- Choose the
.framework
files that you want to add depending on where you want to run the app (simulator or actual device). - Make sure to that Copy items if needed (located under Destinations) is selected.
- Alternatively, you can drag and drop the
.framework
files into the project file in Xcode.
- After you've added the files:
- Make sure Copy items if needed for the Destination property is selected.
- Make sure that Add to Targets is selected for the project.
- Embed and sign the frameworks in the Frameworks, Libraries, and Embedded Content category in the General tab. (This may vary according to the version of Xcode that you're using.) Make sure the Targets option is selected.
- Add the following keys in the project's
Info.plist
file:- Privacy - Location Always and When In Use Usage
Description or
<key>NSLocationAlwaysUsageDescription</key>
and the corresponding <string></string> in the source code. - Privacy - Location When In Use Usage Description
or
<key>NSLocationWhenInUseUsageDescription</key>
and the corresponding<string></string>
in the source code. - Privacy - Microphone Usage Description or
<key>NSMicrophoneUsageDescription</key>
and the corresponding<string></string>
in the source code. - Privacy - Camera Usage Description or
<key>NSCameraUsageDescription</key>
and the corresponding<string></string>
in the source code. - Privacy - Photo Library Usage Description or
<key>NSPhotoLibraryUsageDescription</key>
and the corresponding<string></string>
in the source code.
- Privacy - Location Always and When In Use Usage
Description or
- To open a location in Google maps instead of Apple maps when a user taps a
map view in a location message, declare the URL schemes used by the Maps SDK for iOS in
the app's
Info.plist
file as described in the Google Maps SDK for iOS documentation. - To enable users to download attachments that are part of a skill response,
set the Application Supports iTunes file sharing key
(
UIFileSharingEnabled
) toYES
and the Support opening documents in place key (LSSupportsOpeningDocumentsInPlace
) toYES
in theInfo.plist
file.