Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 13.2.3 crash when loading some frameworks #39

Open
ElfSundae opened this issue Dec 3, 2019 · 3 comments · May be fixed by #40
Open

iOS 13.2.3 crash when loading some frameworks #39

ElfSundae opened this issue Dec 3, 2019 · 3 comments · May be fixed by #40

Comments

@ElfSundae
Copy link

[INFO] GCDWebServer started on port 10000 and reachable at http://192.168.2.2:10000/
2019-12-03 10:34:26.770756+0800 OCRuntime[255:3744] Visit http://192.168.2.2:10000/ in your web browser
[INFO] GCDWebServer now reachable at http://Elf-Sundaes-iPhone.local:10000/
2019-12-03 10:34:35.318125+0800 OCRuntime[255:3903] -- [ERROR] The bundle “AudioUnit” couldn’t be loaded because its executable couldn’t be located.
2019-12-03 10:34:35.427906+0800 OCRuntime[255:3903] -- [ERROR] The bundle “CoreAudioTypes” couldn’t be loaded because its executable couldn’t be located.
2019-12-03 10:34:35.491113+0800 OCRuntime[255:3903] -- [ERROR] The bundle “DriverKit” couldn’t be loaded because its executable couldn’t be located.
2019-12-03 10:34:36.408821+0800 OCRuntime[255:3903] -- [ERROR] The bundle “Accessibility” couldn’t be loaded because its executable couldn’t be located.
2019-12-03 10:34:36.499668+0800 OCRuntime[255:3903] -- skip /System/Library/PrivateFrameworks/Accessibility.framework/Frameworks/AXSpringBoardServerInstance.framework, known to be a crasher on device
2019-12-03 10:34:37.240913+0800 OCRuntime[255:3903] [Common] Allowing SpringBoardUI.framework to load because SearchUI.framework is loaded. This will become a hard assert once <rdar://problem/29408996> is fixed.
2019-12-03 10:34:37.241006+0800 OCRuntime[255:3903] [Common] This process should not be linking or loading SpringBoardUI.framework
Assertion failed: (platformBinary), function SBStaticInitializer, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/SpringBoardHome/SpringBoard-3956.25.1/StaticInitializer.m, line 39.
(lldb) 

I added frameworks that would crash to the "skipedFrameworks" array then run again, until "Load Add" could work. These frameworks are:

@"/System/Library/PrivateFrameworks/AppPredictionUI.framework",
@"/System/Library/PrivateFrameworks/AssistantSettingsSupport.framework",
@"/System/Library/PrivateFrameworks/CarPlaySupport.framework",
@"/System/Library/PrivateFrameworks/ControlCenterUI.framework",
@"/System/Library/PrivateFrameworks/CoverSheet.framework",
@"/System/Library/PrivateFrameworks/SearchUI.framework",
@"/System/Library/PrivateFrameworks/SearchUICardKitProviderSupport.framework",
@"/System/Library/PrivateFrameworks/SiriUIActivation.framework",
@"/System/Library/PrivateFrameworks/Spotlight.framework",
@"/System/Library/PrivateFrameworks/SpotlightUI.framework",
@"/System/Library/PrivateFrameworks/SpotlightUIInternal.framework",
@"/System/Library/PrivateFrameworks/SpringBoard.framework",
@"/System/Library/PrivateFrameworks/SpringBoardHome.framework",
@"/System/Library/PrivateFrameworks/SpringBoardUI.framework",
@"/System/Library/PrivateFrameworks/UserNotificationsUIKit.framework",
@"/System/Library/PrivateFrameworks/VoiceShortcutsUI.framework",
@ElfSundae ElfSundae linked a pull request Dec 3, 2019 that will close this issue
@Lessica
Copy link

Lessica commented Dec 26, 2019

But these private frameworks are useful and important for tweak developing... It would be better if there's another bypass to load these frameworks.

@ElfSundae
Copy link
Author

These frameworks can be loaded on a jailbroken device. I have uploaded 13.3 headers https://github.com/ElfSundae/iOS-Runtime-Headers

@Lessica
Copy link

Lessica commented Dec 31, 2019

👍Solved: sign the binary with ldid -S and move the application to /Applications.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>platform-application</key>
	<true/>
</dict>
</plist>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants