Skip to content

Commit 08d6e09

Browse files
author
Vladislav Grigoryev
committed
Fix cocoapods tests integration.
1 parent a13bbde commit 08d6e09

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Example/Source/MainViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ final class MainViewController: ViewController {
3838
items.append((title: "ARKit Example", controller: ARKitViewController.self))
3939
items.append((title: "SceneKit Example", controller: SceneKitViewController.self))
4040
if #available(iOS 13, *) {
41-
#if !NON_REALITY
41+
#if !COCOAPODS
4242
items.append((title: "RealityKit Example", controller: RealityKitViewController.self))
4343
#endif
4444
items.append( (title: "Metal Example", controller: MetalViewController.self))

SCNRecorder.podspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Pod::Spec.new do |s|
2121
app_spec.exclude_files = 'Example/Source/Content/RealityKit/*'
2222
app_spec.preserve_path = 'Example/Source/Example-Bridging-Header.h'
2323
app_spec.resources = 'Example/Source/Resources/**/*.{scnassets,xcassets}'
24-
app_spec.compiler_flags = '-DNON_REALITY'
2524
app_spec.pod_target_xcconfig = {
2625
"SWIFT_OBJC_BRIDGING_HEADER" => "SCNRecorder/Example/Source/Example-Bridging-Header.h"
2726
}

0 commit comments

Comments
 (0)