I'm working on an iPhone app that will ship with a "Lite" and "Pro" version. To accomplish this I'm using two targets with the same project and codebase. I would like to use a different "loading" Default.png image for the two versions of the app, but I'm not sure how to do this short of manually overwriting the file before building eac...
I want to run some code coverage analysis (using CoverStory) on our iPhone app's unit tests in XCode automatically when the tests run. the problem is that we're using the Google Toolbox for Mac, and the way that the tests seem to run doesn't actually generate code coverage reports from gcov, so the analysis i get is out of date unless i...
#pragma mark Internal API
I've seen this in a book called xcode_quick_tour_iphoneOS.
Does someone know about it?
...
Back in the day of C/C++, the part of the language that really hung me up was pointers. I understand them now, of course.
Now, Interface Builder Proxy Objects or more importantly, how to use Interface Builder and what to put in the .XIB window (window that contains the File's Owner, First Responder, etc...) for a given XIB.
I've gone t...
In my app, I have a simple ASCII file which stores some config info and other small info which it uses and changes. I want to copy that file to the iPhone with the app.
1) Please tell me where I should put this file (config.txt) in xcode. Should I put it under Resources ?
2) How will I access it in the iPhone ? Can I just use
str =...
Hi
I have written a function nabs in assembly file math.nasm
as follows
%ifdef USE_x86_ASM
SECTION .text
cglobal nABS
;*------------------------*
;* int nABS(int a) *
;* return value in eax *
;*------------------------*
ALIGN 16
nABS:
push ebx
......
......
pop ebx
...
For some reason when I add an image to xcode, the preview that xcode shows is smaller than the original image. The image also shows up smaller (about half size) in Interface Builder, but when I run the application everything is fine.
Is there a way to prevent xcode and Interface Builder from resizing image previews?
...
When I started working on my first app, i assumed dragging files into xcode put them in my project's actual directory. Not so. Apparently, xcode references them all on the desktop.
Is there an easy way to copy all referenced files into the project directory? My desktop is a mess.
...
In know the question isn't exactly programming related but I think this forum is the best place to ask. So, with risk of the question being pulled, here goes...
What other languages/IDEs are setup as well as the iPhone with Xcode and Interface Builder? Apple uses one design pattern and uses it extremely well - MVC. IB doesn't have any...
I'm a little confused how this works - this is my understanding:
A target's provisioning profile is linked to a specific app ID
The bundle identifier for a target is found under Target info\Properies\Identifier
But... bundle ID is also located in Info.plist. It seems that if you change the bundle ID in Info.plist, Xcode changes it au...
I am new in iPhone application development and currently working on .net (C#).
Please suggest the development platform to create iPhone application so I can adopt very soon.
Which is best among these:
Xcode
Unity using script language c#
tersus
Or any other tool that is not on the list.
Is it possible to develop iPhone applicatio...
I'm trying to use CMake to generate an Xcode configuration for the iPhone by manually setting certain attributes. (Is this even the right way to go about this?) My CMake file looks like:
project(MYLIB)
set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)
set(CMAKE_CONFIGURATION_TYPES Debug Release Debug-iPhone)
set(FILES list of my files....
If I lost/have no access to the private key associated with a distribution certificate:
Can I just create a new one?
If I do, will it produce any problems during the submission process?
Will apps signed with the old certificate stop working?
Will I be able to update apps signed with the old certificate?
...
I've been a Java developer for 10+ years now, and have come to love the power that modern IDEs provide for things like refactoring, finding dead code, finding "usages of", etc. I'm starting to do some iPhone dev on the side, and am utterly frustrated by the lack of such features in XCode. There is no "find usages of this method/class" ...
I'm developing a Cocoa app, and every so often when running my app in Xcode I get the following sorts of messages in the debugging console:
<My app name>(952,0xb0103000) malloc: free_garbage: garbage ptr = 0x107b2f0, has non-zero refcount = 1
I turned on MallocStackLogging and NSZombieEnabled and did a malloc_history on a couple of...
Ok, I'm abit of a newbe...need some help...
I've got my apps running on my iphone, great..however, to list on the itunes store I need the "universal binary" thing... I've tried finding answers, but I can't seem to find a concise useable explanation to doing this in xcode...I alwase get errors when I try to build a binary...So PLEASE, ca...
I have a static library that includes some xibs. These will basically be the same across projects. I'd like to include the xibs as part of the library. I can include their veiwcontrollers, reference these controllers in the calling project but then there isn't a xib to load. When I right click the xib in the library project, it can't...
I'm getting an error when I run any project with the JSON-Framework installed:
Xcode could not locate source file: NSString+SBJSON.m (line: 50)
I assumed this means it can't find the sdk, the strange this is that the project builds and runs up until I make my first JSON call:
NSArray *data = [responseString JSONValue];
The JSON fold...
In reference to this related question on stackoverflow:
If you create a constants file, how do you "link" to it in your target, so you don't have to
#import "Constants.h"
in every file you use constants?
...
I use MacVim as my editor within Xcode. By default Command-B and :make are bound to call 'make' from the command line. As we're using Xcode for building and project configuration, I'd like to replace the :make/Command-B calls to make with an applescript command. Is this possible, and how would I go about doing it?
...