Always read local receipt in TestFlight (#826)
The condition came from v2, but the flow was different. Drop the condition because it would always fail in TestFlight for macOS, where sandbox and release receipts have the same URL.
This commit is contained in:
parent
c32dcd6565
commit
142efa84d0
|
@ -72,12 +72,6 @@ private extension FallbackReceiptReader {
|
|||
.deletingLastPathComponent()
|
||||
.appendingPathComponent("receipt")
|
||||
|
||||
guard releaseURL != localURL else {
|
||||
#if !os(macOS) && !targetEnvironment(simulator)
|
||||
assertionFailure("How can release URL be equal to Sandbox URL in TestFlight?")
|
||||
#endif
|
||||
return nil
|
||||
}
|
||||
let release = localReader(releaseURL)
|
||||
return await release?.receipt()
|
||||
}()
|
||||
|
|
Loading…
Reference in New Issue