Jump to content

 Something great is coming! 🤖

Stay tuned for the big reveal happening here on iOSGods on the 20th of February!

The countdown has finished!

Compiling error using Mac theos


Go to solution Solved by Archangel04,

15 posts in this topic

Recommended Posts

Posted (edited)

Hi, 

 

So recently i decided to use theos on mac instead of ipad. I used KingRalphs tut on installing theos on mac.

 

 

I decided to compile a tweak but i got this error on terminal. 

Error: /Applications/Xcode.app/Contents/Developer/usr/bin/make package requires dpkg-deb.
make: *** [internal-package-check] Error 1
Updated by GodlyOne
Posted

Now i get another error. Its to do with the UIpopup but im not sure why.

 

Tweak.xm:3:1: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 -

      UIAlertView is deprecated. Use UIAlertController with a preferredStyle of

      UIAlertControllerStyleAlert instead [-Werror,-Wdeprecated-declarations]

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"This is the Ti...

^

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note: 

      'UIAlertView' has been explicitly marked deprecated here

@interface UIAlertView : UIView

           ^

Tweak.xm:3:24: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 -

      UIAlertView is deprecated. Use UIAlertController with a preferredStyle of

      UIAlertControllerStyleAlert instead [-Werror,-Wdeprecated-declarations]

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"This is the Ti...

                       ^

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note: 

      'UIAlertView' has been explicitly marked deprecated here

@interface UIAlertView : UIView

           ^

2 errors generated.

make[3]: *** [/users/Tsoliman/doodlearmyminimilitia/.theos/obj/debug/armv7/Tweak.xm.8484422f.o] Error 1

make[2]: *** [/users/Tsoliman/doodlearmyminimilitia/.theos/obj/debug/armv7/DoodleArmyMiniMilitia.dylib] Error 2

make[1]: *** [internal-library-all_] Error 2

 

make: *** [DoodleArmyMiniMilitia.all.tweak.variables] Error 2

Posted

You are using iOS 9 SDKs which doesnt use UIAlertView. It only allows UIAlertController and you need to either install iOS 8 SDKs or remve the popup (or use controller if you get how to use it)

 

Best is to just go with ios 8 sdks. If it doesnt work, please do tell. If it does, please mark this answer as "Mark as solved"

Posted (edited)

You are using iOS 9 SDKs which doesnt use UIAlertView. It only allows UIAlertController and you need to either install iOS 8 SDKs or remve the popup (or use controller if you get how to use it)

 

Best is to just go with ios 8 sdks. If it doesnt work, please do tell. If it does, please mark this answer as "Mark as solved"

 

worked but new error.

 

/bin/bash: ldid: command not found

make[2]: *** [/users/Tsoliman/doodlearmyminimilitia/.theos/obj/debug/DoodleArmyMiniMilitia.dylib] Error 127

rm /users/Tsoliman/doodlearmyminimilitia/.theos/obj/debug/DoodleArmyMiniMilitia.dylib.47ba6b93.unsigned

make[1]: *** [internal-library-all_] Error 2

 

make: *** [DoodleArmyMiniMilitia.all.tweak.variables] Error 2

Updated by GodlyOne
Posted

i think i didnt download everything 

 

 

Did you properly install the latest version of Theos? ldid should already be downloaded for you
If you want to reinstall theos, follow the tutorial here; https://iosgods.com/topic/13072-macios-how-to-easily-install-theos-on-any-ios-device-setuptheos/

Otherwise, if you just want to fix this issue, run the following command;

brew install ldid
Posted

 

Did you properly install the latest version of Theos? ldid should already be downloaded for you

If you want to reinstall theos, follow the tutorial here; https://iosgods.com/topic/13072-macios-how-to-easily-install-theos-on-any-ios-device-setuptheos/

 

Otherwise, if you just want to fix this issue, run the following command;

brew install ldid

 

 

You are using iOS 9 SDKs which doesnt use UIAlertView. It only allows UIAlertController and you need to either install iOS 8 SDKs or remve the popup (or use controller if you get how to use it)

 

Best is to just go with ios 8 sdks. If it doesnt work, please do tell. If it does, please mark this answer as "Mark as solved"

 

 

I get another error lol after all that:

 

 

> Making all for tweak DoodleArmyMiniMilitia…

make[2]: Nothing to be done for `internal-library-compile'.

> Making stage for tweak DoodleArmyMiniMilitia…

 

dpkg-deb: error: obsolete compression type 'lzma'; use xz instead

Posted (edited)

you need to install ldid first. use the brew command given by lurker

 

 

Nothing to be done means its fine. that obsolete error, give me one sec.

Updated by Archangel04

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