AltStore icon indicating copy to clipboard operation
AltStore copied to clipboard

Can't Enable AltJIT on iOS 17

Open SpamixOfficial opened this issue 1 year ago β€’ 71 comments

The last update (1.7) was supposed to enable JIT for iOS 17, but I still can't get it to work. I've followed the instructions for iOS 17 on the wiki, but when I'm trying to enable altjit using the binary included in AltServer I get a swift error about some .dylib. I have no idea how I should resolve this, any help will be appreciated. Thanks in advance!

EDIT: I'll add the output and the command later today.

EDIT 2: To everyone trying to use anything under MacOS 13, it only works for MacOS 13 and above. For windows users, this does not currently work on windows.

SpamixOfficial avatar Oct 02 '23 17:10 SpamixOfficial

It also does not work for me. I get this error:

Error Description The URL to download the Developer disk image could not be determined.

Failure Reason The URL to download the Developer disk image could not be determined.

Title JIT could not be enabled for PojavLauncher.

Source File AltServer/DeveloperDiskManager.swift

Source Line 150

IceyeFPV avatar Oct 02 '23 22:10 IceyeFPV

@IceyeFPV That seems to be normal though. To enable on iOS 17 you got to follow some specific instructions: https://faq.altstore.io/how-to-use-altstore/altjit

SpamixOfficial avatar Oct 03 '23 04:10 SpamixOfficial

I know and i did i even specifically got a mac for this because it does not work on windows. πŸ˜…

IceyeFPV avatar Oct 03 '23 05:10 IceyeFPV

@IceyeFPV Oh sorry. I thought you just tried to press the enable JIT button, not do the funny commands in the terminal

SpamixOfficial avatar Oct 03 '23 05:10 SpamixOfficial

here's the output of /Applications/AltServer.app/Contents/MacOS/altjit:

Macmini:MacOS USERNAME$ ./altjit

dyld[25711]: Library not loaded: '/usr/lib/swift/libswiftRegexBuilder.dylib'
  Referenced from: '/Applications/AltServer.app/Contents/MacOS/altjit'
  Reason: tried: '/usr/lib/swift/libswiftRegexBuilder.dylib' (no such file), '/usr/lib/libswiftRegexBuilder.dylib' (no such file)
Abort trap: 6

replaced my username with USERNAME

SpamixOfficial avatar Oct 03 '23 17:10 SpamixOfficial

So is this error happening when you click 'Enable JIT' on AltServer or are you trying to do this all through Terminal?

shanegillio avatar Oct 04 '23 15:10 shanegillio

So is this error happening when you click 'Enable JIT' on AltServer or are you trying to do this all through Terminal?

I first tried using the button, which gave me the developer disk error, then I tried through the terminal. Both are not working.

SpamixOfficial avatar Oct 05 '23 07:10 SpamixOfficial

The terminal gave me that error btw

SpamixOfficial avatar Oct 05 '23 07:10 SpamixOfficial

Any idea what the solution might be? @shanegillio

SpamixOfficial avatar Oct 09 '23 06:10 SpamixOfficial

You can try and download Xcode and see if that helps it resolve. It seems like it may be using the incorrect python version

shanegillio avatar Oct 12 '23 21:10 shanegillio

You can try and download Xcode and see if that helps it resolve. It seems like it may be using the incorrect python version

I have xcode installed. Latest one is also not possible since i run MacOS 12

SpamixOfficial avatar Oct 22 '23 19:10 SpamixOfficial

It also does not work for me. I get this error:

Error Description The URL to download the Developer disk image could not be determined.

Failure Reason The URL to download the Developer disk image could not be determined.

Title JIT could not be enabled for PojavLauncher.

Source File AltServer/DeveloperDiskManager.swift

Source Line 150

same is happening with me ( I have also followed the instructions to enable Jit on iOS 17 )

abhishekgi avatar Nov 10 '23 13:11 abhishekgi

It also does not work for me. I get this error: Error Description The URL to download the Developer disk image could not be determined. Failure Reason The URL to download the Developer disk image could not be determined. Title JIT could not be enabled for PojavLauncher. Source File AltServer/DeveloperDiskManager.swift Source Line 150

same is happening with me ( I have also followed the instructions to enable Jit on iOS 17 )

same happening with me on iOS 17. followed the instructions using my mac on OS11.7.10 and still running into the same issue.

ShadowEliteRyze avatar Nov 10 '23 14:11 ShadowEliteRyze

Yep im getting this issue, i made a MacOS VM to get it working and spent a few hours on this

CitrusIntellect avatar Nov 13 '23 22:11 CitrusIntellect

Yep im getting this issue, i made a MacOS VM to get it working and spent a few hours on this

Same bro same

abhishekgi avatar Nov 15 '23 14:11 abhishekgi

getting same error, seems to be because the library was added on MacOS 13, and I'm running MacOS 12

DwifteJB avatar Nov 19 '23 21:11 DwifteJB

Welp, time to do pain again :\

CitrusIntellect avatar Nov 20 '23 13:11 CitrusIntellect

getting same error, seems to be because the library was added on MacOS 13, and I'm running MacOS 12

Hmmmm okay. Is there any way to fix this on 12 then?

SpamixOfficial avatar Nov 20 '23 14:11 SpamixOfficial

getting same error, seems to be because the library was added on MacOS 13, and I'm running MacOS 12

Hmmmm okay. Is there any way to fix this on 12 then?

or possibly on Mac OS 11.7 for me?

ShadowEliteRyze avatar Nov 20 '23 14:11 ShadowEliteRyze

getting same error, seems to be because the library was added on MacOS 13, and I'm running MacOS 12

Hmmmm okay. Is there any way to fix this on 12 then?

Don't believe you can, you can try this but it does wipe your data. Worked for me on MacOS 13.6

DwifteJB avatar Nov 20 '23 21:11 DwifteJB

Hello, i try enable JIT on ipados 17.0.3 and i get Error: The URL to download the Developer disk image could not be determined I’m on MacOS Big Sur, AltServer 1.7, iPadOS 17.0.3, AltStore 2.0b5

Pls help

Luis100000 avatar Nov 27 '23 13:11 Luis100000

Hello, i try enable JIT on ipados 17.0.3 and i get Error: The URL to download the Developer disk image could not be determined I’m on MacOS Big Sur, AltServer 1.7, iPadOS 17.0.3, AltStore 2.0b5

Pls help

Guys to fix this issue

  1. We should use Mac OS 13.5 or newer on mac/macVM
  2. Follow the instructions for enabling Jit on iOS 17
  3. Make sure your device is connected with lightning cable to your mac/macVM
  4. Enjoy

The sad things -

  1. I don’t have a Mac 😭
  2. Every time i stuck on the apple logo or boot loop with a error when I try to install macOS 13 or newer on VMware workstation 17 😭
  • Never Give Up Guys

abhishekgi avatar Nov 28 '23 14:11 abhishekgi

Hi, I got error too.

Mac OS: 14 iPad Pro: iPad OS 17.1.1

Error message:

Error Description
The process 'altjit' failed with code 1. The process 'python3' failed with code 1. stream.tell() failed

Failure Reason
The process 'altjit' failed with code 1. The process 'python3' failed with code 1. stream.tell() failed

Title
JIT could not be enabled for UTM SE.

Source Line
96

executableURL
file:///private/var/folders/jw/z5_wnf7j24zfv9pmm4xczk_m0000gn/T/AppTranslocation/A48E8316-48F6-4C49-BCFC-2B9EBBC5B280/d/AltServer.app/Contents/MacOS/altjit

exitCode
1

output
Mounting personalized developer disk...
❌ Unable to mount personalized Developer Disk.
The process 'python3' failed with code 1. stream.tell() failed

And I run the code below, got an error

python3 -m pymobiledevice3 activation activate 

or 

/Applications/Xcode.app/Contents/Developer/usr/bin/python3 -m pymobiledevice3 activation activate

// Error message
/Users/somebody/Library/Python/3.9/lib/python/site-packages/urllib3/__init__.py:34: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
  warnings.warn(
Traceback (most recent call last):
  File "/Users/somebody/Library/Python/3.9/lib/python/site-packages/construct/core.py", line 213, in stream_tell
    return stream.tell()
AttributeError: 'SafeStreamSocket' object has no attribute 'tell'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/pymobiledevice3/__main__.py", line 148, in <module>
    main()
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/pymobiledevice3/__main__.py", line 100, in main
    cli()
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/click/core.py", line 1686, in invoke
    sub_ctx = cmd.make_context(cmd_name, args, parent=ctx)
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/click/core.py", line 943, in make_context
    self.parse_args(ctx, args)
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/click/core.py", line 1408, in parse_args
    value, args = param.handle_parse_result(ctx, opts, args)
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/click/core.py", line 2400, in handle_parse_result
    value = self.process_value(ctx, value)
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/click/core.py", line 2362, in process_value
    value = self.callback(ctx, self, value)
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/pymobiledevice3/cli/cli_common.py", line 177, in udid
    devices = select_devices_by_connection_type(connection_type='USB', usbmux_address=self.usbmux_address)
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/pymobiledevice3/usbmux.py", line 447, in select_devices_by_connection_type
    for device in list_devices(usbmux_address=usbmux_address):
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/pymobiledevice3/usbmux.py", line 409, in list_devices
    mux = create_mux(usbmux_address=usbmux_address)
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/pymobiledevice3/usbmux.py", line 405, in create_mux
    return MuxConnection.create(usbmux_address=usbmux_address)
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/pymobiledevice3/usbmux.py", line 180, in create
    response = usbmuxd_response.parse_stream(sock)
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/construct/core.py", line 416, in parse_stream
    return self._parsereport(stream, context, "(parsing)")
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/construct/core.py", line 428, in _parsereport
    obj = self._parse(stream, context, path)
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/construct/core.py", line 4869, in _parse
    substream = BytesIOWithOffsets.from_reading(stream, length, path)
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/construct/core.py", line 241, in from_reading
    offset = stream_tell(stream, path)
 somebodyrs/somebody/Library/Python/3.9/lib/python/site-packages/construct/core.py", line 215, in stream_tell
    raise StreamError("stream.tell() failed", path=path)
construct.core.StreamError: Error in path (parsing)
stream.tell() failed

I followed every steps in FAQ. Is Pythone version issue?

leixu2txtek avatar Nov 29 '23 13:11 leixu2txtek

@leixu2txtek I have the same error! I couldn't find anyone else with the same error... I kept getting the error that pymobiledevice3 was not installed, even though I had it installed and would get confirmation with the Activated that would show when I ran pymobiledevice3 activation state.

So, as per the instructions on the FAQ, I went and downloaded Xcode and ran /Applications/Xcode.app/Contents/Developer/usr/bin/python3 -m pip install -U pymobiledevice3

and now run into the exact same errors as you. Well, to be precise, I'm not trying to install UTM SE, so obviously my title says DolphiniOS, and my executableURL is different (I'm assuming because you're using Apple Silicon?).

Otherwise, I'm also on macOS 14(.1.1) and I guess my iPhone 14 Pro Max being on 17.1.1 also doesn't make a difference. It might be a Python version issue, because my conda environment is on Python 3.8.17, whereas the one that came with Xcode is Python 3.9.6, which I'm assuming is the one you are also using?

hovikgas avatar Nov 30 '23 03:11 hovikgas

I too am facing this same issue, when trying to enable JIT using AltStore on iOS 17. Tried using both Python versions on my system. The externally installed from 3.10 and 3.9 that comes built-in. On macOS 14

nitantsoni avatar Nov 30 '23 07:11 nitantsoni

Can someone find a fix please?

CitrusIntellect avatar Nov 30 '23 23:11 CitrusIntellect

@leixu2txtek I have the same error! I couldn't find anyone else with the same error... I kept getting the error that pymobiledevice3 was not installed, even though I had it installed and would get confirmation with the Activated that would show when I ran pymobiledevice3 activation state.

So, as per the instructions on the FAQ, I went and downloaded Xcode and ran /Applications/Xcode.app/Contents/Developer/usr/bin/python3 -m pip install -U pymobiledevice3

and now run into the exact same errors as you. Well, to be precise, I'm not trying to install UTM SE, so obviously my title says DolphiniOS, and my executableURL is different (I'm assuming because you're using Apple Silicon?).

Otherwise, I'm also on macOS 14(.1.1) and I guess my iPhone 14 Pro Max being on 17.1.1 also doesn't make a difference. It might be a Python version issue, because my conda environment is on Python 3.8.17, whereas the one that came with Xcode is Python 3.9.6, which I'm assuming is the one you are also using?

I am running shell in my intel macbook pro. And I already installed Xcode.

Now I'm testing in my M2 Mac mini, waiting for good news. :)

leixu2txtek avatar Dec 01 '23 09:12 leixu2txtek

I would really appreciate if they could find a fix for MacOS versions prior to 13 since some people (like me) have software that depends on earlier versions of MacOS, like 12.

SpamixOfficial avatar Dec 01 '23 09:12 SpamixOfficial

I would really appreciate if they could find a fix for MacOS versions prior to 13 since some people (like me) have software that depends on earlier versions of MacOS, like 12.

I agree πŸ‘

abhishekgi avatar Dec 01 '23 15:12 abhishekgi

#1345

Downgrade pymobiledevice3 to 2.30.0, It did well for me

iPad OS 7.1.1 AltServer 1.7(78) Mac OS 14.1, Intel 2019 Python 3.9.6 Xcode 15.0.1

I use python3 from xcode

/Applications/Xcode.app/Contents/Developer/usr/bin/python3

image

leixu2txtek avatar Dec 02 '23 04:12 leixu2txtek