Jump to content

How to set Theos default sdks on MacOS


duonghung1269

2 posts in this topic

Recommended Posts

Posted

Hi all,

Anyone can suggest how to set default sdks on MacOS to /opt/theos/sdks/iphoneOS9.3.sdk ?

I have cloned theos and put to /opt/theos and put sdks to /opt/theos/sdks/iPhoneOS9.3.sdk but when I run make clean package for my tweak it always get sdk from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk which is wrong.

This is result when I check with xcrun --show-sdk-path --sdk iphoneos

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk

 

Thanks

Posted

Add this on the beginning of your Makefile:

TARGET := iphone:clang:latest:9.3

 

Alternatively you can use: SYSROOT=$THEOS/sdks/iPhoneOSxx.sdk

Archived

This topic is now archived and is closed to further replies.

×
  • 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