Open maksymbiriukov opened 3 days ago
Thank you for reporting this issue.
Currently, building an XCFramework directly from a Swift Package is not straightforward because it requires an Xcode project (.xcodeproj
) to compile a binary framework. Additionally, the swift package generate-xcodeproj
command was totally removed in Swift 5.8, which previously allowed developers to generate an Xcode project from a Swift Package.
We are actively working on releasing tools that will streamline this process in a future update. These tools will make it easier to build binary frameworks directly from Swift Package.
In the meantime, you can use the following options to build an XCFramework:
xcodebuild
command-line tool to build, archive, and combine the needed targets into an XCFramework.Thank you for your understanding and patience as we work to enhance our tools and documentation.
📚 AppMetrica SDK Version
5.8.1
🛠️ Xcode Version
Xcode 16.0
📱 Device Information
iPhone 12
⚙️ Installation Method
Swift Package Manager
📝 Description
Hi, can you add a support for compiled xcframework?
🔍 Reproducing the issue
No response
📋 Relevant AppMetrica Log Output or Crash Logs
Expand to view logs
``` // Your logs go here ```
📦 Attach Package.resolved (Swift Package Manager Users)
Click to expand
Package.resolved
```json // Replace with your Package.resolved contents ```
🍫 Attach Podfile.lock (CocoaPods Users)
Click to expand
Podfile.lock
```ruby // Replace with your Podfile.lock contents ```