Skip to content

Commit

Permalink
Fix cocoapods tests integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav Grigoryev committed Dec 7, 2020
1 parent a13bbde commit 08d6e09
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Example/Source/MainViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ final class MainViewController: ViewController {
items.append((title: "ARKit Example", controller: ARKitViewController.self))
items.append((title: "SceneKit Example", controller: SceneKitViewController.self))
if #available(iOS 13, *) {
#if !NON_REALITY
#if !COCOAPODS
items.append((title: "RealityKit Example", controller: RealityKitViewController.self))
#endif
items.append( (title: "Metal Example", controller: MetalViewController.self))
Expand Down
1 change: 0 additions & 1 deletion SCNRecorder.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Pod::Spec.new do |s|
app_spec.exclude_files = 'Example/Source/Content/RealityKit/*'
app_spec.preserve_path = 'Example/Source/Example-Bridging-Header.h'
app_spec.resources = 'Example/Source/Resources/**/*.{scnassets,xcassets}'
app_spec.compiler_flags = '-DNON_REALITY'
app_spec.pod_target_xcconfig = {
"SWIFT_OBJC_BRIDGING_HEADER" => "SCNRecorder/Example/Source/Example-Bridging-Header.h"
}
Expand Down

0 comments on commit 08d6e09

Please sign in to comment.