You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Bug]: Framework as a subproject should install to THEOS_LIBRARY_PATH before other subprojects start compiling when running "make package install"
#660
Open
xuan32546 opened this issue
Aug 2, 2022
· 1 comment
Create a Theos tweak project (let's name it "mytweak")
Create a custom framework as a subproject of the Theos tweak project (let's name it "MyFramework")
Inside the tweak project's Makefile, add mytweak_EXTRA_FRAMEWORKS = MyFramework
Run make package install to install
What happens?
When building "mytweak", it cannot find the framework named "MyFramework", which is because the framework was not synthesized to THEOS_LIBRARY_PATH from _THEOS_SHARED_BUNDLE_BUILD_PATH at that moment.
What were you expecting to happen?
The tweak should be able to use the framework, which was compiled before the tweak compiles
Paste any relevant logs, error output, etc.
No response
Additional context
No response
What OS are you seeing the problem on?
macOS
What OS version does it have installed?
MacOS 12.4
What toolchain and version are you using?
xcode 13.4
Which SDK version are you using?
14.4
What OS is your client device running?
iOS
What OS version does it have installed?
13.7
Which device model is it?
iPad Pro 2020 11 inch
Which jailbreak is it using (if relevant)?
No response
The text was updated successfully, but these errors were encountered:
xuan32546
changed the title
[Bug]: Framework as a subproject should install to THEOS_LIBRARY_PATH before other subprojects start compiling when making and installing
[Bug]: Framework as a subproject should install to THEOS_LIBRARY_PATH before other subprojects start compiling when running "make package install"
Aug 2, 2022
What are the steps to reproduce this issue?
mytweak_EXTRA_FRAMEWORKS = MyFramework
make package install
to installWhat happens?
When building "mytweak", it cannot find the framework named "MyFramework", which is because the framework was not synthesized to THEOS_LIBRARY_PATH from _THEOS_SHARED_BUNDLE_BUILD_PATH at that moment.
What were you expecting to happen?
The tweak should be able to use the framework, which was compiled before the tweak compiles
Paste any relevant logs, error output, etc.
No response
Additional context
No response
What OS are you seeing the problem on?
macOS
What OS version does it have installed?
MacOS 12.4
What toolchain and version are you using?
xcode 13.4
Which SDK version are you using?
14.4
What OS is your client device running?
iOS
What OS version does it have installed?
13.7
Which device model is it?
iPad Pro 2020 11 inch
Which jailbreak is it using (if relevant)?
No response
The text was updated successfully, but these errors were encountered: