• Stars
    star
    280
  • Rank 146,743 (Top 3 %)
  • Language
    Objective-C
  • License
    Apache License 2.0
  • Created over 6 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ARCore SDK for iOS

Google ARCore SDK For iOS

Copyright (c) 2018 Google LLC. All rights reserved.

This SDK provides access to all ARCore cross-platform features like cloud anchors.

Please note we do not accept pull requests.

Quickstart

For Cloud Anchors see the Quickstart for Cloud Anchors with iOS. For Augmented faces see the Quickstart for Augmented Faces with iOS. For Geospatial see the Quickstart for Geospatial with iOS

API Reference

See the ARCore iOS API Reference.

Examples

Sample apps are available for download at https://github.com/google-ar/arcore-ios-sdk/tree/master/Examples. Be sure to follow any instructions in README files.

Release Notes

The SDK release notes are available on the releases page.

Installation

ARCore requires a deployment target that is >= 11.0. Also, you must be building with at least version 15.0 of the iOS SDK. ARCore binaries no longer contain bitcode, which is deprecated with Xcode 14, so if you are building with Xcode 13 then you must disable bitcode for your project. The SDK can be installed using either CocoaPods or Swift Package Manager; see below for details.

Using Swift Package Manager

Starting with the 1.36.0 release, ARCore officially supports installation via Swift Package Manager:

  1. Go to File > Add Packages and enter the package URL: https://github.com/google-ar/arcore-ios-sdk
  2. Set the Dependency Rule to be Up to Next Minor Version and select the latest release of ARCore.
  3. Select the desired ARCore libraries to include. Libraries can also be added later via Build Phases > Link Binary With Libraries.
  4. Add the flag -ObjC to Other Linker Flags. It is recommended to set Other Linker Flags to $(inherited) -ObjC.
  5. Make sure that the Enable Modules and Link Frameworks Automatically build settings are set to Yes, because ARCore relies on auto-linking.
  6. Make sure that Enable Bitcode is set to No, because ARCore binaries do not contain bitcode.

Additional Steps

Before you can start using the ARCore Cloud Anchors API or the ARCore Geospatial API, you will need to create a project in the Google Developer Console and enable the ARCore API.

User privacy requirements

See the User privacy requirements.

Additional Terms

You must disclose the use of ARCore, and how it collects and processes data. This can be done by displaying a prominent link to the site "How Google uses data when you use our partners' sites or apps", (located at www.google.com/policies/privacy/partners/, or any other URL Google may provide from time to time).

License and Terms of Service

By using the ARCore SDK for iOS, you accept Google's ARCore Additional Terms of Service at https://developers.google.com/ar/develop/terms

Deprecation policy

Apps built with ARCore SDK 1.12.0 or higher are covered by the Cloud Anchor API deprecation policy.

Apps built with ARCore SDK 1.11.0 or lower will be unable to host or resolve Cloud Anchors beginning December 2020 due to the SDK's use of an older, deprecated ARCore Cloud Anchor service.

More Repositories

1

arcore-android-sdk

ARCore SDK for Android Studio
C++
4,949
star
2

three.ar.js

A helper three.js library for building AR web experiences that run in WebARonARKit and WebARonARCore
JavaScript
2,906
star
3

arcore-unity-sdk

ARCore SDK for Unity
C#
1,401
star
4

sceneform-android-sdk

Sceneform SDK for Android
Java
1,227
star
5

WebARonARKit

An experimental app for iOS that lets developers create Augmented Reality (AR) experiences using web technologies.
Objective-C
770
star
6

WebARonTango

A proposal to provide Augmented Reality (AR) capabilities to the web in the form of a prototype on top of WebVR built in Chromium.
C++
389
star
7

arcore-unity-extensions

Google ARCore Extensions and Geospatial Creator for Unity's AR Foundation
C#
347
star
8

arcore-unreal-sdk

ARCore SDK for Unreal
C++
277
star
9

WebAR-Article

WebAR-Article is a responsive and information rich website that is progressively enhanced with Augmented Reality content exposed through experimental web technologies.
JavaScript
241
star
10

codelab-webxr

Building an augmented reality application with the WebXR Device API
JavaScript
171
star
11

demo-megagolf

ARCore demo featuring a geospatial and semantic play experience in the city using Unity
C#
63
star
12

codelab-geospatial

Java
34
star
13

codelab-cloud-anchors

Sample code for the ARCore Cloud Anchors Codelab
Java
31
star
14

codelab-augmented-images-intro

Java
19
star
15

codelab-depth-api

Java
11
star
16

codelab-raw-depth-api

Java
7
star
17

codelab-unity-drive-ar-game

C#
7
star
18

codelab-scene-semantics-geospatial-depth

ARCore Scene Semantics and Geospatial Depth Codelab project
Java
4
star
19

codelab-geospatial-creator-places-api

C#
4
star
20

codelab-streetscape-geometry-rooftop-anchors

ARCore Streetscape Geometry and Rooftop anchors Codelab project
Java
2
star