> Only the iOS integration has been verified to work at this time.
> The Android bridge and Android example setup exist but have not been tested and are expected to require additional adjustments before they can be considered functional.
> This repository is **experimental**, **not formally approved**, **not officially released**, **not published as an npm package**, and **not endorsed by WebID for
After running pod install, the Xcode project may contain duplicate PrivacyInfo.xcprivacy files.
Steps to resolve:
- Open the Xcode workspace
- Remove the duplicate reference from the project navigator
### Special Configuration Notes
#### WebIdPayOnServer Dependency Handling
If the WebIdPayOnServer product is included, some of its transitive dependencies currently require manual configuration to avoid build and runtime issues.
iOS Deployment Target Adjustment
In the Pods Xcode project, set the iOS Deployment Target to iOS 13.0 for the following targets (Targets -> Select appropriate Target -> Build Settings -> iOS Deployment Target):
- KeychainAccess
- NVActivityIndicatorView
- SwiftyJSON
- XS2AiOS
⚠️ These targets may default to iOS 13.4 and must be adjusted manually.
#### Rationale:
The React Native version used by this project requires a minimum iOS version of 13.4
The libraries listed above are compiled from source during the Xcode build and therefore inherit the 13.4 minimum.
The WebID SDK, however, is compiled against iOS 13.0 and expects its dependencies to match this deployment target.
The example project’s Podfile explicitly forces these libraries to be built as dynamic frameworks, as required by the WebID SDK.
This mismatch otherwise leads to compiler errors or runtime crashes.
### Build the Plugin (optional)
From the repository root:
```
yarn prepare
```
This step builds the plugin and generates TypeScript definitions.
You only need to run this if:
- you are developing or modifying the plugin itself, or
- you encounter missing build artifacts under lib/
It is not required to run the example application.
When the example Xcode project was set up initially, all WebID libraries as well as the transitive AhoyKit dependency had to be manually embedded as frameworks under Targets → Frameworks, Libraries and Embedded Content. In a CocoaPods setup, this should usually not be necessary, as it should be handled by the “[CP] Embed Pods Frameworks” build phase. However, in this case, the app always crashed because required dynamic libraries were missing when not adding them manually.