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

[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

Comments

@xuan32546
Copy link

What are the steps to reproduce this issue?

  1. Create a Theos tweak project (let's name it "mytweak")
  2. Create a custom framework as a subproject of the Theos tweak project (let's name it "MyFramework")
  3. Inside the tweak project's Makefile, add mytweak_EXTRA_FRAMEWORKS = MyFramework
  4. 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

@xuan32546 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
@L1ghtmann
Copy link
Member

Related to #205

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

No branches or pull requests

2 participants