Post

Replies

Boosts

Views

Created

Why is this crashing?
Whenever I run this code, after I have purchased something and it shifts up after leaving and reopening the page it crashes with the error "Index out of range". Code - https://developer.apple.com/forums/content/attachment/86665b01-4c50-47bd-a14d-ef95b58db511 Ideas? Thanks in advance! Ps: I can provide full project if needed.
17
0
1.8k
May ’21
IAP Restore
Hi, In my app, I do all the validation locally and the documentation doesn't explain how to restore purchases when the app restores everything locally. Here is my code. Thank you for your time. Code - https://developer.apple.com/forums/content/attachment/f7000d1d-5901-4758-8b91-d4f2b3dc5a3f
0
0
615
May ’21
Why is this clearing?
This is driving me crazy. I have this code: Utilities.getKnockKnockJokes {             self.previousKnockKnockJoke = self.currentKnockKnockJoke             print("currentKnockKnockJoke = \(self.currentKnockKnockJoke)")             self.currentKnockKnockJoke = KnockKnockJokes.knockKnockJokes.randomElement()!             print("newCurrentKnockKnockJoke = \(self.currentKnockKnockJoke)")             self.singleServeText.text = self.currentKnockKnockJoke         } The function that is called is bellow: getKnockKnockJokes Thank you in advanced!
3
0
549
Jul ’21
Lost Connection
I have an M1 Mac and I am on Monterey beta 4. I have Xcode 12 and whenever I try to run my iOS app on my Mac natively, I get this error message. Could not attach to pid : “4837” Lost Connection Full Log Any Ideas? Thanks in advanced
4
0
1.7k
Jul ’21