Jump to content

4 posts in this topic

Recommended Posts

Posted

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

 

 

Posted

 

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

Posted

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

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