google-ar / arcore-ios-sdk

ARCore SDK for iOS

Home Page:https://developers.google.com/ar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Non-CocoaPods integration

gyulavoros opened this issue · comments

We have a specific project setup that is not really compatible with CocoaPods (we use Xcodegen).

Other Google products have various ways to integrate them, e.g., Firebase supports SPM, CocoaPods, Carthage, and manual integration. Google Maps has the same options.

From our perspective, some distribution of xcframeworks would be best, so the project is also compatible with the latest M1 and M2 MacBooks and Apple Silicon.

Some open-source projects publish binaries in their GitHub Releases section, e.g., RxSwift has xcframeworks available here.

May we expect any alternatives anytime soon?

ARCore 1.33 was just released, and it includes XCFramework binaries with arm64 simulator architecture included.
It also includes beta support for Swift Package Manager - you can download the pod bundle and integrate it as a local Swift Package, following the directions in the bundled README file.

In general I would not recommend manual integration. You would need to get all the transitive dependencies, resource bundles, etc. correctly, and there are a lot of ways to mess up. That's why things like CocoaPods and SPM exist in the first place.