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
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 :(
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?
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 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!
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!
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,
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.
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.
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?
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 , 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 ?
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
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!
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?
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.
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 just installed QT 4.6 on snow leopard 10.6.3. I wrote a really simple program. I can generate a xcode project using qmake, but I can't step into QT function. How can I set it up?
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 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?
Hi
I have been trying to set breakpoint in my unit test code using SenTestCase framework in xcode 3.2.2. I can see the build results properly but unable to set a breakpoint.
Anyone having an idea please help.
I have started using c++ extensively in school and now my programs are getting to the point where have more than 1 file (i.e. header, driver, implementation file). I don't know enough about software development to understand or get a grasp of how to setup the build process by looking at apple's guides. Could someone walk me through how to compile a simple c++ project with a header and two c++ files in xcode? Do I first need to make a makefile??
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.