Hi,
I create a simple test.cpp file in my Xcode project.
#include "MyTest.h"
#include <stdio.h>
int main(int argc, char** argv) {
printf ("Calling MyTest Main\n");
}
It compiles. I think I need to create a Target and Executables before I can launch in XCode.
But I need some help with these questions:
1. What kind of Target i...
Hi,
Xcode 3.2 kind of broke the build process of my iPhone app. I need to add a new framework to my project (MediaPlayer.framework).
So I go into my Target settings and try to add it to the "Linked Libraris" by hitting the [+] button. In the list the MediaPlayer.framework is missing, as well as other frameworks, such as UIKit, CoreGraph...
Scenario:
1. Show navigation controller based view
2. User select option
3. Show modal view A
4. User select another option in modal view A
5. Hide modal view A
6. Show modal view B
// This function must show modal view A
This scenario implemented like this:
- (IBAction)showModalViewA:(id)sender {
ModalViewA *viewA = [[ModalVi...
I have a Custom view. This custom view has two UIImageViews - imageview1 and imageview2.
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:2.00];
[UIView setAnimationDelegate:self];
[UIView setAnimationDidStopSelector:@selector(transitionDidStop:finished:context:)];
[UIView setAnimationTransition:UIV...
I am debugging an Iphone program with the simulator in xCode and I have one last issue to resolve but I need help resolving it for the following reason: when it happens the program goes into debugging mode but no errors appear (no BAD ACCESS appears) and it does not show where the code fails. Putting some variables as global helps me to...
I have a spreadsheet, the contents of which I would like to include as an xml plist in my Xcode project. However, I can't figure out how to actually perform the export from Excel and the import into Xcode.
Any help would be greatly appreciated please.
...
I've been pretty good at fixing my Xcode Obj-C errors, but this one has me stumped:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
if ([[tableList objectAtIndex:indexPath.row] isEqual:@"Standard"]) {
[StandardSetupViewController *standard = [[StandardSetupViewController alloc] initWithN...
I'm using - (void)applicationWillTerminate:(NSNotification *)notification to save data when my game exits, then loading it if the user presses the load button next time around. The saving and loading work fine, but I've noticed there is some lag between when I press the home button and when the data gets saved. Whenever I exit, relaunch ...
When I switch the Compiler Version to Clang llvm 1.0 in existing projects I get the following build error when Precompiling the *.pch file:
error: can't exec '/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2' (No such file or directory)
Is there another setting I need to change to get my project to work with the n...
I have an NSSlider (slider) and an NSLabel (label) on a window. I also have a class "Controller" that updates the label whenever the slider's value is changed.
The default position of the slider is 0.5, I'm trying to get is where Controller's constructor updates the label upon program launch.
The following is the implementation file fo...
Xcode 3.2 has removed the default templates for the scripting languages (Ruby, Python etc). How do I find these templates to use in Xcode 3.2? Would I need to add anything else to Xcode to support working with and 'building' PyObjC programs?
Additionally, is there any documentation and/or resources that would help me get into PyObjC (an...
Is there a way to cycle through open windows. I quite often use this when I want to reference something in another file. On windows this would typically be CTRL-Tab, but I can't find a way to do this in XCode on a Mac
...
When customizing the XCode toolbar, am I pretty much limited by the buttons they give me in the Customize dialog?
I'd like to add actions like Step Over, Continue, Toggle Breakpoint, etc... but can't find a way to do so. I tried dragging menu items to the toolbar a la Visual Studio, but to no avail.
Am I missing something simple?
...
Let me explain the application.
Before starting my question, I would like to say the following. (for specification of my question)
For example
in Mac os
User Starts iTunes
User Clicks on iTunes Store
User can see the different applications, videos etc.
After he will select specific application/video to purchase it.
ID - Password is req...
After upgrading to XCode 3.2 and Snow Leopard, my debug builds are broken and fail at runtime. Stringstreams do not seem to work. They work in Release mode.
I've narrowed it down to a combination of GCC 4.2, OSX SDK 10.6 and the _GLIBCXX_DEBUG pre-processor symbol. These are the defaults for new XCode projects' Debug configurations.
...
From My Previous question
http://stackoverflow.com/questions/1415914/sending-request-to-apple-from-iphone-custom-application/1415927#1415927
Here, I have added more specified my question.
Suppose my application has implemented followings.
Lets take an simple example
I have developed an application, for mobile dealer.
User can see t...
I'm building this iPhone app that has a set of resources that I, during development, update a lot. These resources are later used by my app.
The thing is, whenever I make a change in these resources and do a regular build, the resources aren't actually updated within my iphone application. In fact, they are never updated until I clean ...
I'm running XCode 3.2 on Snow Leopard and I'm trying to run the Zombies instrument against my app but the selection is grayed out and I don't know why. I know about the NSZombieEnabled environment variable. I have that set to YES on my application. I'm not sure if this matters, but, the app is an app that I started developing on Leopard ...
After updating to Snow Leopard I get an error when trying to install the Xcode.mpkg. The error gives no detailed message to what caused the failure. When trying to compile previous projects that worked fine in Leopard I now get an error message of "error: There is no SDK with the name or path 'iphoneos2.1'".
Does anyone have any ideas ...