xcode

How to map groups in Xcode the same on the filesystem

I'm kind of at a loss of words for how to properly ask this. Basically instead of Xcode "smart groups", I want the groups to physically translate into directories on the filesystem. How is this done in Xcode 3.1.2? ...

Does the iPhone SDK include Xcode for Mac OS X development?

Does the iPhone SDK include Xcode for Mac OS X development? Or do I need to install Xcode for Mac separately? If the latter, does order of installation matter? ...

Xcode Error

i am getting this error "_CGRectZero", referenced from: _CGRectZero$non_lazy_ptr in RootViewController.o _CGRectZero$non_lazy_ptr in SecondViewController.o ld: symbol(s) not found collect2: ld returned 1 exit status Build failed (1 error) could someone tell me a solution to solve this? ...

main Differenece Between View-Based and Window-Based Application template?

What Is The Main Difference Between a View-Based Application Template And Window-Based Application Template In Iphone? ...

Disable NSToolbar customisation via window's toolbar button?

I am looking to disable the Command + Click combination on a toolbar button (located top-right) in a Cocoa window. I would still like to let the user show and hide the toolbar, but I do not want them to be able to select a different display mode (e.g. small icons, no icons, etc). Has anyone found a way to do this? Thanks in advance. ...

iPhone SDK 3.0 beta 4 broken, Internal Error

Final Edit: This problem is solved, after I downgraded to SDK for iPhone 2.2, then deleted all the files in the Crash Logs in the Organizer window (then upgrade back to 3.0 beta 4). Apparently there were too many of Crash Logs associated with my iPhone (like 300+). Thanks you guys for insights! Original problem: After I update my iPhone...

Isn't there a Go To Last Edit Location shortcut in XCode??

I'm rather new to XCode and I still miss so many shortcuts and features available in IntelliJ IDEA. Perhaps the biggest pain point for me is the lack of a keyboard shortcut (or even a menu action) that allows you to move through your most recent change points (points in which you modified files). In case you're familiar with IntelliJ,...

Xcode 'invalid conversion' when using objective-c++

So if I run my program with the implementation as .m it works fine. Just changing it to .mm causes this line… CGContextRef myContext = [[NSGraphicsContext currentContext] graphicsPort]; to throw this error… error: invalid conversion from 'void*' to 'CGContext*' Anyone have any ideas why just changing that would make it blow up, or ...

inline assembly error

I am using inline assembly for iphone, I working for device debug mode. The instruction is as follows: __asm__("smlatb %0, %1, %2 ,%3 \n\t": "=r"(Temp): "r"(treg5) : "r"(fac5) : "r"(Temp) ); And I am getting an errors: error : expected ')' before tokedn '(' error: unknown register name 'r' in 'asm' I am using X-code 3.0 and...

How to set up CMake to build an app for the iPhone

This is closely related to my previous question, which was about using CMake to build a static library on the iPhone. I got that to work setting the CMAKE_OSX_SYSROOT. However, this doesn't work to build an app. My CMakeLists.txt looks like: project(TEST) set(CMAKE_OSX_SYSROOT iphoneos2.2.1) set(CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDA...

Xcode error: Failed to launch simulated application

Problem statement: Unlike people have asked at here and here I got this error after a brand new installation of leopard(hackintosh), this problem really driving me crazy.... and nowhere else to find an clue, I googled and visited every article related with this, still cann't get it solved After the first time install iPhone SDK 2.2.1...

Compiling custom SQLite for an iPhone app

I'm trying to compile the SQLite amalgamation source into my iPhone app (to give me access to the full-text searching functionality that isn't available in the iPhone-compiled version of the binary. When I add sqlite3.c and sqlite3.h to a normal Carbon C app template, it compiles just fine (with a single warning about an unused variabl...

Iphone: How to combine many projects into one project

I want to take several iphone projects that I wrote and combine them into one project. What's the easiest way to do this? I would like it if I could access all these projects from one button on the iphone home screen. ...

How can I indent multiple lines in xcode?

When I select multiple lines of code and want to indent them as usual with TAB, it just deletes them all. I come from Eclipse where I always did it that way. How's that done in Xcode? I hope not line by line ;) ...

.xcodeproj does not get committed with XCode's SCM Tool

I am using the SCM Tools embedded in XCode to manage my app's versioning. I have created an iPhone app and I have added/committed it to the Subversion server but the .xcodeproj file won't upload (all the class files, resources etc are there)! I don't even get the option to "Add to Repository". Sometimes it gets an "A" (add) next to it u...

what does this error means in xcode?

Building target “testjson” of project “testjson” with configuration “Debug” — (2 errors) Checking Dependencies error: There is no SDK with specified name or path '/Users/xcdfs/Library/SDKs/JSON/iphonesimulator.sdk' error: There is no SDK with specified name or path '/Users/xcdfs/Library/SDKs/JSON/iphonesimulator.sdk' error: Ther...

Shark for profiling iphone app

Hi All I am using Shark to profile my application on iphone. As per instruction in Shark user guide from http://developer.apple.com/iphone/library/documentation/DeveloperTools/Conceptual/SharkUserGuide/SelectingExecutiontoSampleorTrace/SelectingExecutiontoSampleorTrace.html#//apple_ref/doc/uid/TP40005233-CH13-SW19 I am able to generate...

Why does Xcode sometimes make something purple, and sometimes black?

Example: scrollView.scrollEnabled = YES; //scrollEnabled appears black scrollView.pagingEnabled = NO; //pagingEnabled appears purple ...

What does the error message "No provisioned iPhone OS device is connected." mean?

Yesterday I testet a lot on my device. Suddenly I get this error message when I hit Build & Go in Xcode. First, it asks me if it's ok to sign with my key. I click yes, and then that error message appears. My iPod is connected as usual, iTunes starts automatically and I close that to prevent interruptions. I tried restarting Xcode. Doesn...

XCode 3.1.3 breaks console output

Hello, Today has been a headache - first my upgrade to xcode 3.1.3 trashed all my certs/provisions. After two attempts, I got them fixed. Now, I'm dealing with the issue in the subject, no console output. Absolutlely nothing is getting printed to the console - No startup info, not when I "print" a variable from xcode when stopped on a ...