Skip to content

Commit b76ee03

Browse files
committed
Cleanup warnings
1 parent b720115 commit b76ee03

File tree

9 files changed

+23
-15
lines changed

9 files changed

+23
-15
lines changed

Loop.xcodeproj/project.pbxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3524,6 +3524,7 @@
35243524
};
35253525
C113F4472951352C00758735 /* Install Scenarios */ = {
35263526
isa = PBXShellScriptBuildPhase;
3527+
alwaysOutOfDate = 1;
35273528
buildActionMask = 2147483647;
35283529
files = (
35293530
);
@@ -3542,6 +3543,7 @@
35423543
};
35433544
C16DA84322E8E5FF008624C2 /* Install Plugins */ = {
35443545
isa = PBXShellScriptBuildPhase;
3546+
alwaysOutOfDate = 1;
35453547
buildActionMask = 2147483647;
35463548
files = (
35473549
);
@@ -3560,6 +3562,7 @@
35603562
};
35613563
C1D1405722FB66DF00DA6242 /* Build Derived Assets */ = {
35623564
isa = PBXShellScriptBuildPhase;
3565+
alwaysOutOfDate = 1;
35633566
buildActionMask = 2147483647;
35643567
files = (
35653568
);

Loop.xcodeproj/xcshareddata/xcschemes/DoseMathTests.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1430"
3+
LastUpgradeVersion = "1500"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Loop.xcodeproj/xcshareddata/xcschemes/Loop Intent Extension.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1430"
3+
LastUpgradeVersion = "1500"
44
wasCreatedForAppExtension = "YES"
55
version = "2.0">
66
<BuildAction

Loop.xcodeproj/xcshareddata/xcschemes/Loop Status Extension.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1430"
3+
LastUpgradeVersion = "1500"
44
wasCreatedForAppExtension = "YES"
55
version = "2.0">
66
<BuildAction

Loop.xcodeproj/xcshareddata/xcschemes/Loop.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1430"
3+
LastUpgradeVersion = "1500"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "NO"

Loop.xcodeproj/xcshareddata/xcschemes/LoopTests.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1430"
3+
LastUpgradeVersion = "1500"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Loop.xcodeproj/xcshareddata/xcschemes/SmallStatusWidgetExtension.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1430"
3+
LastUpgradeVersion = "1500"
44
wasCreatedForAppExtension = "YES"
55
version = "2.0">
66
<BuildAction

Loop.xcodeproj/xcshareddata/xcschemes/WatchApp.xcscheme

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1430"
3+
LastUpgradeVersion = "1500"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -88,16 +88,18 @@
8888
debugServiceExtension = "internal"
8989
allowLocationSimulation = "YES"
9090
notificationPayloadFile = "WatchApp Extension/PushNotificationPayload.apns">
91-
<BuildableProductRunnable
92-
runnableDebuggingMode = "0">
91+
<RemoteRunnable
92+
runnableDebuggingMode = "2"
93+
BundleIdentifier = "com.apple.Carousel"
94+
RemotePath = "/$(MAIN_APP_DISPLAY_NAME)">
9395
<BuildableReference
9496
BuildableIdentifier = "primary"
9597
BlueprintIdentifier = "43A943711B926B7B0051FA24"
9698
BuildableName = "WatchApp.app"
9799
BlueprintName = "WatchApp"
98100
ReferencedContainer = "container:Loop.xcodeproj">
99101
</BuildableReference>
100-
</BuildableProductRunnable>
102+
</RemoteRunnable>
101103
</LaunchAction>
102104
<ProfileAction
103105
buildConfiguration = "Release"
@@ -106,16 +108,18 @@
106108
useCustomWorkingDirectory = "NO"
107109
debugDocumentVersioning = "YES"
108110
notificationPayloadFile = "WatchApp Extension/PushNotificationPayload.apns">
109-
<BuildableProductRunnable
110-
runnableDebuggingMode = "0">
111+
<RemoteRunnable
112+
runnableDebuggingMode = "2"
113+
BundleIdentifier = "com.apple.Carousel"
114+
RemotePath = "/$(MAIN_APP_DISPLAY_NAME)">
111115
<BuildableReference
112116
BuildableIdentifier = "primary"
113117
BlueprintIdentifier = "43A943711B926B7B0051FA24"
114118
BuildableName = "WatchApp.app"
115119
BlueprintName = "WatchApp"
116120
ReferencedContainer = "container:Loop.xcodeproj">
117121
</BuildableReference>
118-
</BuildableProductRunnable>
122+
</RemoteRunnable>
119123
</ProfileAction>
120124
<AnalyzeAction
121125
buildConfiguration = "Debug">

Loop/Managers/AppExpirationAlerter.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ class AppExpirationAlerter {
125125
// If the target environment is a simulator, then
126126
// this is not a TestFlight distribution. Return false.
127127
#if targetEnvironment(simulator)
128-
return false
129-
#endif
128+
return false
129+
#else
130130

131131
// If an "embedded.mobileprovision" is present in the main bundle, then
132132
// this is an Xcode, Ad-Hoc, or Enterprise distribution. Return false.
@@ -143,6 +143,7 @@ class AppExpirationAlerter {
143143
// A TestFlight distribution presents a "sandboxReceipt", while an App Store
144144
// distribution presents a "receipt". Return true if we have a TestFlight receipt.
145145
return "sandboxReceipt".caseInsensitiveCompare(receiptName) == .orderedSame
146+
#endif
146147
}
147148

148149
static func calculateExpirationDate(profileExpiration: Date) -> Date {

0 commit comments

Comments
 (0)