Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Commit

Permalink
gamekit workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
atfinke committed Jul 19, 2020
1 parent f0d72cb commit a310d44
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion WKRKit/WKRKit/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>13392</string>
<string>13396</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion WKRUIKit/WKRUIKit/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>14295</string>
<string>14299</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,12 @@ extension GKHostViewController: GKMatchDelegate {
self.match?.delegate = self
self.addPlayers()
} else {
fatalError()
os_log("%{public}s- gamekit did the impossible, no error, no match, nothing to see here", log: .gameKit, type: .error, #function)
DispatchQueue.main.async {
self.isMatchmakingEnabled = false
self.showError(title: "Failed to Create Race", message: "Please try again later.")
self.model.state = .soloRace
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion WikiRaces/WikiRaces/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>8990</string>
<string>8994</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationCategoryType</key>
Expand Down

0 comments on commit a310d44

Please sign in to comment.