Bug Issue: Can't run games on iOS 14 from Stencyl


Pages: 1

Justin

  • Master Stencyler
  • *
October 31, 2020, 03:58:15 am
http://community.stencyl.com/index.php/topic,61229.0.html

Code: [Select]
[ios-deploy] 2020-10-20 13:57:50.438 ios-deploy[14795:403108] [ !! ] Error 0xe8000022: The service is invalid. AMDeviceSecureStartService(device, CFSTR("com.apple.debugserver"), NULL, &con)
« Last Edit: October 31, 2020, 05:01:53 am by Justin »


Issue updated by Justin - October 31, 2020, 05:02:39 am
  • Tags added: 4.0.4


Justin

  • Master Stencyler
  • *
October 31, 2020, 11:03:06 am
This should be fixed with private build 10650.
  • Status changed from New to Need Info
  • Issue Assigned from (none) to Justin


mbergoei

  • Junior Stencyler
November 01, 2020, 02:11:56 pm
Hi,

Can confirm it is still not launching.

Code: [Select]
jar:file:/Users/monicataglecelis/Desktop/Stencyl-b10651-mac/sw.jar!/res/logview4j/images/info.gif false INFO 1604268567609003614 stencyl.sw.io.write.MasterWriter Done writing game.
jar:file:/Users/monicataglecelis/Desktop/Stencyl-b10651-mac/sw.jar!/res/logview4j/images/info.gif false INFO 1604268567582003606 stencyl.sw.io.write.MasterWriter Saving game in place.
jar:file:/Users/monicataglecelis/Desktop/Stencyl-b10651-mac/sw.jar!/res/logview4j/images/info.gif false INFO 1604268158903003602 stencyl.sw.util.StreamGobbler [ios-deploy] 2020-11-01 19:02:38.903 ios-deploy[6138:104308] [ !! ] Unable to locate DeviceSupport directory with suffix 'Symbols'. This probably means you don't have Xcode installed, you will need to launch the app manually and logging output will not be shown!
jar:file:/Users/monicataglecelis/Desktop/Stencyl-b10651-mac/sw.jar!/res/logview4j/images/info.gif false INFO 1604268158657003601 stencyl.sw.util.StreamGobbler [ios-deploy] [ 95%] Developer disk image mounted successfully
jar:file:/Users/monicataglecelis/Desktop/Stencyl-b10651-mac/sw.jar!/res/logview4j/images/info.gif false INFO 1604268158641003600 stencyl.sw.util.StreamGobbler [ios-deploy] [  0%] Looking up developer disk image
jar:file:/Users/monicataglecelis/Desktop/Stencyl-b10651-mac/sw.jar!/res/logview4j/images/info.gif false INFO 1604268158526003599 stencyl.sw.util.StreamGobbler [ios-deploy] Starting debug of 00008020-001225E11E50003A (D331pAP, iPhone XS Max, iphoneos, arm64e) a.k.a. 'iPhone XS Max de Michel' connected through USB...
jar:file:/Users/monicataglecelis/Desktop/Stencyl-b10651-mac/sw.jar!/res/logview4j/images/info.gif false INFO 1604268158526003598 stencyl.sw.util.StreamGobbler [ios-deploy] ------ Debug phase ------
jar:file:/Users/monicataglecelis/Desktop/Stencyl-b10651-mac/sw.jar!/res/logview4j/images/info.gif false INFO 1604268158370003597 stencyl.sw.util.StreamGobbler [ios-deploy] [100%] Installed package /Users/monicataglecelis/stencylworks/games-generated/Numbers/Export/ios/build/Release-iphoneos/Numbers.app
jar:file:/Users/monicataglecelis/Desktop/Stencyl-b10651-mac/sw.jar!/res/logview4j/images/info.gif false INFO 1604268158292003596 stencyl.sw.util.StreamGobbler [ios-deploy] [ 95%] GeneratingApplicationMap

I'm running b10651

M
« Last Edit: November 01, 2020, 07:11:36 pm by Justin »


Justin

  • Master Stencyler
  • *
November 01, 2020, 07:11:18 pm
Hi, what version of Xcode are you currently using and what iOS version is on your phone? The error you ran into looks a lot like the one I got when I tried testing on an iOS 14.1 phone with Xcode 10.1. Does your version of Xcode have support for the version of iOS on your phone?


Justin

  • Master Stencyler
  • *
November 02, 2020, 03:53:24 am
Alright, I figured out what the issue is here.

You'll need to open Xcode with your iOS device plugged in for it to copy some necessary files to your computer.

I'll see what I can do to make this smoother.


Justin

  • Master Stencyler
  • *
November 02, 2020, 11:57:48 pm
Separately filed mbergoei's issue: #1940.


Justin

  • Master Stencyler
  • *
November 02, 2020, 11:58:40 pm
I'm marking this one as resolved as well, since I've tested it enough times. Let me know if there are any further problems.
  • Status changed from Need Info to Resolved


mbergoei

  • Junior Stencyler
November 09, 2020, 08:58:19 am
Hi Justin,

Just had time to catch up. Last week was very intense at work.

Thanks!


mbergoei

  • Junior Stencyler
November 09, 2020, 12:44:04 pm
Hi Justin, still not working. Did as instructed and launched Xcode with the phone plugged in.

Xcode 12.1
iOS 14.2
Catalina 10.15.7

The logs:

Code: [Select]
2020-11-09 17:40:31,453 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [ios-deploy] [100%] Installed package /Users/monicataglecelis/stencylworks/games-generated/Domino/Export/ios/build/Release-iphoneos/Domino.app
2020-11-09 17:40:31,601 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [ios-deploy] ------ Debug phase ------
2020-11-09 17:40:31,601 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [ios-deploy] Starting debug of 00008020-001225E11E50003A (D331pAP, iPhone XS Max, iphoneos, arm64e) a.k.a. 'iPhone XS Max de Michel' connected through USB...
2020-11-09 17:40:31,745 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [ios-deploy] [  0%] Looking up developer disk image
2020-11-09 17:40:32,463 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [ios-deploy] [ 90%] Mounting developer disk image
2020-11-09 17:40:32,774 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [ios-deploy] [ 95%] Developer disk image already mounted
2020-11-09 17:40:32,786 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [ios-deploy] Failed to start debugserver: e8000022 The service is invalid.
2020-11-09 17:40:32,787 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [ios-deploy] Waiting for the device to scan mounted image
2020-11-09 17:40:33,799 ERROR [Thread-12] stencyl.sw.util.StreamGobbler: [ios-deploy] 2020-11-09 17:40:33.799 ios-deploy[910:21820] [ !! ] Error 0xe8000022: The service is invalid. AMDeviceSecureStartService(device, serviceName, NULL, &dbgServiceConnection)
2020-11-09 17:40:33,806 ERROR [Thread-12] stencyl.sw.util.dg.MessageDialog: Error: Could not test your game on your iOS device. - Generate your logs and post them on the forums.
2020-11-09 17:40:45,868 DEBUG [AWT-EventQueue-0] stencyl.sw.app.App: Action: Generate Logs
2020-11-09 17:40:45,874 DEBUG [pool-1-thread-1] stencyl.sw.util.FileHelper: Matching (non-hidden) files within /Users/monicataglecelis/stencylworks/logs: [/Users/monicataglecelis/stencylworks/logs/2020-11-02_18-04-01.log, /Users/monicataglecelis/stencylworks/logs/2020-11-09_17-39-15.log, /Users/monicataglecelis/stencylworks/logs/2020-10-31_16-50-34.log, /Users/monicataglecelis/stencylworks/logs/2020-10-31_16-09-20.log, /Users/monicataglecelis/stencylworks/logs/2020-11-01_21-47-45.log, /Users/monicataglecelis/stencylworks/logs/2020-10-31_14-30-45.log, /Users/monicataglecelis/stencylworks/logs/2020-11-02_18-23-21.log, /Users/monicataglecelis/stencylworks/logs/2020-11-01_21-10-45.log, /Users/monicataglecelis/stencylworks/logs/2020-10-31_20-41-39.log, /Users/monicataglecelis/stencylworks/logs/2020-11-01_22-48-16.log, /Users/monicataglecelis/stencylworks/logs/2020-11-02_18-55-26.log, /Users/monicataglecelis/stencylworks/logs/2020-11-01_13-36-16.log, /Users/monicataglecelis/stencylworks/logs/2020-11-08_17-59-02.log, /Users/monicataglecelis/stencylworks/logs/2020-10-31_17-05-15.log, /Users/monicataglecelis/stencylworks/logs/2020-11-04_19-18-31.log, /Users/monicataglecelis/stencylworks/logs/2020-11-02_16-21-26.log, /Users/monicataglecelis/stencylworks/logs/2020-11-09_16-42-51.log, /Users/monicataglecelis/stencylworks/logs/2020-11-02_16-14-07.log, /Users/monicataglecelis/stencylworks/logs/2020-11-02_16-06-39.log, /Users/monicataglecelis/stencylworks/logs/2020-11-07_21-40-31.log, /Users/monicataglecelis/stencylworks/logs/2020-10-31_18-33-19.log]

Best,

M
« Last Edit: November 09, 2020, 03:27:08 pm by mbergoei »


Justin

  • Master Stencyler
  • *
November 09, 2020, 06:21:11 pm
Does it still happen if you restart your phone?


mbergoei

  • Junior Stencyler
November 10, 2020, 03:46:53 am
Figured it out. Xcode 12.1 does not have the SDK for iOS 14.2. Installed Xcode 12.2RC and now it works.

Thanks!


Justin

  • Master Stencyler
  • *
November 10, 2020, 04:33:40 am
Ah, ok. That's one of the potential frustrations that I want to protect against with #1939: Bring device manager out of beta.
« Last Edit: November 10, 2020, 04:34:57 am by Justin »


andyvene

  • Subscriber - Stencyl Studio
  • *
November 12, 2020, 07:28:53 am
Hello,
if you are using an older version of Xcode but you need support for the latest iOS versions of your iOS device to test, you only need to install the appropriate disk image inside this path:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

You don't need to have the latest Xcode version  to run the stencyl app with your iOS device.

Developer Xcode Disk images are here:
https://github.com/haikieu/xcode-developer-disk-image-all-platforms/tree/master/DiskImages/iPhoneOS.platform/DeviceSupport
« Last Edit: November 12, 2020, 07:30:40 am by andyvene »


Pages: 1

Details

  • Reported
    October 31, 2020, 03:58:15 am
  • Updated
    June 08, 2022, 04:52:43 am

  • View Status
    Public
  • Type
    Bug
  • Status
    Resolved
  • Priority
    Normal
  • Version
    (none)
  • Fixed in
    (none)
  • Assigned to
    Justin
  • Category
    Compiling/Testing Games

Tags