Jump to content

2 posts in this topic

Recommended Posts

Posted

so I compiled a deb with Theos for an Apple TV and it installs no problem but its not injecting my dylib into the app, so looked at the substitute log file and it says

644620919.756 5db3f73 INFO  PlexTV(3448): Injecting /Library/MobileSubstrate/DynamicLibraries/PlexPatch.dylib
1644620919.760 5db3f73 ERROR PlexTV(3448): Injection of /Library/MobileSubstrate/DynamicLibraries/PlexPatch.dylib failed: 'dlopen(/Library/MobileSubstrate/DynamicLibraries/PlexPatch.dylib, 9): Library not loaded: /usr/lib/libstdc++.6.dylib
  Referenced from: /Library/MobileSubstrate/DynamicLibraries/PlexPatch.dylib
1644620919.761 5db3f73 INFO  PlexTV(3448): Injecting /Library/MobileSubstrate/DynamicLibraries/updateBlock.dylib
1644620919.776 5db3f73 DEBUG PlexTV(3448): Injection of /Library/MobileSubstrate/DynamicLibraries/updateBlock.dylib completed in 15 ms

it looks like updateBlock.dylib had no problem but it will not load my PlexPatch.dylib it gives me an error "Library not loaded: /usr/lib/libstdc++.6.dylib"

any help would be appreciated!

Posted

I solved my issue. this is how to makefile should look for apple tv...

ARCHS = arm64
TARGET = appletv
export GO_EASY_ON_ME=1
export SDKVERSION=10.2

include /Users/dxcool223/theos/makefiles/common.mk

TWEAK_NAME = XUMOPatch

XUMOPatch_FILES = Tweak.xm
XUMOPatch_LIBRARIES = substrate
XUMOPatch_FRAMEWORKS = Foundation UIKit
XUMOPatch_CFLAGS = -fobjc-arc

export ARCHS = arm64
XUMOPatch_ARCHS = arm64

include /Users/dxcool223/theos/makefiles/tweak.mk

after-install::
    install.exec "killall -9 PineBoard"

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines