xcode4.4

How to make Xcode 4.4 debug console use a popup for autocomplete?

♀尐吖头ヾ 提交于 2019-12-01 18:51:48
I am using Xcode Version 4.4.1 (4F1003) on OSX Mountain Lion 10.8.1 Say you are debugging in Xcode, and you stop at a breakpoint. Then you go to the debug console prompt and start typing po loc ... For me, one of two things will happen: 1.) The console will display a popup with options (the same way autocomplete works in the main text editing window) or 2.) The console will simply automatically autocomplete to the first thing it finds. For example po localeconv() . Even though I was going to type po locationForAPI . As far as I can tell, it is random as to when Xcode will behave as 1 and when

Does Xcode 4.4 come with subversion?

落花浮王杯 提交于 2019-12-01 09:34:01
问题 I've just downloaded Xcode 4.4, and unlike its predecessors, there's no installer, just a .app . Is subversion lurking in there somewhere? Is there a directory inside the .app that I can add to PATH to get all my command line tools back? 回答1: Install the Command Line tools from XCode preferences and it all works again. 回答2: Ok I've found it, you need to add the following to your PATH (assuming Xcode is installed in your Applications folder): /Applications/Xcode.app/Contents/Developer/usr/bin

Code Coverage on Xcode 4.4.1

…衆ロ難τιáo~ 提交于 2019-12-01 08:54:52
I've been trying code coverage testing for Mac application on Xcode4.4.1, and the app is an 10.8 app so the app builds and runs only via Xcode4.4.1. But the /Developer/usr/lib/libprofile_rt.dylib library is not found while using Xcode4.4.1. Is there anyway or better tool to run Code coverage on Xcode4.4.1 ? Looking for some code coverage tool to work for both mac and iOS app on Xcode4.4.1 You don't need to include *libprofile_rt.dylib* and use *-profile_rt* flag when running project in xCode 4.4.1 (works with iOS Simulator like a charm) Just set these flags: Generate Test Coverage Files: YES

Code Coverage on Xcode 4.4.1

吃可爱长大的小学妹 提交于 2019-12-01 06:09:34
问题 I've been trying code coverage testing for Mac application on Xcode4.4.1, and the app is an 10.8 app so the app builds and runs only via Xcode4.4.1. But the /Developer/usr/lib/libprofile_rt.dylib library is not found while using Xcode4.4.1. Is there anyway or better tool to run Code coverage on Xcode4.4.1 ? Looking for some code coverage tool to work for both mac and iOS app on Xcode4.4.1 回答1: You don't need to include *libprofile_rt.dylib* and use *-profile_rt* flag when running project in

How to uninstall Xcode 4.4 command line tools (Mac OS X 10.8 Mountain Lion)?

浪尽此生 提交于 2019-11-30 11:51:00
This SO post explains very well how to install command line tools for Xcode 4.4. But how to uninstall them? There's a script listed on this page to do just that on Mountain Lion: http://www.cocoanetics.com/2012/07/you-dont-need-the-xcode-command-line-tools/ Copy the script into a text file. Save it as remove_CLI_tools.sh Open terminal and navigate to the folder where you saved the script. Type: sh remove_CLI_tools.sh I installed just the isolated command line tools (stand alone installer) without installing the Xcode application. So I ended up running the script twice, changing the variables

Some of my unit tests tests are not finishing in XCode 4.4

时间秒杀一切 提交于 2019-11-30 07:58:57
I have seen people posting about this here and elsewhere, but I haven't found any solution that works. I am using XCode 4.4 and have a bunch of unit tests set up. I have ran them all before on this project, so I know that they do pass/fail when they are supposed to if they are actually ran. I have about 15 test suites, and each one contains 1-7 tests. On most attempts, all of the test suites finished (and passed) except for 1 (FooTests). It gives the warning: FooTests did not finish testFoo did not finish XCode will report that testing was successful, regardless of what happens in unfinished

Lost completion in #import “myFile.h”

 ̄綄美尐妖づ 提交于 2019-11-30 04:45:02
Since I had Xcode 4.4, I have lost the completion when I want to import file on my classes. I have to write the file entirely (The problem appears only in the import scope, it works elsewhere) Has anyone the same problem and know how to figure out ? Go to your project --> build settings --> User Header Search Paths and add $(SRCROOT) That works for me. Edit (another solution) : Sometimes I lost autocompletion randomly in my import scope. I fix it by typing the double quotes #import "" before typing my class between with the autocompletion. Apparently this is related to having your files inside

How to uninstall Xcode 4.4 command line tools (Mac OS X 10.8 Mountain Lion)?

给你一囗甜甜゛ 提交于 2019-11-29 17:26:46
问题 This SO post explains very well how to install command line tools for Xcode 4.4. But how to uninstall them? 回答1: There's a script listed on this page to do just that on Mountain Lion: http://www.cocoanetics.com/2012/07/you-dont-need-the-xcode-command-line-tools/ Copy the script into a text file. Save it as remove_CLI_tools.sh Open terminal and navigate to the folder where you saved the script. Type: sh remove_CLI_tools.sh I installed just the isolated command line tools (stand alone installer

Lost completion in #import “myFile.h”

瘦欲@ 提交于 2019-11-29 02:38:52
问题 Since I had Xcode 4.4, I have lost the completion when I want to import file on my classes. I have to write the file entirely (The problem appears only in the import scope, it works elsewhere) Has anyone the same problem and know how to figure out ? 回答1: Go to your project --> build settings --> User Header Search Paths and add $(SRCROOT) That works for me. Edit (another solution) : Sometimes I lost autocompletion randomly in my import scope. I fix it by typing the double quotes #import ""

Xcode 4.4 removed Icon Composer in Developer Tools

China☆狼群 提交于 2019-11-28 14:57:39
问题 So I just upgraded to the latest and greatest Xcode 4.4 but can't find Icon Composer. It was in the Open Developer Tool menu item in Xcode 4.3 but now I can't find it anywhere. Did Apple forget to include it? How do I create icons without it? I also tried using iconutil in Terminal but I'm getting an error that 1024x1024 is not supported. I am running OSX 10.7.4. 回答1: My guess is that Apple doesn't want you using it anymore. EDIT: The better way to do it is to add the .iconset folder to the