xcode5

XCode Archive: “you must supply an apple ID”

让人想犯罪 __ 提交于 2019-12-19 17:05:13
问题 When I Archive a applicaion. Xcode message: The following issue were found validation: "You must supply an apple ID",. Where I could write down an apple ID ? 回答1: I got same problem. just solve it. I guess this is because xcode 5 is not proper functioning with apple server for validation. Very simple to do. ignore the validation, just click distribute to app store, it will do validation as well. I got no issue and upload to itunes connect. 回答2: Make sure you have entered your apple ID info in

No more quick help in Xcode editor

强颜欢笑 提交于 2019-12-19 05:48:30
问题 Quick help has gone away in my Xcode 5 (5.0.2 on OS X 10.8.5): Instead of the little popup window that's supposed to pop up for the Opt - Click shortcut all that ever shows is the arrow image: Been like this since the Xcode 5 upgrade. Any ideas how to fix it..? FWIW: The doc sets are in fact properly installed - 'Opt' + Double-Click brings up the correct documentation as usual. Even removing the doc sets manually and re-downloadig didn't help. The hovering Quick Help window is still gone..

No more quick help in Xcode editor

≡放荡痞女 提交于 2019-12-19 05:48:14
问题 Quick help has gone away in my Xcode 5 (5.0.2 on OS X 10.8.5): Instead of the little popup window that's supposed to pop up for the Opt - Click shortcut all that ever shows is the arrow image: Been like this since the Xcode 5 upgrade. Any ideas how to fix it..? FWIW: The doc sets are in fact properly installed - 'Opt' + Double-Click brings up the correct documentation as usual. Even removing the doc sets manually and re-downloadig didn't help. The hovering Quick Help window is still gone..

Create iOS7 Icon in Images.xcassets with Xcode5

杀马特。学长 韩版系。学妹 提交于 2019-12-19 04:09:48
问题 How can one create a iOS7 Icon in Images.xcassets with Xcode5? I've searched many places, but i did not find what the required Icon sizes were. My App is for iOS7+. Here is a screenshot: I've added some icons below in the AppIcon.appiconset folder in mac. Do I need to add in the xcode side bar? What are the required sizes for the AppIcon.appiconset folder? 回答1: This is very easy & in-fact it is self explanable. You need not even have to think about the name of the icons. The only thing that

Xcode 5 doesn't let me export unsigned cocoa application

三世轮回 提交于 2019-12-18 21:27:14
问题 When I try to export a cocoa application in XCode 5 GM (which probably isn't anymore under NDA, if it is it will be off tomorrow) doesn't give me the option to export an unsigned application as it did in xcode 4.6 < When I pick up an archive and select export as application as shown here: In the next screen I have no chances to save it as an unsigned application, as I did before. Xcode 5: Xcode 4: Any Idea on why? is this a bug? Thanks 回答1: This seems like a bug. Even with the target signing

How to match precompiled static library's debugging symbols to source code with Xcode 5?

给你一囗甜甜゛ 提交于 2019-12-18 16:58:40
问题 I have to compile FFmpeg for iOS using an external build script, but when I am debugging I see assembler if I delve too deep into libavformat library functions: 0x109a73: cmpl $0, 1192(%ebp) 0x109a7a: jns 0x109a86 ; mov_write_header + 198 at movenc.c:3539 0x109a7c: movl $1, 1192(%ebp) 0x109a86: movl 16(%ebp), %eax 0x109a89: cmpl $0, 84(%eax) 0x109a8d: movl %edx, %ecx 0x109a8f: jne 0x109ad9 ; mov_write_header + 281 at movenc.c:3548 0x109a91: testb $2, 48(%ecx) 0x109a95: jne 0x109ac1 ; mov

Xcode: How to set CA_DEBUG_TRANSACTIONS=1?

南笙酒味 提交于 2019-12-18 14:46:09
问题 I'm getting this warning in the log window of the debugger: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces. I have to find out what code of mine is calling CATransaction so I can make sure it is running on the main thread. My code doesn't call CATransaction directly. I.e. a search of my code for CATransaction turns up nothing. In Xcode 5, what is the correct way to set CA_DEBUG_TRANSACTIONS=1 in the

Test bundle could not be loaded because an unanticipated error

元气小坏坏 提交于 2019-12-18 12:54:27
问题 Recently I have started writing test case for one old static library. I have loaded the library to Xcode 5,Since Static Library is old , I have to manually add TestProject with Test Target. When I am trying "Product-->Test" , It launches emulator and Console shows following error The test bundle at /xxx/xxx/xxx/StaticLibTest.xctest could not be loaded because an unanticipated error occurred: Error Domain=NSCocoaErrorDomain Code=3587 "The bundle “StaticLibTest.xctest” couldn’t be loaded

Adding iOS 7 version of iPhone 4-inch launch image to project breaks launch image when run on iOS 7

江枫思渺然 提交于 2019-12-18 12:34:38
问题 I'm running into a problem on our landscape only app that targets iOS 6 and 7. Xcode gives me the following warning: An iPhone Retina (4-inch) launch image for iOS 7.0 and later is required. If I add the required images, when I launch the app on iOS 7, I get a black launch image shown. On iOS 6, it displays correctly. But without the images, it works just fine on both iOS 6 and 7. I am already using Asset Catalogs in this project, so I don't think that's an issue. I would really like to get

What should I use instead of deprecated GKLeaderboardViewController in iOS7?

ε祈祈猫儿з 提交于 2019-12-18 12:08:44
问题 ive updated my app for IOS 7 and game center has a few things deprecated such as loading and dismissing the leaderboard and achievements how can i fix them it says GKLeaderboardViewController is deprecated - (IBAction)LeaderBoardsButton:(id)sender { GKLeaderboardViewController *leaderboardController = [[GKLeaderboardViewController alloc] init]; if (leaderboardController != NULL) { leaderboardController.leaderboardDelegate = self; [self presentViewController:leaderboardController animated:YES