Skip to content
Guest Big Announcement

Compiling error using Mac theos

Featured Replies

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

Solved by Archangel04

  • Author

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

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"

  • Author

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

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

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

 

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

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.