Hello, I have a situation where Xcode 7 beta is complaining that Errors thrown from here are not handled because the enclosing catch is not exhaustive. But I'm confused because, to me, it does appear that my cases are exhaustive, covering all of the one cases in my ErrorType enum.Here's my code:import UIKit protocol SearchItemView { var center: CGPoint { get } var radius: CGFloat { get } var color: UIColor { get } init(center: CGPoint, radius: CGFloat, color: UIColor) } enum SearchViewModelError: ErrorType { case InvalidClassName // only one error case } class SearchViewModel { private var searchItemViewClassName: String private var searchItems: [SearchItemView] = [] init(searchItemViewClassName: String) { self.searchItemViewClassName = searchItemViewClassName do { try createSearchItemView() // Xcode error here about lacking exhaustive cases; can't build and run } catch SearchViewModelError.InvalidClassName { // covers the one error case } } func createSearchItemView() throws -> SearchIte
Search results for
xcode github
92,015 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
One of my favorite sessions at WWDC was Advanced NSOperations. I've been attempting to run the Earthquakes App (XCode 7, IOS 9 Device) and it runs but nothing appears at the outset except for an empty UITableView. Dragging down to attempt to refresh the table brings up a network activity indicator but then the application crashes.The only changes I made to the demo code were to change the bundle identifier and check the box to allow it to run upside down (in order to eliminate a warning).Anyone have a similar ill-fated experience?
The WWDC App is not available but was dicussed in session 226 Advanced NSOperations.In a follow-up discussion I had at CloudKit Labs shortly after Session 715, CloudKit Tips and Tricks, I discovered there is no reference app for CloudKit. Instead, I was directed to refer to the Sample Code discussed in session 226 Advanced NSOperations. The Sample Code is called Earthquakes.Unfortunately, I've not been able to get that to run correctly using XCode 7 and IOS 9. It runs on my device but doesn't do anything upon launch except to show an empty UITableView. A refresh swipe results in a crash.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
These are still valid limits. I think with the release of iOS 9 you will be allowed to submit apps with only 64bit support. Maybe that helps you to reduce the file size.Generally you may want to take a look at App Thining/On Demand Ressorces in iOS 9 (see the App Thinning in Xcode and Introducing On Demand Resources sessions from WWDC this year).
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
I have found a workaround, after installing the command line tools from Xcode 6.3 it works, see https://github.com/Homebrew/homebrew/issues/40650 for more information.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I've been selling an AU for some time now that includes both instrument and effect versions as separate bundles.One of the issues with this has been namespace collisions of objective-C class names when both instrument and effect versions are loaded. I've followed this advice:https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/LoadingCode/Tasks/NameConflicts.htmlSpecifically, I have macros such as the following:#ifdef AUDIO_UNIT_EFFECT #define AntimatterAUViewFactory ComSubatomicAudulusEffectAntimatterAUViewFactory #else #define AntimatterAUViewFactory ComSubatomicAudulusAntimatterAUViewFactory #endifHowever I've noticed in Xcode 6, this defeats interface builder's ability to parse headers and thus I can't fully edit my xib files.So I'm curious how others deal with building an AU which has both instrument and effect versions? Could both versions be put in a single bundle?(Looking forward to the new app extension based AU API!)
How do I bring up the Swift terminal window after entering the Xcode Beta welcome window?
The output on playgrounds on xcode 7 is extremley slow or is it just me ? I see that, playgrounds is now using the ios simulator to display output. Just wanted to know if anyone else is on the same boat.
I upgraded to XCode 6.3.2 and suddenly my app store archives are showing up in the Other items section instead of iOS. Does anyone have any ideas why this suddenly broke with this release.
I found a workaround:Instead of control+dragging from the storyboard to the Swift file, I did the following.Declare an @IBOutlet property in the appropriate Swift fileDrag from the circle plus icon that appears in the gutter to the left of that property to the view on the storyboard that you would like to hook up.At first, this wasn't working for me because (at least on OS X El Capitan) Xcode 6 would try to resize the Assistant editor divider whenever I dragged from the circle plus icon.
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
I found a directory RCWebColorPicker.colorPicker floating around in my /ColourPickers directory. Had a creation date of 1 Jan 2011. Don't know where it came from, but I zapped it and now can open my storyboard in Xcode 7 Beta. Thank you kcathey!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
how do i pin in xcode 7
Good work. You just need to upload the new binary from Xcode, then after the build has finished processing (usually just a few minutes) go to the new app version in iTunes Connect, select the new binary you just uploaded, save and Submit for Review again. Unfortunately a new binary always means a whole new review cycle (they don't know what else you may have changed).
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Tags:
Hi,I was developing away and testing my App on the simulator as well as on my iPhone 6. I received a phone call, so I disconnected my phone from the cable attaced to the Mac, and when I was done I plugged it back in - when I do that iTunes starts syncing - I quit iTunes and proceeded to build my app to test on my iPhone and since then I keep getting this error...** The file “VRIC” couldn’t be opened because you don’t have permission to view it. **I have tried the following suggestions offered on this site...http://www.codedisqus.com/0NJWWqUXXj/the-file-myappapp-couldnt-be-opened-because-you-dont-have-permission-to-view-it-when-running-app-in-xcode-6-beta-4.htmlStill I cannot get my App to load on my iPhone, it works fine in the simulator.Can someone please help!Thanx in advance.
So I read I can use QuickTime to make a preview video for my app and upload to iTunes Connect but I need to have OSX 10.10.3 Yosemite. I currently use OSX 10.9.5 and am fearful of upgrading to 10.10.3 Yosemite because i'm afraid if I do so all my Xcode Projects files on my desktop will get deleted. What can I use to make a video of my app for preview besides OSX Yosemite's QuickTimes feature in simulator? Is there another feature i'm not noticing in Xcode 6.1's simulators that I can use for recording and editing a short video?