xcode5

Can't scroll to the bottom of a long Static TableViewController in XCode 5 Interface Builder to edit the cells below the fold

吃可爱长大的小学妹 提交于 2019-12-04 19:15:53
问题 in XCode 5 Interface Builder, when I select a Static TableViewController that has a lot of rows in it, I can get it to go below the fold for a cell and half but the scrolling stops there. What's the trick to go all the way down to the bottom to edit/design the bottom static cells that are below the fold in interface builder? 回答1: Try to uncheck the options "Under Top Bars" and "Under Bottom Bars" of Attributes Inspector / View Controller / Extend Edges. I can scroll into the others sections.

Xcode Developer Preview: Cannot Run on Device

孤街醉人 提交于 2019-12-04 19:07:50
When trying to run any project in an Xcode Developer Preview (Xcode 5 DP6 in my case), the app is not started and the following error message appears: Could not launch "" - No such file or directory (/private/var/mobile/Applications/741F0826-E354-4E13-9CC3-0FB3A66E8798/.app) The solution was very simple in my case, in Terminal just execute sudo xcode-select -switch /Applications/Xcode5-DP6.app/Contents/Developer/ with the path for the currently used Xcode Developer Preview. Do not forget to switch back when developing on the previous stable Xcode version again - especially when archiving for

Xcode 5 not detecting iPhone running iOS 8

こ雲淡風輕ζ 提交于 2019-12-04 18:53:47
问题 I have an iPhone with iOS 8 installed on it, but when I connect it to Xcode 5.1, it doesn't recognize it. 回答1: You need to download the Xcode 6 Beta. It's available in the iOS Developer Center, where you downloaded the iOS 8 Beta. 回答2: As with the other answers, it seemed fairly random whether or not my iOS 8 device was being picked up by Xcode 5.1. It appears that it works if you have the iOS 8 device plugged in before you start Xcode 5.1. When you do that, you will get a screen indicating

How do I get Images.xcassets under source control?

不打扰是莪最后的温柔 提交于 2019-12-04 17:22:21
问题 So I migrated my AppIcons and LaunchImages to Images.xcassets, which is working fine it seems. But I made some modifications to the launch images, and now I went to commit the changes (I'm using a local-only git repo), and it seems Images.xcassets is not allowed to be committed to source control? Right-clicking on it, all the source control options are greyed out. And it doesn't show up in Xcode 5's new "global" commit dialog. Seems ridiculous not to allow the assets file to be committed, am

iOS Application crashes when using SpriteKit's TextureAtlas and building over Xcode command-line

三世轮回 提交于 2019-12-04 16:52:23
We use the new SpriteKit framework in iOS 7 to develop small games. To build and distribute new versions of our games, we use a build and deploy server which uses Xcode5's command-line tools. When we use a Texture Atlas in Xcode and open the SpriteKit view which uses images from the texture atlas, the application (built over command-line) crashes. When we build the application Xcode's GUI and deploy it to the device using Xcode's GUI, everything works fine and the application does not crash. This seems to be a bug in Xcode5's command line tools. Any ideas for a workaround? Using Xcode 5 Final:

Change Version number and build in Xcode 5

核能气质少年 提交于 2019-12-04 16:41:51
问题 I have upgraded my Xcode to Xcode 5. From where can I change the version and build number which are now not visible in Target Summary? 回答1: Select your project on the left. Then under target, select the target. Note it's in the General tab. 回答2: In the screenshot you posted your target is a library, which do not have the build/version number. Select your target and then go to the General tab. Then Identity you can change the Version ad the build Or open the Info tab and then Custom iOS Target

Xcode 5: Multiple test targets in one scheme: “Simulator already in use”

笑着哭i 提交于 2019-12-04 16:22:29
问题 In Xcode 5, I have a workspace with multiple projects and a scheme that should run all the test targets of the various projects. When I kick off the tests about 3 test project targets pass. So far, so good. But at the fourth test target I get an error message from Xcode telling me that the simulator can't be launched because it is already in use. Is there any way to kill the simulator between each test target(!) in a single(!) scheme? Or are there other solutions? Edit: I have opened a rdar

Ad hoc distribution: failed to install app

柔情痞子 提交于 2019-12-04 15:21:24
I'm developing an ios app (only for iphone) and trying to have other people test it. I have no problem installing the app on my own device through Ad hoc distribution. When I tried installing on another person's device, it always failed with the message "xxxxx could not be installed at this time". I'm using xcode 5. Here are the steps that I followed: Add the device's UDID to the existing Ad hoc provisioning profile in the developer portal Download that provisioning profile and drag that to the xcode organizer Under code signing->provisioning profile->release, choose the Ad hoc provisioning

Failed to install “iOS 6.1 Simulator” XCode 5

喜夏-厌秋 提交于 2019-12-04 14:57:31
问题 I want to run my app on both simulators ios6 and ios7. I'm trying to install ios 6 simulator but I am getting this error: Failed to install "iOS 6.1 Simulator" An unknown error occured. Please try again later. I restarted XCode but not working stil.. 回答1: Try to reset iOS 6.1 simulator from menu "iOS Simulator -> Reset Content and Settings...", then run your app in XCode. This helped me. 回答2: Was having the same problem , already did a system restart and reset the simulator but didn't work

Customize iOS Simulator preset locations to fake as current location

匆匆过客 提交于 2019-12-04 14:51:43
In the iOS simulator, one can select from some Apple pre-defined locations, or enter a custom latitude/longitude for your own location. I want to customize that list of available locations. I see from this answer that one can provide a gpx file. However, I don't see where to do this in Xcode5 (the screenshots shown in the linked to answer are for Xcode 4). Suggestions? EDIT: Another way to achieve this to edit your run scheme and select options. and provide GPX file in default location dropbox.Make sure that allow location simulation is enabled. https://developer.apple.com/library/ios