Skip to content

Commit

Permalink
Fix example test builds
Browse files Browse the repository at this point in the history
  • Loading branch information
klundberg committed Aug 24, 2023
1 parent 34355a2 commit 690f7b0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Examples/LocationManager/CommonTests/CommonTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class LocationManagerTests: XCTestCase {
mapItems: [mapItem]
)

store.environment.localSearch.search = { _ in Effect(value: localSearchResponse) }
store.environment.localSearch.search = { _ in EffectPublisher(value: localSearchResponse) }

store.send(.categoryButtonTapped(.cafe)) {
$0.pointOfInterestCategory = .cafe
Expand Down Expand Up @@ -191,7 +191,7 @@ class LocationManagerTests: XCTestCase {
mapItems: [mapItem]
)

store.environment.localSearch.search = { _ in Effect(value: localSearchResponse) }
store.environment.localSearch.search = { _ in EffectPublisher(value: localSearchResponse) }

let coordinateRegion = CoordinateRegion(
center: CLLocationCoordinate2D(latitude: 10, longitude: 20),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,8 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MACOSX_DEPLOYMENT_TARGET = 10.15;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -545,6 +547,8 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MACOSX_DEPLOYMENT_TARGET = 10.15;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
Expand Down
4 changes: 2 additions & 2 deletions Examples/LocationManager/Mobile/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSLocationWhenInUseUsageDescription</key>
<string>To show points of interests near you.</string>
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
Expand All @@ -39,8 +41,6 @@
</dict>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>To show points of interests near you.</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
Expand Down

0 comments on commit 690f7b0

Please sign in to comment.