Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion tutorials/platform/ios/ios_plugin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ To build an iOS plugin:

- The configuration file extension must be ``gdip`` (e.g.: ``MyPlugin.gdip``).

- The configuration file format is as follow:
- The configuration file format is as follows:

::

Expand All @@ -104,6 +104,14 @@ To build an iOS plugin:

linker_flags=["-ObjC"]

spm_packages=[
{
"url": "https://github.com/googleads/swift-package-manager-google-mobile-ads.git",
"version": "12.14.0",
"products": ["GoogleMobileAds"]
}
]

[plist]
PlistKeyWithDefaultType="Some Info.plist key you might need"
StringPlistKey:string="String value"
Expand Down Expand Up @@ -143,6 +151,8 @@ To build an iOS plugin:

- **linker_flags**: contains a list of linker flags to add to the Xcode project when exporting the plugin.

- **spm_packages**: contains a list of Swift Package Manager dependencies, specifying exact versions. Each package should be a `Dictionary` with ``url`` (string), ``version`` (string, exact version), and ``products`` (array of strings, listing the libraries to link).

- **plist**: should have keys and values that should be present in ``Info.plist`` file.

- Each line should follow pattern: ``KeyName:KeyType=KeyValue``
Expand Down
Loading