xcode4.5

Xcode 4.5 Tabs Disappear When App is Running

牧云@^-^@ 提交于 2019-12-10 13:37:48
问题 Updated: It looks like whenever Xcode 4.5 is starting to run an app, the View -> Hide Tab Bar command will automatically get executed... It really looks like a bug. The word tabs in this question refers to the one we see at the top of the Xcode IDE . Not the tab bar class in Cocoa Touch. I'm running Mountain Lion 10.8.2 + Xcode 4.5(4G182). I found an annoying problem. In Xcode full screen mode, I like to open multiple tabs when I'm working on my iPhone project (1st screenshot) The tabs works

what does “exited abnormally with signal 9: Killed: 9” mean

徘徊边缘 提交于 2019-12-10 12:44:01
问题 How to read error codes which appear in the console? <Warning>: ....... -exited abnormally with signal 9: Killed: 9 <Warning>: ....... -1 err = Bad file descriptor (0x00000009) Here what does signal 9 mean, are there any more signals apart from it. Any documentation available for it. I get this kind of error, when a App. launched from Xcode is terminated by "Stop" button in Xcode toolbar. (Another way to get this error is , to press home button, then double tap home button and close the app.)

Adding Label on Application Window from app delegate

谁说我不能喝 提交于 2019-12-10 09:32:26
问题 I am using Xcode 4.5 and iOS 6.0, I have selected the default single view template from the xcode, I just want to add the label on the application window but I am unable to do so. Please correct me. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; // Override point for customization after application launch. self.viewController = [[ViewController alloc]

XCode 4.5 warns about method name conflicts between Categories for parent/child classes

一笑奈何 提交于 2019-12-10 04:01:56
问题 I'm working on a project that was originally built in XCode 4.0, and then migrated to using XCode 4.2. Now I've tested out migrating to XCode 4.5, and I'm getting a ton of warnings like below... instance method 'values' in category from <pathToTheFile>/HistoryObject+extras.o conflicts with same method from another category These warnings never appeared in previous versions of XCode, and the code hasn't changed. The project is set at iOS 4.3 for the Deployment Target. So, we have from a

My iOS device not appearing in xcode device list, showing in organizer

妖精的绣舞 提交于 2019-12-10 02:03:11
问题 I m having xcode 4.5, I have connected my iTouch(registered in developer program) to Mac Machine. It is appearing in Organizer's Device list. But, it is not appearing in xcode's device list(where simulators are) in one of my project. It is also shown when i open my other proejects. So, What may be the problem in my this project, in which device is not appearing. Is any settings should be changed?? 回答1: See the image below and change the settings. 回答2: I tried everything and then found that my

How do I resolve this deadlock that happen ocassionally?

╄→尐↘猪︶ㄣ 提交于 2019-12-09 23:14:41
问题 I have one managedObjectContext with concurency type of NSMainQueueConcurrencyType + (NSManagedObjectContext *)managedObjectContextMainThread { static NSManagedObjectContext *__managedObjectContext=nil; @synchronized(self) { if (__managedObjectContext != nil) { } else { NSPersistentStoreCoordinator *coordinator = [self persistentStoreCoordinator]; if (coordinator != nil) { __managedObjectContext = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSMainQueueConcurrencyType]; [_

fatal: Unable to create '/.git/index.lock': File exists

99封情书 提交于 2019-12-09 17:35:16
问题 When I try to rename any image name in my Xcode Project it gives following error. fatal: Unable to create '/.git/index.lock': File exists. If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is running and remove the file manually to continue. Don't know what is going wrong. Thanks in Advance. 回答1: Try rm -f ./.git/index.lock In your repository directory. 回答2: I had my local repo inside a Wordpress

Revert Xcode 4.5 new XIB files to iOS<6

血红的双手。 提交于 2019-12-08 20:16:30
问题 i've installed Xcode 4.5 with iOS6 SDK and others old SDKs (from 4.3 to 6.0) for testing purpose. Beautiful, but there is a BIG problem! A new XIB file is generated for iOS6 compliant! This is a problem, because my app need to run on older devices , not only 6.0+! When i load the new view (ios6) in a 5.1 device, it silently crash with this error: 2012-09-24 22:00:17.090 App[14524:11f03] * Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not

Xcode 4.4 unable to rename classes/variables

ε祈祈猫儿з 提交于 2019-12-08 19:04:09
问题 On both Xcode 4.4 and 4.4.1 I'm experiencing the same issue in that with the specific project I'm working on, I don't seem to be able to rename any classes or variables from the Refactor menu option. Each time I try and do a rename, I type in the new name for the class/variable and click Preview at which point the bottom left begins a spinner with Finding files... . However, I then get a message saying: The selection is not a type that can be renamed. Make a different selection and try again.

iOS storyboard: set a background color to prototype cell

假装没事ソ 提交于 2019-12-08 16:31:58
问题 I am facing a very strange issue with XCode 4.5. I tried to set a background color to a prototype cell in my storyboard, but in interface builder the cell color doesn't change, even when I run it on my device it doesn't use the color I set. I tried creating a subclass of UITableViewCell and setting the color of the background in all init methods but it still donnot work. PS: XCode 4.5.1 and iOS 5 or 6, same issue. Since I'm a new developer I cannot recall if it worked on previous versions of