xcode5

New iOS 7 statusBar leaves a range 20px in apps compiled in Xcode 5 [closed]

爷,独闯天下 提交于 2019-11-28 18:15:35
this week came out iOS 7 Beta , and whenever an update comes out these always have to update the apps for compatibility consetar some bugs. Well, I installed iOS 7 on my iPhone and apps principle worked perfectly, then installed Xcode 5 (preview) and compiled my projects, I realized that the new statusBar now is totally calm, your view controller will appear as her background. This is where the problem arises, a white band of 20px at the bottom of the screen, due to the view controller have won the space that was once the statusBar. If I fix this problem in my storyboards is all right, but

XCode 5 Testing symbol “rT” means what?

和自甴很熟 提交于 2019-11-28 17:49:00
I have 2 test classes in a XCode 5 project: ABCDataModelTests.{h,m} - (void)testAlwaysPassing { ... } ABCDataModelListColorsTests.m which inherits from ABCDataModelTests. - (void)testNumberOfListColorsGreaterThan7 { ... } When I ran the test, I noticed that there is a symbol "rT" underneath the subclass's tests as shown in the picture. What does "rT" stand for? Note that the subclass inherits the test method "testAlwaysPassing." I can't find anything in the Apple documentation for "New Features in XCode 5/5.0.1" Is there any documentation for what all the symbols stand for? I found this

Is it possible to run XCTest based tests under Instruments in Xcode 5?

烈酒焚心 提交于 2019-11-28 17:33:31
问题 Looking at XCTest and Xcode 5 unit testing and not seeing how to run my unit tests under Instruments in Xcode 5... Specifically I'd like to look for leaks during the test (this doesn't have to be automated in this instance, though clearly that'd be useful). Possible? 回答1: I think this is the easiest way: Set a breakpoint somewhere in your tests (I've been doing it in the setup method) Open a new document in instruments Run the application and make sure it's stopped at a breakpoint From the

ios 7 view with transparent content overlaps previous view

我与影子孤独终老i 提交于 2019-11-28 17:27:12
问题 Recently I updated my xcode project to work with iOS 7, but i faced a big problem. Because my whole application has only one background image (UIImageView added to key window) and all views are transparent, I face a problem when pushing UIViewController, because pushed view controller overlaps previous view (you can see it in the picture here: http://grab.by/qp0k). I can predict that this is because in iOS 7 push transition has been changed, because now it slides half a screen. Maybe anyone

Xcode 5/6: View Debugging always grayed out?

╄→尐↘猪︶ㄣ 提交于 2019-11-28 17:23:13
The "Debug / View Debugging" menu is always grayed out for me in Xcode 5 (and 6), even when the target is stopped at a breakpoint. How do I enable it? For me (Xcode 6 Beta and Beta two) the View Debugging options are only enabled in 32bit simulators (e.g. works when I use 'iPhone 5' but not when I am using 'iPhone 5s') I believe that the Capture View Hierarchy feature is only available when the target is running iOS 8. In Xcode 6 (beta 2) the schema popup on the toolbar lets you choose the type of simulated device. For me the fixed devices show up three times. This is because I have three

How to change the bundle identifier of an app in Xcode 5?

天大地大妈咪最大 提交于 2019-11-28 17:22:35
Xcode 5 won't let me change the bundle identifier. The app name portion after com.mycompany. is greyed out. I created a bundle identifier in ITC which slightly differs and I want to use this new bundle identifier. Do I have to create a new Xcode project with the correct identifier? Idan Actually this is pretty simple: Select your target Select 'info' tab (you can do the same by finding the plist file on the project) Search for "Bundle Identifier" key, The value on your end should be com.mycompany.${PRODUCT_NAME:rfc1034identifier} . If you want to change the grey field just replace the "com

Setting UITextView frame to content size no longer works in Xcode 5

倖福魔咒の 提交于 2019-11-28 17:19:56
The code snippet below worked to resize a UITextView frame to it's content height, before installing Xcode 5 but it doesn't work since the upgrade: CGRect frame = _textView.frame; frame.size.height = _textView.contentSize.height; _textView.frame = frame; I've searched and haven't found the fix. Any thoughts? There's new stuff for this on iOS 7. To get the "fitted" size used by the text view after it's updated its text, call usedRectForTextContainer: on the textView's layoutManager property, passing the textView's textContainer property as an argument. Word of warning about scrolling: Be

How to deploy project with iOS base SDK 6.1 to device with iOS 7

被刻印的时光 ゝ 提交于 2019-11-28 17:17:38
I've been wasting my whole day on this issue, and could not find a solution: I've been developing an application with iOS 6.1 SDK, and the whole design relies on the iOS 6.1 UI. Yesterday, I've updated my phone to iOS 7, and after the update finished, the previously deployed app, which came back from the backup looked and worked the same as before (on iOS 6.1); everything was fine. However, I had to update my Xcode to version 5, so I can continue deploying successive debug versions to my iOS 7 device during development. Before updating to Xcode 5, I've backed up the iPhoneOS6.1.sdk package

How to debug app when launch by push notification in Xcode

旧街凉风 提交于 2019-11-28 16:59:22
问题 I am using Xcode 5. I am working with push notifications in iOS. I am getting satisfying results for background mode and foreground mode that can be debugged easily on an iOS device. But problem is when app is in closed state and launched by push notification tap but I don't know how to debug in this situation. I know the solution for Xcode 4 but not for Xcode 5. So is there any solution for Xcode 5 and debugging the app when launching it by push notifications? Provide steps to debug in this

How to permanently fix Xcode 5 SpringBoard failed to launch application with error: -3 [duplicate]

a 夏天 提交于 2019-11-28 16:56:59
This question already has an answer here: iPhone Simulator: SpringBoard failed to launch application with error: 7 22 answers Launching apps from Xcode 5 to the iOS simulator (multiple OS versions) fails with SpringBoard failed to launch application with error: -3 . I can get around the problem by 'turning it off and back on again' (quitting the simulator and relaunching, uninstalling and redeploying the app, etc.), but it seems to come back again later and in other projects. Can someone help me understand what the real problem here is and if there is a permanent fix? I don't know why, but on