Hello all ,
i am getting this error when i try to compile an iPhone app.
error: Could not compile reconstructed dtrace script:
provider CorePlot {
probe layer_position_change(char *,int,int,int,int);
};
#pragma D attributes PRIVATE/PRIVATE/UNKNOWN provider CorePlot provider
#pragma D attributes PRIVATE/PRIVATE/UNKNOWN provi...
I am compiling from the command line with
gcc -o output-file $(mysql_config --cflags) main.c $(mysql_config --libs)
How can I add the extra params to xcode compiling options?
gcc -o output-file $(mysql_config --cflags) main.c $(mysql_config --libs)
...
I am trying to get the following loop working to fill an array of arrays:
while (condition) {
[itemsArray fillFromDB];
if (! [checkArray containsObject:checkFlag]) {
// Add existing itemsArray to myArray
if (itemsArray.count) {
// add the itemsArray to myArray and create a new instance of itemsArray
[myArray addObject:items...
So I can add new templates for single files, but I want Xcode to uses these files when setting up the new project (most noticeably the Controller and Delegate .h and .m files). How do I do that?
...
How can I define a preprocessor macro when using xcodebuild?
I need to build my app using a bunch of different configurations, and I would like to do this using a shell script which runs xcodebuild a number of times with different preprocessor macros.
...
Hi everyone,
I would like to build and install my app on my jailbroken device without paying the $99 required for the iPhone Developer Program. I have Rock and Cydia... what is the easiest way to do it (if it's possible)?
Thanks.
...
I try to access some values in a NSMutableArray I created, but I only get some numbers (address?) if I try to access them.
I was able to initialize an array and can add and change objects with
[myNSMutableArray addObject:[NSNumber numberWithInt:10]]
and
[myNSMutableArray replaceObjectAtIndex:0 withObject:[NSNumber numberWithInt:47]
...
I am learning Objective-C using Stephen Kochan's excellent book "Programming in Objective-C 2.0". I am new also to Xcode. So far all my exercises have worked fine, but when I run program 7.6 FractionTest on page 153 I get the console message "Program received signal: "EXC_ARITHMETIC". The status shows that the program succeeded, but I do...
Hi,
I'm trying to upload an iPhone app binary to iTunesConnect and keep getting the following error message "The binary you upload was invalid. the file was not a valid zip file". I had an app upload ok recently but this app is having problems. So after a while I carefully went through the following steps trying to make sure everything w...
I have an iPad app. In the Root View I have a UITableView with two levels. I need to display different webpages in the UIWebView in Detail View based on the selected UITableView row. How can I do it?
...
I am new to iPhone and objective c. I have spent hours and hours and hours reading documents and trying to understand how things work. I have RTFM or at least am in the process.
My main problem is that I want to understand how to specify where an event gets passed to and the only way I have been able to do it is by specifying delegates ...
Hi everyone,
i try to upgrade my old existing app to make it a universal application for iphone and ipad.
i clicked on my target and tryed to select "upgrade current target for ipad", but i cannot click it, because its not clickable.
my project settings are:
The Base SDK is set to iPhone Device 3.2
The iPhone OS Deployment Target ...
Hello everyone!
I'm always really picky about memory leaks and I cannot understand why my garbage collected application leaks. My code is entirely memory-managed and it runs great without garbage collection, not a single leak. However, as soon as I turn on garbage collection it leaks!
Just to prove a point, why does this leak in a garb...
I have a framework of code I maintain. It's got mac and iphone objective-c code. And some of it is shared. I'm not having any problems with code. It's a problem with Xcode.
Let's just call my framework "AwesomeKit" for this problem.
The first thing I did was create an xcode Framework project called "AwesomeKit". Add source files to it,...
Hello Everybody,
i'm using the UIAddressBook interface to create a new Contact in my App. The problem is, that if the iPhone / Touch / Simulator is in German the UI is Englisch,
has someone an idea?
Greetings Fil
...
How can I programatically change the backgroundColor of an UITextField that sits in a UITableViewCell?
Setting the UITextField.backgroundColor doesn't seem to work.
...
I'm using the JSON framework hosting on Google. What and it's a news app that loads JSON feeds, when app goes off to load the feed I want to display the UIActivityIndicatorView but I've found my JSON Access code is not being called asynchronous which is locking the user interface. I have highlighted the function in the code and can't fig...
I have a controller with textfield and its set to first responder when it display. What i know that the keyboard is the subview of uiwindow. when i pop the controller how the keyboard animating? Is keyboard animate to right with controller? or is that different animation? My problem is that keyboard is not animating with controller. Both...
Shark told me this:
This instruction is the start of a
loop that is not aligned to a 16-byte
address boundary. For optimal
performance, you should align the
start of a hot loop using a compiler
directive. With gcc 3.3 or later, use
the -falign-loops=16 compiler flag.
for (int i=0; i < 4; i++) { // line with the info
...
Hello
I have a function
-(id) func: params1, ... NS_REQUIRES_NIL_TERMINATION and2: params2, ... NS_REQUIRES_NIL_TERMINATION;
Compiler says: error: expected `;' before 'and2'
Is there any way to make function with 2 argument lists?
...