Jump to content

13 posts in this topic

Recommended Posts

Posted

First of all I know some people made topic about SCLAlertView and I read all the topics in iosgods and I looked for solutions but I didn't t find any suitable solution.

I created this topic because I really tired so I need to help from anyone can help me because a lot of people wants to create SCLAlertView 100% without any Errors 

If u want to help us step by step u r welcome in my topic :bow:

I have :

SCLAlertView Headers

iPhone 6

THEOS

 (jailbreak)

iOS 9.0.2 

iPhoneOS9.3.sdk

 

 

My Tweak.xm:hi:

#import <SCLAlertView/SCLAlertView.h>
#import <mach-o/dyld.h>
#import <substrate.h>
#import <UIKit/UIKit.h>


%hook WhatsAppAppDelegate // Change$ this with your Application's Delegate. AppController, UnityAppController, GameDelegate etc.
-(BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { 

    SCLAlertView *alert = [[SCLAlertView alloc] initWithNewWindow];
        
        [alert addButton: @"Visit iOSGods.com!" actionBlock: ^(void) {
        [[UIApplication sharedApplication] openURL: [NSURL URLWithString: @"https://iosgods.com/"]];
    }];
        
        alert.shouldDismissOnTapOutside = NO;
        alert.backgroundType = SCLAlertViewBackgroundBlur; 
        
        
        
        
    
    [alert showSuccess: nil 
              subTitle: @"Hacked by KlashKsa\n"
      closeButtonTitle: @"Thank You" 
              duration: 20.0f]; 
                return %orig;
}
%end

my makfile :hi:

ARCHS = armv7 arm64
TARGET = iphone:clang:latest:latest
CFLAGS = -fobjc-arc
CFLAGS = -w

include $(THEOS)/makefiles/common.mk

TWEAK_NAME = 111
111_FILES = Tweak.xm
111_FILES = Tweak.xm $(shell find $(THEOS)/include/SCLAlertView -name '*.m')
111_FRAMEWORKS = UIKit MessageUI Social QuartzCore CoreGraphics Foundation AVFoundation Accelerate GLKit AudioToolbox
111_LDFLAGS += -Wl,-segalign,4000

include $(THEOS_MAKE_PATH)/tweak.mk

 

My Error :rtfm: 

> Making all for tweak 111…
==> Linking tweak 111 (armv7)…
ld: file not found: /usr/lib/system/liblaunch.dylib for architecture armv7
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/var/mobile/111/.theos/obj/debug/armv7/111.dylib] Error 1
make[2]: *** [/var/mobile/111/.theos/obj/debug/armv7/111.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [111.all.tweak.variables] Error 2

 

Posted (edited)
2 minutes ago, klashksa said:

I have iPhoneOS10.3.sdk Can I use it on my iPhone ios9.0.2 ? 

Read the link, it's being discussed and fixed. Keep an eye out there and run make update-theos to fix it in the future.

You also might need to get the new sdks if/once they're fixed.

https://iosgods.com/topic/62343-new-2018-how-to-install-theos-sdk-on-your-idevice/

Updated by DiDA
Posted

 

1 hour ago, DiDA said:

Your error is not related to SCLAlertView. It's rather a theos/sdk issue. 

https://github.com/theos/theos/issues/297

I read it and after that I downloaded liblaunch.dylib 

But i got the same error . 

I tried to update my theos but I got This error 

git clone --recursive https://github.com/theos/theos.git /var/theostest
Cloning into '/var/theostest'...
fatal: unable to access 'https://github.com/theos/theos.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

 

Posted
2 minutes ago, klashksa said:

 

I read it and after that I downloaded liblaunch.dylib 

But i got the same error . 

I tried to update my theos but I got This error 

git clone --recursive https://github.com/theos/theos.git /var/theostest
Cloning into '/var/theostest'...
fatal: unable to access 'https://github.com/theos/theos.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

 

That's also another error that needs fixing by Saurik. Someone said he's been notified. You can use this alternative install way meanwhile.

 

Posted
1 minute ago, DiDA said:

That's also another error that needs fixing by Saurik. Someone said he's been notified. You can use this alternative install way meanwhile.

 

I saw it but I don't have a computer PC 

so what I did ! 

I changed my sdk to iPhoneOS10.3.sdk

and I got this error :

==> Linking tweak 111 (armv7)…
Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_SCLAlertView", referenced from:
      objc-class-ref in Tweak.xm.c53b101c.o
ld: symbol(s) not found for architecture armv7
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/var/mobile/111/.theos/obj/debug/armv7/111.dylib] Error 1
make[2]: *** [/var/mobile/111/.theos/obj/debug/armv7/111.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [111.all.tweak.variables] Error 2

divp 
Posted

Did you include the SCLAlertView headers in your Tweak.xm and Makefile?

Posted

@Ted2

I pasted My tweak.xm and my makefile in my topic 

1 minute ago, DiDA said:

Did you include the SCLAlertView headers in your Tweak.xm and Makefile?

 

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