I recently updated to xcode 3.2.2 yet now when I click my .xib files, I can't see the view window where I can drag/drop stuff, I only see the inspector panes and can't get the design view to show
Is it possible to set a symbol for conditional compilation by setting up properties in an Xcode project?
My aim is to to create a symbol that is available to all files, without having to use import/include, so that a set of common classes can have a special behavior in some projects. Like the following, but with my own symbols.
#if TARGET_IPHONE_SIMULATOR
...
#endif
I am writing a number of static libraries for the iPhone and wish also to have suites of unit tests. XCode 3 provides templates for both static libraries and unit tests but I am wondering how they should fit together in a static library project?
In my static library project I have created a target for unit testing but expect to also create an executable to kick off the unit tests than run against the classes in the static library.
What is the procedure for doing this?
Hi!
This is simple:
Does anybody knows how to collapse all methods in a class in XCode?
Collapsing one by one is not an option anymore =D
Thanks and have a nice day!
I go to xcodepreferencesfile_types, change association for file type "xyz", click apply+ok, reopen xcodepreferencesfile_types, check association for file type "xyz", its set as I just edited it.
Not I quit xcode, start it again, xcodepreferencesfile_types, check association for file type "xyz", and its getting reset to its old value just like i never edited it.
This is so lame, kindly suggest something :(
In xcode, while compiling apps with gcc, I want to throw compilation time errors if things like NSZombieEnabled is on for a distribution release, thus ensuring that compilation will fail and I won't accidentally do something stupid.
I did some googling, but could not figure out how to cause the compiler to bail if a certain condition is met. Surely it must be easy, am I just not finding it?
Hi,
I am new to Xcode and would like to make a simple plug-in so that the plug-in can set the value to safari text box and get the id of the text box. Could someone please point me to the right direction? Thanks in advance.
This question has been asked before, but that was back when there wasn't an NDK for Android.. So, I'll ask again. Has anyone setup the Android NDK & SDK to work with Xcode?
I am just putting the finishing touches to an iPhone app that I have written, signed up to the developer program and installed Xcode 3.2.2 (1650) My question is which version of the SDK should I be using to build my application? I was thinking I should be using the latest 3.2 but when I select that I can only access the iPad simulator ...
Should I be using 3.1.3 which runs the iPhone simulator. (NB: I originally developed the app in 3.1.2
cheers gary
Hi all,
I wonder if the built in Analyzer in Xcode 3.1.4 makes it redundant to use LLVM/Clang Static Analyzer separately?
Please refer to the original article here: Finding memory leaks with the LLVM/Clang Static Analyzer
Thanks.
Hi , when i want compile my app with the Distribution or Release method i get 140 ERRORS, i am using facebook connect on my app , and the path is right [my errors refer to fbconnect] , xcode runs my app fine on the debug !!!!!!! what's the problem ?
Is there a way to create custom collapsable code regions in Xcode similar to how Visual Studio can fold around #region/#endregion blocks?
It would be nice to throw all autogenerated content into a region that I can fold away until I need to look at it. #pragma mark doesn't seem to do the trick.
Hello, I'm making an application, in which I need to run a code that will tell system events to keystroke a certain phrase. Like in an AppleScript, I would do:
Tell Application "System Events" to keystroke "This is a test"
I don't know how to do this from Xcode, and I would really appreciate any help. Thank you!
Hello,
after having installed XCode 3.2.3 with iPhone SDK 4 (Seed) on OSX 10.6 there is no SDK 3.1.3 more available. Is there any possibility to reactivate it?
BR
Sven
Is possible to format/color the output in the Xcode console? I know that you can do that while debugging CoreData on Mac by setting:
com.apple.CoreData.SQLDebug 3 and
com.apple.CoreData.SyntaxColoredLogging YES
What with our own logs, can we color/format them too somehow?
Hi , when i want compile my app with the Distribution or Release method i get 140 ERRORS, i am using facebook connect on my app , and the path is right [my errors refer to fbconnect] , xcode runs my app fine on the debug !!!!!!! what's the problem ?
I have an Xcode project that contains many sub-projects. The main project file and all sub-projects have the same xcconfig file. Some of the sub-projects currently have a build rule set on them to use the Intel compiler for C++ files. I'm wondering if there is a way to move this build rule into the xcconfig file so that I can easily turn on or off the Intel compiler for C++ files by changing just the one xcconfig file instead of having to modify the build rule for each sub-project
I run Xcode on both my laptop and desktop. I'm constantly tweaking my setup with regards to key bindings.
Rather than try to get both configurations identical by hand, is there any way to create the configuration on one computer and then share it via dropbox (for example) for the other to use? Perhaps by symlinking the laptop's configuration file to one stored on dropbox?
Very curious how others handle this situation.
For one of my applications in xcode, I have the option to build for many different versions ranging from 3.0 to 3.1.3.
Now when I make a new application, I only have the option to build this new application for 3.1.3. I can't seem to find where this project setting is.
How can I build my application for 3.0?
Thanks.
In XCode - Is there a way of running just one test(one test case or preferably one test method). What I do today is to run the 'Test' task which runs all tests and takes up a lot of time.
Thanks
I was wondering if there is an Xcode or GCC preprocessor symbol for the target name of the application.
For example if I'm building an application called "MonkeyChicken", is there a preprocessor symbol such that
printf( __TARGET_NAME__ )
outputs:
MonkeyChicken
Is there any way to write to the XCode build transcript? What i want to do, is throw a warning if a device is not attached to the computer instead of an assertion failure in my unit test cases (some cases rely on an attached ipod).
I thought of something like the standard compiler warnings (only with custom message).
Thanks.
I installed Xcode a long time ago.
Apparently I didn't check back then the "UNIX Developemtn Support" checkbox.
Now I want to have them bu when I click on the installation this is what appears:
The UNIX Development Support check box is disabled
Q. ¿How can I install the UNIX Development Support? Is there a way to run some script that creates all the needed links from /Developer/ to /usr/bin ?
Thanks in advance.
I code in 2 differents computers with diferent username. XCode make a pbxuser file for each one, making necesary replicate the config from each one.
This is error prone, and the files are not diff-friendly so everything must be carefully checked. Any way to avoid this?