JohnCoatesOSS / Limitless

Fork of Cydia. Different name to avoid confusion. Goal: Refactor Cydia to make contributions easier. Backport features to Cydia's coding style so they can be submitted for consideration.
GNU General Public License v3.0
155 stars 28 forks source link

Fix crash when sandboxed #9

Open Shugabuga opened 7 years ago

Shugabuga commented 7 years ago

When installed with Xcode onto a physical device, the app would instantly crash when sandboxed. It would be nice if this was fixed, as it would make it easier to test basic stuff like the UI and support for not yet jailbroken iOS versions.

This isn't as crucial as getting apt and working, but it may be worth considering a fix.

Crash Log:

error   10:09:42.463385 -0500   SpringBoard Unable to register for exec notifications: No such process
error   10:09:42.463622 -0500   SpringBoard Unable to get short BSD proc info for 1932: No such process
error   10:09:42.463773 -0500   SpringBoard Unable to get proc info for 1932: No such process
error   10:09:42.463898 -0500   SpringBoard Unable to obtain a task name port right for pid 1932: (os/kern) failure (0x5)
error   10:09:42.464089 -0500   SpringBoard Unable to get short BSD proc info for 1932: No such process
error   10:09:42.464288 -0500   SpringBoard Unable to obtain a process handle for <FBApplicationProcess: 0x1703ee600; jco.oss.Limitless; pid: 1932>
error   10:09:42.932599 -0500   backboardd  Unable to bootstrap_look_up port with name .gsEvents: unknown error code (1102)
error   10:09:42.940364 -0500   backboardd  Unable to bootstrap_look_up port with name .gsEvents: unknown error code (1102)
JohnCoates commented 7 years ago

Definitely looking to get this fixed. Don't expect much from the sandbox for a while though. Until we get the APT replacement integrated most functions will fail because they rely on creating new processes, which you can't do while sandboxed. Running on the simulator is your best bet for now.

Shugabuga commented 7 years ago

It's good to hear it's on the roadmap, and I don't mind waiting. Thanks for the prompt reply!

cheesecakeufo commented 7 years ago

What are the alternatives for APT?

uroboro commented 7 years ago

libAPTObjc is in the works.

ghost commented 7 years ago

If this is something that its wanted by more than a couple people I will work on it, I have a feeling its not going to be a quick fix either

Shugabuga commented 7 years ago

Isn't this due to Cydia's APT implementation that's supposedly being worked on? But feel free to work on it, but idk if the demand is there.