xcode

Objective c doesnt like my unichars?

Xcode complaints about "multi-character character contant"'s when I try to do the following: static unichar accent characters[] = { 'ā', 'á', 'ă', 'à' }; How do you make an array of characters, when not all of them are ascii? The following works just fine static unichar accent[] = { 'a', 'b', 'c' }; Workaround The closest work ar...

Not Jailbroken - getting Provisioning is not applicable for product type 'Application' in SDK Device

Codesign warning: provisioning is not applicable for product type 'Application' in SDK Device - iPhone OS3.1'; ignoring.. Redownloaded my developer certificate, made a new provisioning profile, still getting this error. Searched the Xcode project and removed all lines referencing a Provisioning Profile, but that didn't seem to remove i...

Xcode Editor Messing Up

Hi Everyone, I'm having some trouble with Xcode. A lot of times I'll just be typing code in, and then something will suddenly happen that screws up how the text displays on the page. Sometimes it will cut off the first characters of some lines. Other times, especially when I'm typing near the bottom (I notice it occurs when it tries ...

Xcode Instruments: peak RAM of iPhone apps running in Simulator?

Is Activity Monitor (a.k.a. Memory Monitor) the only tool in Xcode Instruments that can measure the total app RAM usage of an iPhone app running in Simulator? Just that line showing momentary wired RAM? And how accurate is that versus iPhone hardware, especially given OSX paging i/o to VM? I'm seeing 7-8MB wired RAM figures for just th...

Instruments ObjectAlloc: Explanation of Live Bytes & Overall Bytes

Hello. I'm using Instument's ObjectAlloc tool in an attempt to understand what the memory my application (iPhone) us doing and when and where it is doing it. I would really like a basic explanation of these statistics: Live Bytes #Living #Transitory Overall Bytes When I am trying to work out how much memory my application is usin...

Editor doesn't open in xcode

Hi, i have a weird problem with xCode. Here's a screenshot: http://img683.imageshack.us/img683/9778/picture2rd.png when i usually clicked on the file in the left column it'd open in source code editor on the right. Now it doesn't happen. Does anyone know how to get it back the way it was before? it drives me crazy greetings peter ...

xcode crash when parsing xml?

Hello all, I am developing an application in which i am getting xml from web.But some xml files are very large so when i parse xml in simulator it crashes the xcode also? do someone knows how to resolve this issue? BTW i know how to use NSXML parser only.So if this isn't work for me then please tell a step by step guide to any other appr...

iPhone Simulator chrashes in NSKeyedUnarchiver after setting base SDK

Hi! I started a project in xcode (3.2 on snow leopard) with base sdk 3.1.2. Now I changed this setting to 3.0 and it compiles without a warning. There are no problems running the app on the device, but the simulator crashes on launch every time with the following exception: Terminating app due to uncaught exception 'NSInvalidArgument...

XCode's theme for TextMate

Hi! I'd like the default theme of XCode but for TextMate. Is there anyone who knows where I could find this? Thanks! ...

Xcode window organization tips?

I'm a fairly recent convert to Xcode and OS X. Even though I have two large monitors it feels likes I spend far to much time hunting for windows. I typically have at least the following windows open: The file I'm editing. A matching header file. Another source file. API Documentation. A browser window. It seems like whatever I want ...

Possible bug in Interface Builder?

Hi, I've a window with a horizontal split view. On the bottom pane of the split view, I have a nssegmentedcontrol, aligned to the center. On the bottom of the nssegmentedcontrol I have 5 tabs that are controlled by the segmented control - click in one of the cells and the corresponding tab opens. My problem is, if I completely minimize...

Receive message "A signed resource has been added, modified, or deleted" when trying to debug an App on iPhone.

While attempting to debug a build created using the 3.2 SDK on an iPhone device I receive the message "A signed resource has been added, modified, or deleted.". I can clean, rebuild, then install with no error, but if I try to install without cleaning the error shows. Anyone have an idea as to what might be causing this? ...

How can I display documentation in Xcode via CodeSense?

I am Java developer and would like to know how I can get the equivalent of a JavaDoc in Xcode when CodeSense is doing its auto-complete? If I hit the ESC button I can get a list of methods etc. but it does not show me the descriptions of what the methods do. ...

C++ compilation for iPhone (STL issue?)

Hello, I am trying to compile some C++ code as a static library to use on the iPhone. If I compile things for the simulator (i386 architecture), everything compiles just peachy, but when I switch the architecture to arm, I get all these include errors, seemingly within the iPhone SDK STL headers. Any idea what's going on? First of the e...

[iPhone] Problem when deploy to real device: The identity used to sign the executable is no longer valid.

How to solve this problem, please help: More detail, please view this image: detail image ...

Xcode hides warnings after recompile

Take this scenario: after a compile from scratch of a Cocoa Touch project, Xcode may report several compiler warnings in different files. If I fix the warnings in only one of the files and hit Build to see if it works, Xcode will no longer report any warnings in the other files (it will continue showing those in the currently open file ...

How do you do TDD in Xcode?

Are there any good unit testing and acceptance testing frameworks that can be applied to XCode projects? I'm accustomed to doing TDD in Ruby and Python but am new to Objective-C and XCode. ...

How do create a one window app with cocoa and interface builder?

I'm just starting out with interface builder and I'd like to create a tabbed, single window app similar in design to Coda or Versions. However, i can't figure out what approach I should be taking. I think I'll probably need to create my own tab bar and some sort of controller to load/unload different 'views', but what should the individ...

How automate sqlite db creation in Xcode and put it in the app bundle

I have a sqlite DB that has a lot of test data inside. Currently, I load the data inside the app code, but take several minutes inside the iPod I use for testing. I wonder if is possible to make in Xcode a pre-build tests that inits the db, then adds it to the app bundle, so I can extract it from the iPod. I'm stuck in how create & pre...

How do I create an xcode project with multiple targets for different platforms (iPhone & Mac OS X)?

I have written a couple Core Data iPhone apps and I've run into a consistent problem that I would expect to be a common pattern for iPhone development. Namely, I have one or more command line data loaders to create the Core Data database and then I have my iPhone app. Since the model files are shared and the loaders are a integral part...