pguyot / Einstein

NewtonOS running on other operating systems
GNU General Public License v2.0
415 stars 56 forks source link

iOS Einstein broken on iOS 11 #30

Closed js6004 closed 7 years ago

js6004 commented 7 years ago

Hi, I’m using the developer’s version of iOS 11 and ioseinstein doesn’t work on it. Any ideas?

panicsteve commented 7 years ago

Just tried running it on the simulator with iOS 11 and it stops with a black screen with this logged to the console:

2017-06-14 15:30:09.023565-0700 iOSEinstein[15077:1064863] Warning: Attempt to present <UIAlertController: 0x7f8d75026000> on <iEinsteinViewController: 0x7f8d73503590> whose view is not in the window hierarchy!

This is trying to bring up the alert about the missing ROM file, I believe.

panicsteve commented 7 years ago

Changing iEinsteinViewController's viewDidLoad to viewDidAppear fixes the missing ROM file alert. But after placing the ROM file in the correct location, the emulator is booting to a black screen. The Newton startup chime is audible.

panicsteve commented 7 years ago

Adding an additional call to setNeedsDisplay in iEinsteinView when setScreenManager is called seems to get the Newton display to reappear on iOS 11 Developer Preview. Could @js6004 confirm this works?

js6004 commented 7 years ago

Hi Steven, I don’t know much about what you’re talking about. I code in Livecode. Could you explain in detail what you did to get it to work? Or is there a new version that you could compile that works that you could send me? Thanks for responding so quickly! Janet

Sent from my iPad

On Jun 14, 2017, at 5:55 PM, Steven Frank notifications@github.com wrote:

Adding an additional call to setNeedsDisplay in iEinsteinView when setScreenManager is called seems to get the Newton display to reappear on iOS 11 Developer Preview. Could @js6004 confirm this works?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

panicsteve commented 7 years ago

Ah, sorry, I mistakenly thought you had an Einstein build environment set up.

AFAIK, I don't think I can easily just give you a pre-built binary, as iOS binaries have to be signed and can only be installed on a provisioned device.

If you have a Mac with Xcode, you should be able to clone the source from here on GitHub, build and run it in the iOS Simulator. To run it on actual iOS hardware, you'll need an Apple Developer account, signing certificate, and provisioned device.

I'm going to close the bug, as I'm pretty sure the bug itself is resolved.