Skip to content

Commit

Permalink
ARCore iOS SDK 1.39.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Dibble committed Aug 17, 2023
1 parent debac74 commit 4520ec6
Show file tree
Hide file tree
Showing 7 changed files with 1,435 additions and 201 deletions.
2 changes: 1 addition & 1 deletion Examples/AugmentedFacesExample/Podfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target 'AugmentedFacesExample'
use_frameworks!
platform :ios, '11.0'
pod 'ARCore/AugmentedFaces', '~> 1.38.0'
pod 'ARCore/AugmentedFaces', '~> 1.39.0'
2 changes: 1 addition & 1 deletion Examples/CloudAnchorExample/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
target 'CloudAnchorExample'
use_frameworks!
platform :ios, '11.0'
pod 'ARCore/CloudAnchors', '~> 1.38.0'
pod 'ARCore/CloudAnchors', '~> 1.39.0'
pod 'Firebase/Database', '~> 8.0'
2 changes: 1 addition & 1 deletion Examples/GeospatialExample/Podfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target 'GeospatialExample'
use_frameworks!
platform :ios, '11.0'
pod 'ARCore/Geospatial', '~> 1.38.0'
pod 'ARCore/Geospatial', '~> 1.39.0'
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ - (void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
CGPoint touchLocation = [touch locationInView:self.sceneView];
ARHitTestResultType hitTestResultTypes =
ARHitTestResultTypeExistingPlaneUsingExtent | ARHitTestResultTypeEstimatedHorizontalPlane;
if (@available(iOS 11.3, *)) {
hitTestResultTypes = hitTestResultTypes | ARHitTestResultTypeEstimatedVerticalPlane;
}
hitTestResultTypes = hitTestResultTypes | ARHitTestResultTypeEstimatedVerticalPlane;
NSArray<ARHitTestResult *> *hitTestResults = [self.sceneView hitTest:touchLocation
types:hitTestResultTypes];

Expand Down Expand Up @@ -113,11 +111,7 @@ - (void)addAnchorWithTransform:(matrix_float4x4)transform {
- (void)runSession {
ARWorldTrackingConfiguration *configuration = [[ARWorldTrackingConfiguration alloc] init];
[configuration setWorldAlignment:ARWorldAlignmentGravity];
if (@available(iOS 11.3, *)) {
[configuration setPlaneDetection:ARPlaneDetectionHorizontal | ARPlaneDetectionVertical];
} else {
[configuration setPlaneDetection:ARPlaneDetectionHorizontal];
}
[configuration setPlaneDetection:ARPlaneDetectionHorizontal | ARPlaneDetectionVertical];

[self.sceneView.session runWithConfiguration:configuration];
}
Expand Down
2 changes: 1 addition & 1 deletion Examples/PersistentCloudAnchorExample/Podfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target 'PersistentCloudAnchorExample'
use_frameworks!
platform :ios, '11.0'
pod 'ARCore/CloudAnchors', '~> 1.38.0'
pod 'ARCore/CloudAnchors', '~> 1.39.0'
1,598 changes: 1,419 additions & 179 deletions LICENSE

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ let package = Package(
],
targets: [
.binaryTarget(
name: "ARCoreBase", url: "https://dl.google.com/arcore/swiftpm/1.38.0/Base.zip",
checksum: "645aec4d81c37f76f08cc3a4ff84c65ed49e198361634af1d7d5995af254f6f0"
name: "ARCoreBase", url: "https://dl.google.com/arcore/swiftpm/1.39.0/Base.zip",
checksum: "a2245887bf36f30da2ea4c53ccbcd5a1a85dec146d26e210e666c6afb2e28865"
),
.target(
name: "Base",
Expand All @@ -50,8 +50,8 @@ let package = Package(
),
.binaryTarget(
name: "ARCoreCloudAnchors",
url: "https://dl.google.com/arcore/swiftpm/1.38.0/CloudAnchors.zip",
checksum: "5c909b9fd0b7cea2808e80d0e20ad439b748151edbca0b9b04824134dd968507"
url: "https://dl.google.com/arcore/swiftpm/1.39.0/CloudAnchors.zip",
checksum: "93c58249a9fdb59c50ab5a6c4eb2a4cf1cab42737e7d00674f73e50ecc5f1762"
),
.target(
name: "CloudAnchors",
Expand All @@ -66,8 +66,8 @@ let package = Package(
publicHeadersPath: "Sources"
),
.binaryTarget(
name: "ARCoreGeospatial", url: "https://dl.google.com/arcore/swiftpm/1.38.0/Geospatial.zip",
checksum: "b1173ce1637ab9989575c6e7168c39931a64bc801883c03acc5cc2116a4e1954"
name: "ARCoreGeospatial", url: "https://dl.google.com/arcore/swiftpm/1.39.0/Geospatial.zip",
checksum: "3275057560df9bb5db6c4a5acf12d63b49cf1685166e06a0519510e333e07030"
),
.target(
name: "Geospatial",
Expand All @@ -80,8 +80,8 @@ let package = Package(
publicHeadersPath: "Sources"
),
.binaryTarget(
name: "ARCoreGARSession", url: "https://dl.google.com/arcore/swiftpm/1.38.0/GARSession.zip",
checksum: "c4abc5cab02911aaf281a60510baec05f2fba7fd9ef2737dc5c81f0cbf62c8a4"
name: "ARCoreGARSession", url: "https://dl.google.com/arcore/swiftpm/1.39.0/GARSession.zip",
checksum: "a570003edaddb74a4c12de4437a66a4edd5b886f77c662aaf56f528c6389496f"
),
.target(
name: "GARSession",
Expand All @@ -98,8 +98,8 @@ let package = Package(
),
.binaryTarget(
name: "ARCoreAugmentedFaces",
url: "https://dl.google.com/arcore/swiftpm/1.38.0/AugmentedFaces.zip",
checksum: "b11e4987e739bad889e51bc4b4cc5c8aafaca56c32c842d9b8ec9cb22e3b186e"
url: "https://dl.google.com/arcore/swiftpm/1.39.0/AugmentedFaces.zip",
checksum: "1b7a99e863464a9d627b02c172a83553d24ff21adc197fd7252b8ed09bfecdf4"
),
.target(
name: "AugmentedFaces",
Expand Down

0 comments on commit 4520ec6

Please sign in to comment.