osy / Jitterbug

Launch JIT enabled iOS app with a second iOS device
Apache License 2.0
1.14k stars 91 forks source link

iOS 16 beta: Return empty string when plist value is nil #57

Closed yoshisuga closed 2 years ago

yoshisuga commented 2 years ago

When parsing an entry in the plist, was getting a NULL entry for the Container, and ended up crashing. Doing an [NSString stringWithUTF8String:] with a NULL value results in a crash. Not sure why or how this is happening, or whether this is specific to iOS 16 beta 1, but I had to make the following code change to get this to work under iOS 16 beta 1.

The good news is that I was able to pair my device using jitterbugpair and use the iOS 16.0 developer disk image, and was able to try a couple JIT enabled apps (flycast and Play!).

Please feel free to suggest edits and/or additional insight.

osy commented 2 years ago

Fixed in https://github.com/osy/Jitterbug/commit/e110cc8afe87c1094c490b91cc47312f7f4da138