TheGameCreators / AGK-Studio

3 stars 1 forks source link

AppGameKit Player iOS v.2021.06.14 not working on iPhone 5s #865

Closed neiltking closed 2 years ago

neiltking commented 3 years ago

Had to update AppGameKit Player on my iPhone 5s to 2021.06.14 from the App Store as it was complaining that AGK Studio was newer than the player and needed updating. This new version of the player shows the splash screen and then closes immediately with no errors displayed. Rebooted iPhone with same problem. Updated iOS on iPhone to 12.5.4 (official Apple update) with same problem.

KevinCrossDCL commented 3 years ago

Quite some time ago, within the last version or two of AGK Studio I had to stop supporting iOS 12 with my AGK built app. iOS12 might be what iPhone 5S still uses. The issue is bigger than just the player and maybe something that AGK won't be able to support anymore.

I'm just a normal user of AGK Studio and not a developer of the Studio tool, so that's just my opinion.

neiltking commented 3 years ago

Hi @KevinCrossDCL - The last app I published to the App Store was on 11th June 2021 (3 months ago). AGK Studio built it fine (tier 1) and it works great on the iPhone 5s with iOS 12. Could you expand on why you had to stop support for iOS 12 as it might give an insight into the problem? Were there certain commands you were using that were no longer supported?

KevinCrossDCL commented 3 years ago

I had a similar issue as you, the app opened for users and then closed. I didn't at the time, and still don't have access to a device with iOS12 so had no way of testing or trying to debug it.

My app has a lot of code so it would be really hard to find out if its a specific command that causes the issue.

Because you do have a device with iOS12 have you tested a new project (with no additional code) to see if it works?

neiltking commented 3 years ago

Just to be clear, it is the AppGameKit Player I am trying to run, installed from the App Store so I can broadcast to it for testing.

KevinCrossDCL commented 3 years ago

Yeah, try broadcasting to the Player a basic new project to see if that works. If it works but your main project doesn't then you're probably right with a particular command that causes the issue.

It may be the same command that I'm using that causes the same problem with compiled and installed apps exported from AGK

neiltking commented 3 years ago

But the Player fails to run so I cannot broadcast to it. The splash screen shows and then the app closes. I cannot test it with anything, even an empty project.

KevinCrossDCL commented 3 years ago

Ok then so the player is doing the same as my app on iOS12. Opening and then closing. That would suggest that whatever code is in the player is also used in exported iOS apps, and there's something in that code that doesn't work on iOS12.

When you said you uploaded an app to the App Store 3 months ago was that with the latest build of AGK? If not, what version did you use? If you did use the latest version and it worked fine then it can be narrowed down to just a player issue.

If you used an older version then the problem could also be with AGK Studio exports. The best test for that is to export your app with the latest build and release a version for TestFlight that's restricted to you.

neiltking commented 3 years ago

The previous version of the AppGame Kit Player from the App Store worked fine on iOS12 for me, which I think was 2021.02.10 (sadly I can't see any way to roll the version back so I cannot be 100% sure). The only reason I updated it was because it said it could not run the broadcasted bytecode from the newest version of AGK Studio. I am not currently exporting anything from Studio - just using broadcast for testing.

VirtualNomad19 commented 3 years ago

@KevinCrossDCL for reference, did you post an issue here when you experienced similar?

KevinCrossDCL commented 3 years ago

No but I think I mentioned it on the forums. I couldn't say much more than I don't think AGK supports iOS12 anymore.

I did raise it on Discord a few times including tagging Rick

Screenshot_20210906-214734_Discord.jpg

Ricks response was Paul said that it should be fine on iOS12 and iOS9 should be supported too. I found that a little strange. iOS9 being supported still.

As you can see in my last message that was cut short I said to get it to work I had to drop back to a 2019 build but that wasn't something I can keep up for very long so told my users I would stop supporting iOS12

I don't know the user base size on iOS12 but I imagine its probably dieing so probably isn't something TGC need to worry about unless they happen to find the reason and can fix it with little effort

VirtualNomad19 commented 3 years ago

for cross-reference: https://forum.thegamecreators.com/thread/227825

VirtualNomad19 commented 3 years ago

has anyone tested a recent version of Studio (09/30/21) or Classic (10/19/21) players with this?

DaleSchultz commented 2 years ago

This is still a problem. On iOS 12.5.1 and 12.5.5 the AGK player installed from the Apple store fails to load.

DaleSchultz commented 2 years ago

Note that an executable created using AGK classic run on iOS 12.5.5 but it is the player that does not, making development impossible from Windows.

neiltking commented 2 years ago

Any update on this? Player version 2021.06.14 and iOS version 12.5.5. The "AppGameKit Player" downloaded from the App Store fails to run after flashing up the splash screen. My own apps built using AppGameKit Studio and pushed to the device work fine.

I've tried to export the player from the Studio IDE to push across manually but it no longer seems to be there. In the folder there is a "README.txt" file which says "export the AGK player using Tools->iOS->Export AGK Player" but this menu option no longer exists. Is there a way to build the Player app from the IDE so I can push it to the iPhone 5s to see if that works (rather than use the one from the App Store)?

neiltking commented 2 years ago

This now appears to have been fixed in the "Sep 25 2022" build of the AppGameKit Player from the App Store. It runs and receives broadcasts fine on iOS 12.5.5 and 12.5.6 Thanks.

VirtualNomad19 commented 2 years ago

This now appears to have been fixed in the "Sep 25 2022" build of the AppGameKit Player from the App Store. It runs and receives broadcasts fine on iOS 12.5.5 and 12.5.6 Thanks.

good to hear.