Skip to content
Guest Big Announcement

Error ( make package )

Featured Replies

Hello

 

When I make package I have got error , I don't know how can I fix it . I have watched the forum topics and have not found a solution to this problem . I need to help plz :sad:

\/

\/

\/

This is my problem 

https://e.top4top.net/p_544ea2l90.jpg

 
Klash-ksa:/var/mobile/klashksa root# make package install
bash: xcode-select: command not found
bash: xcrun: command not found
bash: xcode-select: command not found
bash: xcode-select: command not found
bash: xcrun: command not found
bash: xcode-select: command not found
bash: xcrun: command not found
bash: xcode-select: command not found
bash: xcrun: command not found
==> Error: The vendor/include and/or vendor/lib directories are missing. Please run `git submodule update --init --recursive` in your Theos directory. More information: https://github.com/theos/theos/wiki/Installation.
make: *** [before-all] Error 1

 

 

  • Author

 

I've done it and I've had this problem :sad:

\/

\/

\/

https://e.top4top.net/p_553bovdi0.jpg

Klash-ksa:/var/mobile/klashksa root# make package install
Making all for tweak klashksa...
 Preprocessing Tweak.xm...
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
 Compiling Tweak.xm...
Tweak.xm:12:45: error: instance method
      '-initwithTitle:message:delegate:cancelButtontitle:otherButtonTitles:'
      not found (return type defaults to 'id')
      [-Werror,-Wobjc-method-access]
  ...initwithTitle:@"welcome" message:@"welcome to your iphone" delegate:self cancelButtontitle:@"okay" otherButtonTitles...
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:24:40: note: 
      receiver is instance of class declared here
NS_CLASS_AVAILABLE_IOS(2_0) @interface UIAlertView : UIView
                                       ^
1 error generated.
make[2]: *** [obj/Tweak.xm.0c97d837.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [klashksa.all.tweak.variables] Error 2
Klash-ksa:/var/mobile/klashksa root#

@Diversityy

  • Author

This is my tweak.xm

 

#import <UIKit/UIKit.h>

%hook SpringBoard


- (void)applicationDidFinishLaunching:(id)application{
  
  
  %orig;
  
  
  UIAlertView *alert = [[UIAlertView alloc] initwithTitle:@"welcome" message:@"welcome to your iphone" delegate:self cancelButtontitle:@"okay" otherButtonTitles:nil];
  
  [alert show];
  
  
  
  }
  
  
  
  
  
  
  
  %end

 

 

 

@Diversityy

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.