xcode5

Just installed xcode 5 and have missing storyboards [closed]

血红的双手。 提交于 2019-12-17 14:23:42
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 6 years ago . I am running xcode 4.6.2 for production work. I downloaded the new Xcode 5/ios 7 sdk to see what my projects would look like. Xcode 5 installed fine,

Error: CUICatalog: Invalid asset name supplied: (null), or invalid scale factor : 2.000000

人盡茶涼 提交于 2019-12-17 10:25:30
问题 TableViewApplication[1458:70b] CUICatalog: Invalid asset name supplied: (null), or invalid scale factor: 2.000000 Getting this warning while working with TableViewController. How to rectify this error and which block is affected? 回答1: This one appears when someone is trying to put nil in [UIImage imageNamed:] Add symbolic breakpoint for [UIImage imageNamed:] Add $arg3 == nil condition on Simulator, $r0 == nil condition on 32-bit iPhone, or $x2 == nil on 64-bit iPhone. Run your application and

how to stop xcode5.1 building for 64bit

你说的曾经没有我的故事 提交于 2019-12-17 08:51:26
问题 I just updated to xcode 5.1 - apple decided to make all apps compile to 64bit by default - My app has some legacy code and I spent the last couple of hours figuring out how to STOP Xcode building for 64bit. Thought this might help people with the same problem... See the accepted answer for a clearer visual walk thought (my original text based answer...) In Targets-->Build Settings-->Architectures-->Architectures select other delete (press '-') $(ARCH_STANDARD) add (press '+') armv7 add (press

how to stop xcode5.1 building for 64bit

女生的网名这么多〃 提交于 2019-12-17 08:51:06
问题 I just updated to xcode 5.1 - apple decided to make all apps compile to 64bit by default - My app has some legacy code and I spent the last couple of hours figuring out how to STOP Xcode building for 64bit. Thought this might help people with the same problem... See the accepted answer for a clearer visual walk thought (my original text based answer...) In Targets-->Build Settings-->Architectures-->Architectures select other delete (press '-') $(ARCH_STANDARD) add (press '+') armv7 add (press

UIStatusBarStyle PreferredStatusBarStyle does not work on iOS 7

烈酒焚心 提交于 2019-12-17 07:01:15
问题 In my iPhone application built with Xcode 5 for iOS 7 I set UIViewControllerBasedStatusBarAppearance=YES in info.plist , and in my ViewController I have this code: -(UIStatusBarStyle) preferredStatusBarStyle { return UIStatusBarStyleLightContent; } But the status bar is still black against the black background. I know its possible to change this app-wide by setting UIViewControllerBasedStatusBarAppearance=NO in info.plist , but I actually need to alter this on a viewController by

iOS 7 - Failing to instantiate default view controller

混江龙づ霸主 提交于 2019-12-17 05:38:50
问题 I am using Xcode 5 in a newly created app and when I just create it I go for the run button e click on it, then the project gets built but it does not show in the iOS Simulator and I get the following message: Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set? I've Googled about it of course and everybody points out that this is happening because XCode does not know yet which view controller is the initial one.

xcode 5 localize storyboard with script delete *.strings file?

一个人想着一个人 提交于 2019-12-14 04:07:12
问题 sorry to make another bother. I'm implement an app, with localization of English and Japanese in xcode 5, using the script file created by André Pinto, based on SIngle Storyboard for multiple languages. Well, before upgrade to xcode 5 (xcode 4.6, I mean), things work properly. But since xcode 5, this error occurs when run the script file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version

There is no simulator in my xcode 5 after I install xcode 6 beta

非 Y 不嫁゛ 提交于 2019-12-14 03:59:15
问题 I have installed xcode 6 beta 4 but after that, when I use xcode 5, there is no simulator can be select, so I also cannot build the project, does anyone encounter this problem? I suppose the xcode 6 is another app so it should not cover the xocde 5, but I don't know why happen for me :( Thanks! 回答1: In Xcode6 go to Window -> Devices -> Then you will see sections in the left and a plus button at the bottom. Press it and add the required simulator. 来源: https://stackoverflow.com/questions

Bad receiver type UIRectEdge and Multiple methods named

空扰寡人 提交于 2019-12-14 03:28:01
问题 I recover this code from disk and try build it on xcode 5.0.2 for ios. In xcode 4 this code work but actually not: else { for (int i=0;i<pieceNumber;i++){ for (int j=0;j<pieceNumber;j++){ CGRect rect = CGRectMake( 0, 0, SHAPE_QUALITY*piceSize, SHAPE_QUALITY*piceSize); PieceView *piece = [[PieceView alloc] initWithFrame:rect]; piece.delegate = self; piece.image = [array objectAtIndex:j+pieceNumber*i]; piece.number = j+pieceNumber*i; piece.size = piceSize; piece.position = -1; NSNumber *n =

Missing X86 code in iOS build?

非 Y 不嫁゛ 提交于 2019-12-14 03:12:27
问题 I'm suddenly getting errors and warnings in a build that was working fine a few weeks ago - I went on holiday, came back, no workie. The only one of concern is this error: ld: warning: ignoring file /Users/maury/Develop/MARL/ThirdParty/Flurry/libFlurry_4.2.3.a, missing required architecture x86_64 in file /Users/maury/Develop/MARL/ThirdParty/Flurry/libFlurry_4.2.3.a (4 slices) Either the error string is wrong and it's actually looking for some other architecture, or I'm very confused as to