xcode4

Increase the size of the fonts used By XCode 4's GUI

半世苍凉 提交于 2020-01-11 03:29:07
问题 How can I increase the size of XCode 4's GUI fonts (not the editor, everything else)? On my MBP 17", it's just impossible to read that XXX for hours! 回答1: Not Xcode specific, but you might try launching Xcode using the resolution independent scaling built into the OS. It's the same thing you find in the Run action of a scheme, as it scale up the entire UI for an application. 来源: https://stackoverflow.com/questions/5442400/increase-the-size-of-the-fonts-used-by-xcode-4s-gui

Cancel local notification not working

天涯浪子 提交于 2020-01-11 02:21:26
问题 I've spent half of my day reading all "How to cancel a local notification" questions and answers. After all, I came up with my own solution but apparently it is not working. I have a tableview with all my scheduled notifications.... on the H file I have @property (strong, nonatomic) UILocalNotification *theNotification; and then on the M file: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { NSArray *notificationArray = [[UIApplication

Error : “Category” declared as different kind of symbol in XCode 4 [closed]

拥有回忆 提交于 2020-01-10 20:25:29
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . I have created my own classes Category.h and Category.m. Category class is inheriting NSObject. In my project there is only one class named Category. At following line, it's showing me this error. @interface

Error : “Category” declared as different kind of symbol in XCode 4 [closed]

拥有回忆 提交于 2020-01-10 20:25:13
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . I have created my own classes Category.h and Category.m. Category class is inheriting NSObject. In my project there is only one class named Category. At following line, it's showing me this error. @interface

Xcode 4 (final version) error when building

我的未来我决定 提交于 2020-01-10 11:09:53
问题 I can't seem to find the answer. I've just used Xcode 4 final version and built an existing project that was built ok with Xcode 3, but got this error: ld: library not found for -lSystem.B collect2: ld returned 1 exit status Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1 But another project was built OK with Xcode 4. I installed Xcode 4 by choosing the default options. Do I miss to include a library or framework somewhere? Could

iPhone apps with a deployment target lower than 4.3 should include an armv6 architecture

怎甘沉沦 提交于 2020-01-10 09:35:17
问题 I have a problem :-( When I build my application for release XCode shows a warning saying: iPhone apps with a deployment target lower than 4.3 should include an armv6 architecture (current IPHONEOS_DEPLOYMENT_TARGET = "3.0", ARCHS = "armv7"). But how can I set armv6 in my build settings? I'm using XCode 4.2 and here's my build settings: Thanks! 回答1: I haven't used the version, but the current Xcode won't support signing for iOS 2.0 , so when iOS 5 comes out, 3.0 might have the same issue of

Xcode 4.3's 'estimated app store size' is considerably different than .ipa file, why?

 ̄綄美尐妖づ 提交于 2020-01-10 09:34:36
问题 I had been using Xcode 4.2 up till last week and I was using the size of my .ipa file to estimate the size of my app in the app store (I've kept it just under 20MB) and its been pretty consistent. I upgraded to Xcode 4.3 2 days ago and it has a new feature to indicate to you the 'Estimated App Store Size' after you 'Archive' your app, the estimated size its giving me is fully 2x the size of my .ipa file I've been using to guess my app store size and its WAY over 20MB according to Xcode 4.3!

iPhone apps with a deployment target lower than 4.3 should include an armv6 architecture

≡放荡痞女 提交于 2020-01-10 09:33:04
问题 I have a problem :-( When I build my application for release XCode shows a warning saying: iPhone apps with a deployment target lower than 4.3 should include an armv6 architecture (current IPHONEOS_DEPLOYMENT_TARGET = "3.0", ARCHS = "armv7"). But how can I set armv6 in my build settings? I'm using XCode 4.2 and here's my build settings: Thanks! 回答1: I haven't used the version, but the current Xcode won't support signing for iOS 2.0 , so when iOS 5 comes out, 3.0 might have the same issue of

Unit testing in XCode 4

耗尽温柔 提交于 2020-01-10 08:27:10
问题 I've managed to set up unit tests for my library in Xcode 4. I've performed builds with tests that I know will pass and fail (i.e. STAssertTrue(YES) and STAssertTrue(NO) ) just to make sure it's working. I'm using the default apple SenTest libraries following this document. However, when my tests are running I'm getting this error in the build log : An internal error occurred when handling command output: -[IDEActivityLogSectionRecorder endMarker]: unrecognized selector sent to instance

Unit testing in XCode 4

夙愿已清 提交于 2020-01-10 08:27:05
问题 I've managed to set up unit tests for my library in Xcode 4. I've performed builds with tests that I know will pass and fail (i.e. STAssertTrue(YES) and STAssertTrue(NO) ) just to make sure it's working. I'm using the default apple SenTest libraries following this document. However, when my tests are running I'm getting this error in the build log : An internal error occurred when handling command output: -[IDEActivityLogSectionRecorder endMarker]: unrecognized selector sent to instance