xcode4

xCode 4 hangs… what to do?

旧巷老猫 提交于 2020-01-12 13:10:33
问题 xCode 4 started to hang on any project under svn control. I use a remote repository which is accessible and works just fine from a command line. The only work around I was able to find is to kill local svn and checkout the whole project again. That seems to work for a bit but then the same problem shows up: xCode just hangs solid a few seconds after I start it. I would really appreciate any help to resolve this... Can't do anything :( Please and thanks. Log shows the following: 3/22/11 9:53

xCode 4 hangs… what to do?

本小妞迷上赌 提交于 2020-01-12 13:08:41
问题 xCode 4 started to hang on any project under svn control. I use a remote repository which is accessible and works just fine from a command line. The only work around I was able to find is to kill local svn and checkout the whole project again. That seems to work for a bit but then the same problem shows up: xCode just hangs solid a few seconds after I start it. I would really appreciate any help to resolve this... Can't do anything :( Please and thanks. Log shows the following: 3/22/11 9:53

why can't Xcode find this header file?

自闭症网瘾萝莉.ら 提交于 2020-01-12 07:49:04
问题 Hi I'm getting an xcode "no such file or directory" for: #import "Three20Core.h" I also note when I'm typing in the #import statement it recognises, and helps autocomplete, the "Three20Core.h" file, however when I compile I get the error? This is the main library file header for the Three20 library (from Facebook). So I've got the three20 directory at the same level as my app directory. In the Xcode application target build settings: Header Search Paths - "$(BUILT_PRODUCTS_DIR)/../../..

Build slow on XCode4 because of “check dependencies”

梦想与她 提交于 2020-01-12 03:27:13
问题 I have a fairly simple project with only two XIBs, 5 custom classes and 5 frameworks (CFNetwork, QuartzCore, UIKit, Foundation, CoreGraphics). I was using XCode 3.x before and recently updated to XCode 4. After I did, build times are sometimes up to a minute, typically about 30 seconds. I have an 2.4 GHz MBP with 4GB of memory. Looking at the build log in log navigator, I see "check dependencies..." come up for a long time, everything else happens nearly instantly. However clicking on this

How to use “Custom Objects” in IB in XCode 4

允我心安 提交于 2020-01-11 12:19:35
问题 This is in Xcode 4 and it leads me to believe that I can create, and reuse, custom objects. However, I can not find any method of doing so. How do you use this? Does anyone know? 回答1: Short answer: you currently can't use the Custom Objects section to create custom objects. The Custom Objects section contains third-party Interface Builder elements. Older versions of Xcode and Interface Builder supported the creation of custom user interface elements. BWToolkit contains examples of custom

How to use “Custom Objects” in IB in XCode 4

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-11 12:19:07
问题 This is in Xcode 4 and it leads me to believe that I can create, and reuse, custom objects. However, I can not find any method of doing so. How do you use this? Does anyone know? 回答1: Short answer: you currently can't use the Custom Objects section to create custom objects. The Custom Objects section contains third-party Interface Builder elements. Older versions of Xcode and Interface Builder supported the creation of custom user interface elements. BWToolkit contains examples of custom

Localisation strings not always work having ShareKit in a project

♀尐吖头ヾ 提交于 2020-01-11 11:32:46
问题 since I've removed some localisations from my app, I have this problem: the first time I load my app, I see the localised string of my key in a label. The second time I load the app, the xxxxxkey appears. The next time I load the app, everything is fine again (showing the localized string). How can this be? I would be glad, if anyone could point me in the right direction. I'm on Xcode 4.2. Thanks in advance! 回答1: I experienced this too after adding the ShareKit library to my project. As it

Localisation strings not always work having ShareKit in a project

删除回忆录丶 提交于 2020-01-11 11:32:22
问题 since I've removed some localisations from my app, I have this problem: the first time I load my app, I see the localised string of my key in a label. The second time I load the app, the xxxxxkey appears. The next time I load the app, everything is fine again (showing the localized string). How can this be? I would be glad, if anyone could point me in the right direction. I'm on Xcode 4.2. Thanks in advance! 回答1: I experienced this too after adding the ShareKit library to my project. As it

Run C program in Xcode 4 using makefile

青春壹個敷衍的年華 提交于 2020-01-11 08:45:31
问题 I have created an 'External Build Project' in Xcode 4 using a makefile. The project builds perfectly, except the only way I know how to get it to run is in Terminal. Is there a way I can run the program in Xcode 4 or is Terminal it ? 回答1: Yes, you need to create a Custom Executable, so that Xcode knows where your built executable resides and how to run it. In Xcode 3 it's Project -> New Custom Executable... . This will allow you to to run your executable and even do source level debugging if

NSPredicateEditor in Xcode 4

被刻印的时光 ゝ 提交于 2020-01-11 05:17:10
问题 Bit of an issue with Xcode 4's predicate editor controls - I think I'm doing everything right, and it really seems like the IDE itself is busted. I'm having this issue in an app I'm writing, but to isolate it, I did the following: Create a new project with a window. In the XIB editor, add an NSPredicateEditor to it, and add one line. Leave it as key paths/strings and add two key paths - "title" and "writer". Make it case and diacritical insensitive. Create a subclass of NSWindowController and