Jump to content

i get errors when trying to compile


Go to solution Solved by Amuyea,

2 posts in this topic

Recommended Posts

Posted (edited)

hello
i have iphone 7 ios 11.3.1 electra jailbreak
i get these errors when trying to compile, using 3.0 NIC Template after making the project i only add the offset and hacking hex to tweak.xm after that run the command make package and i got these errors

Choose a Template (required): 1
Project Name (required): shooter
Package Name [com.yourcompany.shooter]: iosgods.com
Author/Maintainer Name [System Administrator]: godfather
[iOSGods Tweak Patcher v3.0] MobileSubstrate Bundle filter [com.apple.springboard]: com.my.hawk.air.shooter
[iOSGods Tweak Patcher v3.0] App Name: shooter
Instantiating iOSGods Tweak Patcher v3.0 in shooter/...
Done.
Hayders-iPhone:~ root# cd /var/root/shooter
Hayders-iPhone:~/shooter root# make package
> Making all for tweak shooter…
==> Preprocessing Tweak.xm…
==> Compiling Tweak.xm (arm64)…
Tweak.xm:46:40: error: 'openURL:' is deprecated: first deprecated in iOS 10.0 - Please use openURL:options:completionHandler: instead [-Werror,-Wdeprecated-declarations]
    [[UIApplication sharedApplication] openURL: [NSURL URLWithString: @"https://iosgods.com/forum/13-free-jailbroken-cydia-cheats/"]];
                                       ^
/var/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:127:1: note: 'openURL:' has been explicitly marked deprecated here
- (BOOL)openURL:(NSURL*)url NS_DEPRECATED_IOS(2_0, 10_0, "Please use openURL:options:completionHandler: instead") NS_EXTENSION_UNAVAILABLE_IOS("");
^
Tweak.xm:50:40: error: 'openURL:' is deprecated: first deprecated in iOS 10.0 - Please use openURL:options:completionHandler: instead [-Werror,-Wdeprecated-declarations]
    [[UIApplication sharedApplication] openURL: [NSURL URLWithString: @"https://iosgods.com/clubs/"]];
                                       ^
/var/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:127:1: note: 'openURL:' has been explicitly marked deprecated here
- (BOOL)openURL:(NSURL*)url NS_DEPRECATED_IOS(2_0, 10_0, "Please use openURL:options:completionHandler: instead") NS_EXTENSION_UNAVAILABLE_IOS("");
^
2 errors generated.
make[3]: *** [/var/theos/makefiles/instance/rules.mk:246: /var/root/shooter/.theos/obj/arm64/Tweak.xm.1c6db019.o] Error 1
rm /var/root/shooter/.theos/obj/arm64/Tweak.xm.mm
make[2]: *** [/var/theos/makefiles/instance/library.mk:33: /var/root/shooter/.theos/obj/arm64/shooter.dylib] Error 2
make[1]: *** [/var/theos/makefiles/instance/library.mk:24: internal-library-all_] Error 2
make: *** [/var/theos/makefiles/master/rules.mk:123: shooter.all.tweak.variables] Error 2
Hayders-iPhone:~/shooter root#

 

what should i do?

 

Updated by godfather9797
Find solutions for some errors

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