<commit_before>Project Setup
=============

iOS
---

The Open eCard Framework for iOS is delivered as a Swift and ObjC compatible framework which can be added to a project in XCode.

The framework must be "embedded and signed" during the build phase of XCode.

Within "Capabilities and Signing" the "Near field communication" capability has to be activated.

The corresponding protocol definitions of the API described in this document can be found within the bundle in the "Headers" folder.

Android
-------

The Open eCard App for Android consists of one aar packed module.
The dependency must be defined as follows in the gradle file’s dependency section:

.. code-block:: Groovy

   implementation(group: 'org.openecard.clients', name: 'android-lib', version: "${OecVersion}")
<commit_msg>Add cocoapod description for ios setup<commit_after>Project Setup
=============

iOS
---

The Open eCard Framework for iOS is delivered as a Swift and ObjC compatible framework which can be added to a project in XCode.
The framework must then be "embedded and signed" during the build phase of XCode.


As an alternative the framework is also available as cocoapod_ named open-ecard.
Within the Podfile the following has to be specified: 

.. _cocoapod: https://cocoapods.org/

.. code-block:: 

   use_frameworks!
   pod 'open-ecard', '>= 2.1.1'
   

Since the framework uses NFC technology, within "Capabilities and Signing" the "Near field communication" capability has to be activated.

The corresponding protocol definitions of the API described in this document can be found within the bundle in the "Headers" folder.

Android
-------

The Open eCard App for Android consists of one aar packed module.
The dependency must be defined as follows in the gradle file’s dependency section:

.. code-block:: Groovy

   implementation(group: 'org.openecard.clients', name: 'android-lib', version: "${OecVersion}")

{'fraction_non_alphanumeric': 0.08289611752360965, 'fraction_numerical': 0.0015739769150052466, 'mean_word_length': 4.239010989010989, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2955552', 'n_tokens_mistral': 517, 'n_tokens_neox': 493, 'n_words': 256}