Post

Replies

Boosts

Views

Activity

Reply to Crash on startup
Ok, let's try again: So here's my project config: https://imgur.com/a/Dwp0cQ6 https://imgur.com/a/thiIyBY And here's the xib config: https://imgur.com/a/peqkO3x Both set to 12, still getting the same issue. Any other ideas?
Topic: UI Frameworks SubTopic: UIKit Tags:
Apr ’24
Reply to Crash on startup
Ah! You were right. The target for the xib was set to 17. However I've changed it to 12, to match the project on ios, and if I remove my _UITouchPassthroughView hack I still get the same crash. ( I wish I could post screenshots, but apparently attach - image does nothing here).
Topic: UI Frameworks SubTopic: UIKit Tags:
Apr ’24
Reply to Crash on startup
In case anyone else runs into this, my fix/hack was to just add: @interface _UITouchPassthroughView: UIView @end @implementation _UITouchPassthroughView @end To my code. Reasoning being I strongly suspect _UITouchPassthroughView is some sort of internal class freshly added to xcode textfields etc, which is in some way not supported in older xcode versions. Now I have minimal use of the xcode ui views other than the bare bones for my game to use, so there's no downside to using a dummy class as it seems my text field is not using any functionality from _UITouchPassthroughView anyways. So it all works OK in new or old ios versions. For anyone else who actually uses the xcode view ecosystem, you prob need to check class isn't defined before defining it, or some such.
Topic: UI Frameworks SubTopic: UIKit Tags:
Mar ’24
Reply to Crash on startup
Thanks a lot for the help Eskimo! After some digging and testing, I got an emulator going with a close enough config to the user in question and an now getting a much more meaningful crash when I run on the emulator (ipadmini 4, 15.5): Thread 1: "Could not instantiate class named _UITouchPassthroughView because no class named _UITouchPassthroughView was found; the class needs to be defined in source code or linked in from a library (ensure the class is part of the correct target)" Unfortunately I'm at a bit of an inpass. There seem to be no docs on said class, so I strongly suspect it's some internal class added/used automatically in newer versions of xcode, perhaps on views or text fields or something like that. And it didn't exist in version 15.5. Any thoughts? Thanks!
Topic: UI Frameworks SubTopic: UIKit Tags:
Mar ’24
Reply to Crash on startup
Crash Log Here it is (for some reason I was getting a forum error about sensitive language when I linked it direct before) . And no, the changes were to remove some function calls much later than startup, which is where the crash happens.
Topic: UI Frameworks SubTopic: UIKit Tags:
Mar ’24
Reply to Crash on startup
Ok, short message above since I was half expecting the filter to throw it out again. This is an iOS app, the crash happens on startup of the application, and only on one of the tester's devices. The changes I made are much later in the code, but I did update to xcode 15.2 and was forced to update the minimum deployment from 10 to 12 as a result, which I'm guessing is more likely to be relevant to the issue. Thank you for all the help!
Topic: UI Frameworks SubTopic: UIKit Tags:
Mar ’24