https://github.com/adobe/aepsdk-analytics-ios
Adobe Experience Platform Analytics SDK in Swift
https://github.com/adobe/aepsdk-analytics-ios
Last synced: 4 months ago
JSON representation
Adobe Experience Platform Analytics SDK in Swift
- Host: GitHub
- URL: https://github.com/adobe/aepsdk-analytics-ios
- Owner: adobe
- License: apache-2.0
- Created: 2020-09-24T13:23:10.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-06-28T03:38:08.000Z (almost 2 years ago)
- Last Synced: 2026-01-04T21:21:00.620Z (6 months ago)
- Language: Swift
- Homepage:
- Size: 591 KB
- Stars: 8
- Watchers: 14
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Adobe Experience Platform Analytics SDK
[](https://cocoapods.org/pods/AEPAnalytics)
[](https://github.com/adobe/aepsdk-analytics-ios/releases)
[](https://circleci.com/gh/adobe/workflows/aepsdk-analytics-ios)
[](https://codecov.io/gh/adobe/aepsdk-analytics-ios/branch/main)
## About this project
The AEPAnalytics extension enables sending mobile application interaction data to Adobe Analytics when using the [Adobe Experience Platform SDK](https://developer.adobe.com/client-sdks).
## Requirements
- Xcode 15
- Swift 5.1
## Installation
These are currently the supported installation options:
### [CocoaPods](https://guides.cocoapods.org/using/using-cocoapods.html)
```ruby
# Podfile
use_frameworks!
# For app development, include all the following pods
target 'YOUR_TARGET_NAME' do
pod 'AEPAnalytics'
pod 'AEPCore'
pod 'AEPIdentity'
end
# For extension development, include AEPAnalytics and its dependencies
target 'YOUR_TARGET_NAME' do
pod 'AEPAnalytics'
pod 'AEPCore'
end
```
Replace `YOUR_TARGET_NAME` and then, in the `Podfile` directory, type:
```bash
$ pod install
```
### [Swift Package Manager](https://github.com/apple/swift-package-manager)
To add the AEPAnalytics Package to your application, from the Xcode menu select:
`File > Add Packages...`
> **Note**
> The menu options may vary depending on the version of Xcode being used.
Enter the URL for the AEPAnalytics package repository: `https://github.com/adobe/aepsdk-analytics-ios.git`.
When prompted, input a specific version or a range of versions for Version rule.
Alternatively, if your project has a `Package.swift` file, you can add AEPAnalytics directly to your dependencies:
```
dependencies: [
.package(url: "https://github.com/adobe/aepsdk-analytics-ios.git", .upToNextMajor(from: "5.0.0"))
]
```
### Project Reference
Include `AEPAnalytics.xcodeproj` in the targeted Xcode project and link all necessary libraries to your app target.
### Binaries
Run `make archive` from the root directory to generate `.xcframeworks` for each module under the `build` folder. Drag and drop all `.xcframeworks` to your app target in Xcode.
## Documentation
Additional documentation for usage and SDK architecture can be found under the [Documentation](Documentation) directory.
## Contributing
Contributions are welcomed! Read the [Contributing Guide](./.github/CONTRIBUTING.md) for more information.
## Licensing
This project is licensed under the Apache V2 License. See [LICENSE](LICENSE) for more information.