xcode5

How to get Pixate v2 Real Time CSS working with Xcode 5

∥☆過路亽.° 提交于 2019-12-24 17:11:57
问题 I have successfully got pixate 2.0.1 working with XCode 5 on a ios 7 project. Its really awesome actually! And it would be even way more awesome with Real Time CSS. This is basically where the iPhone/iPad simulator will update live while the css file is edited and saved. Now thats just cherry all the way. But unfortunately I'm not yet able to get it working. I followed the directions that Paul Colton gave here: http://youtu.be/rjNrNIyEL_c. But it is for version 1 of Pixate and uses the now

Mobile Backend Starter - iOS client (App Engine)

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 10:58:27
问题 anyone got the error below when compiling the "iOS Client" from google "Mobile Backend Starter"? Xcode 5.02, iPhone iOS 7. duplicate symbol _kCloudBackendClientID in: /Users/paolo/Library/Developer/Xcode/DerivedData/CloudBackendIOSClient-gjhkqbarudkpudeeytxgowaihtym/Build/Intermediates/CloudBackendIOSClient.build/Debug-iphoneos/CloudBackendIOSClient.build/Objects-normal/armv7/MessagesTableViewController.o /Users/paolo/Library/Developer/Xcode/DerivedData/CloudBackendIOSClient

Getting nil value for the variable in Unit Test using XCTest

冷暖自知 提交于 2019-12-24 06:44:45
问题 The appDelegate instance is showing nil value, test case "testAppDelegate" is getting failed. The same is working in the sample code provided by apple developer site but there SenTestCase is being used, please help me out, even the target is set as per the WWDC 2013 video "Testing in Xcode 5 session 409" @interface Tests : XCTestCase { AppDelegate *appDelegate; AppViewController *appVC; UIView *appView; } @end @implementation Tests - (void)setUp { [super setUp]; appDelegate = [[UIApplication

Save NSLog into a Local File

北城余情 提交于 2019-12-24 05:37:08
问题 I'm learning how to develop for iPhone and i need to save de NSLog output on a local file on my machine to analyse the result in because I`ll run the application for a long time and I need to check after some hours running what was the output (and I want to save the output file on my machine from time to time, for example after every 30min). How can I save the xcode output into a file? 回答1: Possibly not what you want, but I use this: - (void)logIt:(NSString *)string { // First send the string

How to track down zombie object crash?

一曲冷凌霜 提交于 2019-12-24 04:23:10
问题 I am having some wired crash in my iOS app and its not 100% reproducible. From crash log I can see that unrecognized selector(property accessor) is sent to object that is not of correct type (most likely zombie). Is there anyway in XCode that I can used to see if I am trying to access zombie object ? Thanks. 回答1: There are two ways. 1. Go to breakpoints sections on the left of XCode, down you can see an option to add exception breakpoints. 2. Click Menubar > Product > Scheme > Edit Scheme

Cannot visualize images inside Xcode

感情迁移 提交于 2019-12-24 04:22:58
问题 I cannot visualize images in Xcode 5. When I select them on the left panel they don't show, this used to working. Is it some configuration from coming from Xcode 4 that I am missing? I tried restarting and creating other project and does not seem to work for me, only code is seen, no images, tried png jpeg etc no do 回答1: Check this question, are you perhaps running Xcode on full-screen? There's a known bug about images missing on Xcode 5: https://devforums.apple.com/thread/211772?tstart=0 I

status bar is overlapping with the view in iOS7

扶醉桌前 提交于 2019-12-24 02:33:32
问题 status bar is overlapping with the view How do I set the view below the status bar in iOS7 I'm using XIB not a storyboard 回答1: In iOS 7.0, UI statusbar is transparent, To accommodate the changes in the app as with the status bar style you can use: UIStatusBarStyleDefault for Status bar to be dark while for light content use UIStatusBarStyleLightContent If facing trouble with background image of View in app where the image is extending itself behind the status bar. Set the image in nib or

Default opening curly braces in Xcode

為{幸葍}努か 提交于 2019-12-24 02:33:24
问题 I am using Xcode, and noticed that Xcode's default auto creation and completion of functions makes opening curly braces go into new lines. For example (void) this_is_what_xcode_does { // Opening braces on a line of its own - default format } I do not like that, I would like the opening braces to be on the same line as the function name. Just like below (void) this_is_what_i_want_xcode_to_do { // Opening braces on the same line as the function - my preferred format } How can I change the

How to group xcode 5 test cases into test suites

三世轮回 提交于 2019-12-24 02:24:04
问题 I use xcode 5 test navigator to run my test, but one painful thing is that I need sometime to test whole layers of my app (say the models). I would like a way to group tests into logical units. I could probably use Test targets for that purpose but I don't think that's an efficient way. 回答1: Creating a test case class for each of your logical units will group them in the test navigator. Choose File > New > File to add a new test case class to your project. If you move the cursor over a test

objective c social/social.h not found

冷暖自知 提交于 2019-12-24 02:14:05
问题 // // Social.h // Social // // Copyright (c) 2012 Apple Inc. All rights reserved. // #import <Social/SLServiceTypes.h> #import <Social/SLRequest.h> #if TARGET_OS_IPHONE #import <Social/SLComposeViewController.h> #endif I am trying to compile a simple app for iOS-6 in Xcode 5, and calling the basic Social framework provided by apple. I am getting an error of SLComposeViewController - file not found. This is a new error that just decided to show up at build time this afternoon. I have the rest