I'm writing a plain C project. I'm using a Mac and I like working with Xcode and I want to use the Xcode project and build environment. I'd like to be able to build it on other platforms though. Not being overly familiar with Linux (yet) I assume this would involve a makefile. My project has no dependencies and it's about as vanilla as i...
I'm writing a build script to compile and package my app, and I'd like a nice way to get the full path name of the .app created. I can't find any command line tools other than xcodebuild, which doesn't appear to have much in the way of inspecting an Xcode project. My full compile command is
xcodebuild -sdk iphoneos2.2.1
so it'll build...
Is there an API or any other method to automate the submission process.
To elaborate: I have a number of apps which are similar in functionality and UI structure. I create the user interface by picking up variables from a plist. For instance I save the source of the API from where I pick up the data.
Creating a new app involves just c...
How do I add c library to Xcode Cocoa project?
Or what is the best option, I don't want to copy them into Cocoa project directory.
I have a C project called a which compiles into library a.dylib and header file a.h, the project is located in it's own directory.
I want to use this library from my objective-c application in Xcode.
How ...
Hi folks. Does anyone know how to obtain the path to the current directory when running xcodebuild (mainly, the project directory) and write files to it? I'm trying to save the results of some unit tests to disk from my obj-c code, but I'd rather not dump them deep in the app's document path if possible. I might be able to append '../../...
Hi
I upgraded an iPhone project from the 2.2.1 SDK to 3.0 SDK recently...
And when I build the project I am getting the following warning:
GCC 4.2 default deployment target 10.6.2 for architecture 'i386' and
variant 'normal' is greater than the maximum value 10.6 for the
Simulator - iPhone OS 3.1.2 SDK
I have the iPhone OS D...
Greetings everyone,
Couple of days ago, I upgraded my Mac to Snow Leopard. I notice that all my settings are preserved and very impressed with Snow Leopard performance. But today I noticed that I was unable to build my iPhone application for "Device -> Release" mode. Xcode complaints that a valid signature is not found.
I googled, but ...
Hello i have been trying unsuccesfully to compile on Xcode the latest version of openvrml + artoolkit, i get:
ld: library not found for -ljpeg
How can i fix this?
Thanks in advance.
...
Last version or XCode (3.2.1) is running very slow on OS X 10.6.
What kinds of tweaks can you do to your Mac in order to speedup Xcode build process.
I'm not looking for general hints like how to restructure your projects, just tweaks that are related to environment.
For example I remember that on Windows for Visual Studio two signi...
Running xcodebuild from the console will bring you very verbose output and I wasn't able to locate any options for limit its output in order to display only warnings and errors.
I'm looking for a way to capture the xcodebuild output and filter it. It would prefer a Python solution that will work with pipes but I'm open to other approach...
Hi,
I've got a problem that I couldn't solve with a deep search in different resources as most of the "similar" points out to be an error with Icon.png size, etc...
I've tried to upload my application after verifying that:
Correctly builds and run on my device
That my certificates are installed properly
That my certs / profiles are n...
Hi, how do I do an ad-hoc distribution profile?
Been reading many links but I think there is something that I'm still missing.
Just can't figure out what.
Here are the steps that I took
1. a team member sent me his UDID
2. I add his phone to "devices" under the dev portal
Then this is what I did to create the ad-hoc profie
1. go to ...
Assume I have an iPhone application whose Product Name is "My App" (with a space between words) in XCode build settings. In my info.plist, the Bundle identifier is specified as com.mycompany.${PRODUCT_NAME:rfc1034identifier}
In the resulting info.plist in the application bundle, the bundle identifier is shown as com.mycompany.My-App. I ...
Hi all.. I searched for a long time on stackoverflow using every keyword I could think of to solve this. I am programming for iphone and I have a lite and paid version of my app. I followed the instructions here Creating Lite Versions of iPhone Games / Apps for duplicating the target. This works and now I am working on slimming down t...
Hello all,
I want to invoke terminal.app from a php script is this possible if not then how do we invoke terminal using applescript/shell script. I want to use php because there is no other option for me. also after invoking terminal i want to navigate to a folder and run xcodebuild command from there. Does someone knows about it?
...
I'm new to this so please make allowances.
I'm trying to build Audioslicer which seems to need a framework called IntervalSlider. The IntervalSlider build fails with:
framework not found InterfaceBuilderKit.
However, the framework seems to be present under the Frameworks group with the necessary headers.
Can anyone suggest what I'...
I have a view controller class that has to implement several protocols. Too keep things neat I have a habit of putting each protocol's methods in a category on the view controller class.
This time I am getting warnings from the linker that the class does not implement one of the protocols. The methods do work at runtime, the linker jus...
I'm porting an existing game engine to the iPhone. As a result of a large and complicated build process that isn't really conducive to Xcode I'm developing my own build system that calls the same programs and does the same build steps as Xcode does.
This is generally working pretty well, referring heavily to xcodebuild's output for refe...
hey I am frequently uploading my XCode iPhone projects to an svn repository to be build on another machine.
My problem is that when I add resources to my project sometimes I forget to add the resource as relative to the project.
I know one answer is to be more careful (not easy when your tired!) but if there was a way to run a script t...
I am typing code from Head First iPhone Development (O'reilly) and Xcode will build and run fine once and then, without any modification to the code, the second build will fail. Why?(I'm using command+R)
EDIT:
the first error was something similar to "can not take an object as an argument."
...