Jump to content

Make Package Errors- Help!


Go to solution Solved by Rook,

36 posts in this topic

Recommended Posts

Posted

Installed now. :)

 

Another problem tho...

 

In the Settings there isn't the Injustice Hacks option.

 

Can I send you my tweak.xm via PM and you have a look?

Are you sure it's a Preference Bundle and not just a Tweak?

Posted

Are you sure it's a Preference Bundle and not just a Tweak?

hmmm I think so. Now I`m confused.

When I use theos should I select iphone/tweak?

Posted

hmmm I think so. Now I`m confused.

When I use theos should I select iphone/tweak?

If you select iphone/tweak then it will be just a Tweak. No settings.

 

I suggest you use the Preference Bundle templates posted in Tools. :)

Posted

If you select iphone/tweak then it will be just a Tweak. No settings.

 

I suggest you use the Preference Bundle templates posted in Tools. :)

I`m gonna check it tomorrow.

So tired with all this Errors!

Bed time haha. 3:35 AM ZZzzZZ :sleep:

Thank you very much for all the help. 

Good night!

Posted

If you select iphone/tweak then it will be just a Tweak. No settings.

 

I suggest you use the Preference Bundle templates posted in Tools. :)

 

Ton of Errors again :(

NIC 2.0 - New Instance Creator
------------------------------
  [1.] iOSGods CSCI Patcher v2.1
  [2.] iOSGods Patcher v1.2
  [3.] iphone/application
  [4.] iphone/cydget
  [5.] iphone/dashboardx_widget
  [6.] iphone/framework
  [7.] iphone/library
  [8.] iphone/notification_center_widget
  [9.] iphone/preference_bundle
  [10.] iphone/sbsettingstoggle
  [11.] iphone/tool
  [12.] iphone/tweak
Choose a Template (required): 2
Project Name (required): IGAUSHacker
Package Name [com.yourcompany.igaushacker]: 
Author/Maintainer Name [System Administrator]: Fred22
[iOSGods Patcher v1.2] MobileSubstrate Bundle filter [com.apple.springboard]:com.wb.Injustice.Brawler2013          
[iOSGods Patcher v1.2] List of applications to terminate upon installation (space-separated, '-' for none) [SpringBoard]: 
Instantiating iOSGods Patcher v1.2 in igaushacker/...
Done.
sh-3.2# cd /Users/fredericograciano/Desktop/igaushacker/
sh-3.2# make package
Making all for tweak IGAUSHacker...
 Preprocessing Tweak.xm...
 Compiling Tweak.xm...
Tweak.xm:3:34: error: extra tokens at end of #import directive [-Werror,-Wextra-tokens]
#import <Foundation/Foundation.h>#define PLIST_PATH @"/var/mobile/Library/Preferences/com.yourcompany.igaushac...
                                 ^
                                 //
Tweak.xm:6:53: error: use of undeclared identifier 'PLIST_PATH'
return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
                                                    ^
Tweak.xm:10:13: error: redefinition of 'GetPrefBool'
inline bool GetPrefBool(NSString *key) {
            ^
Tweak.xm:5:13: note: previous definition is here
inline bool GetPrefBool(NSString *key) {
            ^
Tweak.xm:11:54: error: use of undeclared identifier 'PLIST_PATH'
        return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
                                                            ^
Tweak.xm:53:402: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead
      [-Werror,-Wdeprecated-declarations]
  ..._logos_method$_ungrouped$UIApplicationDelegate$alertView$clickedButtonAtIndex$(UIApplicationDelegate*, SEL, UI...
                                                                                                                 ^
/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:53: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 *igcredits = [[UIAlertView alloc] initWithTitle:@"IGAUSHacker Cheats" 
^
/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:53:28: 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 *igcredits = [[UIAlertView alloc] initWithTitle:@"IGAUSHacker Cheats" 
                           ^
/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:64:131: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead
      [-Werror,-Wdeprecated-declarations]
  ...self, SEL _cmd, UIAlertView * alertView, NSInteger buttonIndex) {
                     ^
/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:75:585: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead
      [-Werror,-Wdeprecated-declarations]
  ...= '@'; i += 1; _typeEncoding[i] = ':'; i += 1; memcpy(_typeEncoding + i, @[member=encode](UIAlertView *), strlen(@encod...
                                                                                      ^
/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:75:616: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead
      [-Werror,-Wdeprecated-declarations]
  ..._typeEncoding[i] = ':'; i += 1; memcpy(_typeEncoding + i, @[member=encode](UIAlertView *), strlen(@[member=encode](UIAlertView *...
                                                                                                      ^
/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:75:654: error: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use
      UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead
      [-Werror,-Wdeprecated-declarations]
  ...+ i, @[member=encode](UIAlertView *), strlen(@[member=encode](UIAlertView *))); i += strlen(@[member=encode](UIAlertView *)); memcpy(_typ...
                                                                                       ^
/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
           ^
11 errors generated.
make[2]: *** [obj/Tweak.xm.94b95747.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [IGAUSHacker.all.tweak.variables] Error 2
sh-3.2# 

Posted

@@Fred22

 

You need to use iOS 8 SDK or remove the popup for now or use the new UIAlertController.

Posted

@@Fred22

 

You need to use iOS 8 SDK or remove the popup for now or use the new UIAlertController.

Aw I want the popup.

 

Where can I find the iOS 8 SDK?

 

It is hard to use the new UIAlertController?

 

Thank you. <3

Posted

Aw I want the popup.

 

Where can I find the iOS 8 SDK?

 

It is hard to use the new UIAlertController?

 

Thank you. <3

Here: http://iphone.howett.net/sdks/

 

Place it where your current iOS 9 sdk is. Rename the iOS 9 sdk so it will only use the iOS 8 one.

 

And no, not really. :p

Posted (edited)

Here: http://iphone.howett.net/sdks/

 

Place it where your current iOS 9 sdk is. Rename the iOS 9 sdk so it will only use the iOS 8 one.

 

And no, not really. :p

Ok, now I got this:

sh-3.2# make package
Making all for tweak IGAUSHacker...
 Preprocessing Tweak.xm...
 Compiling Tweak.xm...
Tweak.xm:3:34: error: extra tokens at end of #import directive [-Werror,-Wextra-tokens]
#import <Foundation/Foundation.h>#define PLIST_PATH @"/var/mobile/Library/Preferences/com.yourcompany.igaushacker.plist"
                                 ^
                                 //
Tweak.xm:6:53: error: use of undeclared identifier 'PLIST_PATH'
return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
                                                    ^
Tweak.xm:10:13: error: redefinition of 'GetPrefBool'
inline bool GetPrefBool(NSString *key) {
            ^
Tweak.xm:5:13: note: previous definition is here
inline bool GetPrefBool(NSString *key) {
            ^
Tweak.xm:11:54: error: use of undeclared identifier 'PLIST_PATH'
        return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
                                                            ^
4 errors generated.
make[2]: *** [obj/Tweak.xm.94b95747.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [IGAUSHacker.all.tweak.variables] Error 2
sh-3.2# 

:cry:  :cry:  Life is so HARD! :lol:

 

Wait fixed the first Error line, it had 2 # in the same line...

 

now I get this:

sh-3.2# make package
Making all for tweak IGAUSHacker...
 Preprocessing Tweak.xm...
 Compiling Tweak.xm...
Tweak.xm:11:13: error: redefinition of 'GetPrefBool'
inline bool GetPrefBool(NSString *key) {
            ^
Tweak.xm:6:13: note: previous definition is here
inline bool GetPrefBool(NSString *key) {
            ^
1 error generated.
make[2]: *** [obj/Tweak.xm.94b95747.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [IGAUSHacker.all.tweak.variables] Error 2
sh-3.2# 

Updated by Fred22

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