Jump to content

Theos - Error - Make Package


Go to solution Solved by KingRalph,

10 posts in this topic

Recommended Posts

Posted (edited)

What are you using in your Tweak.xm?

Its a app, also , thank you for telling me about buildbox, its awesome! Updated by Guest
Posted

Its a app, also , thank you for telling me about buildbox, its awesome!

The UIAlertView popup is causing these errors. :)

Posted

The UIAlertView popup is causing these errors. :)

Whats wrong?=_=

Here is the file:

 

#import "RootViewController.h"

 

@implementation RootViewController

- (void)loadView {

self.view = [[[uIView alloc] initWithFrame:[[uIScreen mainScreen] applicationFrame]] autorelease

self.view.backgroundColor = [uIColor yellowColor];

 

UIAlertView *alert = [[uIAlertView alloc]

initWithTitle:@"Alert"

message:@"Hello this is an alert message"

delegate:self

cancleButtonTitle:@"I Know"

otherButtonTitles:nil];

 

[alert show];

 

 

}

@end

 

 

Posted

Whats wrong?=_=

Here is the file:

 

#import "RootViewController.h"

@implementation RootViewController

- (void)loadView {

self.view = [[[uIView alloc] initWithFrame:[[uIScreen mainScreen] applicationFrame]] autorelease

self.view.backgroundColor = [uIColor yellowColor];

UIAlertView *alert = [[uIAlertView alloc]

initWithTitle:@"Alert"

message:@"Hello this is an alert message"

delegate:self

cancleButtonTitle:@"I Know"

otherButtonTitles:nil];

[alert show];

}

@end

 

 

Your syntax is messed up. xD

 

 

 

#import "RootViewController.h"

 

@implementation RootViewController

- (void)loadView {

self.view = [[[uIView alloc] initWithFrame:[[uIScreen mainScreen] applicationFrame]] autorelease];

self.view.backgroundColor = [uIColor yellowColor];

 

UIAlertView *alert = [[uIAlertView alloc]initWithTitle:@"Alert"

message:@"Hello this is an alert message"

delegate:self

cancleButtonTitle:@"I Know"

otherButtonTitles:nil];

 

[alert show];

 

 

}

@end

Posted

Your syntax is messed up. xD

#import "RootViewController.h"

@implementation RootViewController

- (void)loadView {

self.view = [[[uIView alloc] initWithFrame:[[uIScreen mainScreen] applicationFrame]] autorelease];

self.view.backgroundColor = [uIColor yellowColor];

UIAlertView *alert = [[uIAlertView alloc]initWithTitle:@"Alert"

message:@"Hello this is an alert message"

delegate:self

cancleButtonTitle:@"I Know"

otherButtonTitles:nil];

[alert show];

}

@end

Thank you <3

 

Now I got this ^_^

 

 

t0yjLy8.jpg

 

  • Solution
Posted

You spelled the init method wrong, :)

 

 

#import "RootViewController.h"

@implementation RootViewController

- (void)loadView {

 

self.view = [[[uIView alloc] initWithFrame:[[uIScreen mainScreen] applicationFrame]] autorelease];

self.view.backgroundColor = [uIColor yellowColor];

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"Alert" message:@"Hello this is an alert message" delegate:self cancelButtonTitle:@"I Know"

otherButtonTitles:nil];

[alert show];

 

}

 

@end

One more thing. Add this code to the top of your makefile.

 

 

ARCHS = armv7 arm64

TARGET = iphone:clang:8.1

 

 

If you're on the ios 7.1 SDK, replace

TARGET = iphone:clang:8.1

With

TARGET = iphone:clang:7.1

Posted

You spelled the init method wrong, :)

#import "RootViewController.h"

@implementation RootViewController

- (void)loadView {

self.view = [[[uIView alloc] initWithFrame:[[uIScreen mainScreen] applicationFrame]] autorelease];

self.view.backgroundColor = [uIColor yellowColor];

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"Alert" message:@"Hello this is an alert message" delegate:self cancelButtonTitle:@"I Know"

otherButtonTitles:nil];

[alert show];

}

@endOne more thing. Add this code to the top of your makefile.

ARCHS = armv7 arm64

TARGET = iphone:clang:8.1

If you're on the ios 7.1 SDK, replace

TARGET = iphone:clang:8.1

With

TARGET = iphone:clang:7.1

Thank you! It works now, thanks man, I really appreaciate it!

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