Jump to content

Theos-preference_bundle sdk issue


Go to solution Solved by Rook,

7 posts in this topic

Recommended Posts

Posted

I face this issue when i make do :

> Making all for bundle test…
==> Copying resource directories into the bundle wrapper…
==> Compiling crackterbRootListController.m (armv7)…
==> Linking bundle test (armv7)…
ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/System/Library/PrivateFrameworks'
ld: framework not found Preferences
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/Users/xcode/Desktop/dump-tweak/Randy420/test/.theos/obj/debug/armv7/test.bundle/test] Error 1
make[2]: *** [/Users/xcode/Desktop/dump-tweak/Randy420/test/.theos/obj/debug/armv7/test.bundle/test] Error 2
make[1]: *** [internal-bundle-all_] Error 2
make: *** [test.all.bundle.variables] Error 2

 

and this is make file :

TARGET := iphone:clang:latest:7.0

include $(THEOS)/makefiles/common.mk

BUNDLE_NAME = test

test_FILES = crackterbRootListController.m
test_FRAMEWORKS = UIKit
test_PRIVATE_FRAMEWORKS = Preferences
test_INSTALL_PATH = /Library/PreferenceBundles
test_CFLAGS = -fobjc-arc

include $(THEOS_MAKE_PATH)/bundle.mk

 

also i use my pc not my phone 

Posted
5 minutes ago, Rook said:

Seems like you may need the SDKs from the theos GitHub repo.

See: https://github.com/theos/sdks

i think i have all sdk you can see here :

/theos/sdks)-[git://master ✔]-
└> ls
AppleTVOS10.2.sdk AppleTVOS12.4.sdk iPhoneOS11.4.sdk  iPhoneOS13.7.sdk  iPhoneOS9.3.sdk
AppleTVOS11.4.sdk iPhoneOS10.3.sdk  iPhoneOS12.4.sdk  iPhoneOS14.5.sdk

 

Posted

You may need to point your theos to your theos/sdks instead of the one in Xcode in this case?

Posted
1 minute ago, Rook said:

You may need to point your theos to your theos/sdks instead of the one in Xcode in this case?

yu how i do that can you help me with that ?

  • Solution
Posted
16 minutes ago, Xnoobxtest12 said:

yu how i do that can you help me with that ?

Adding something like this should work:

  SDK_PATH = $(THEOS)/sdks/iPhoneOS11.2.sdk/
  SYSROOT = $(SDK_PATH)

 

Posted
19 minutes ago, Rook said:

Adding something like this should work:

  SDK_PATH = $(THEOS)/sdks/iPhoneOS11.2.sdk/
  SYSROOT = $(SDK_PATH)

 

Thank you so much it work 

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