Xcode 6 crashes on submitting Archive
Close any projects or workspace windows you have open in Xcode but leave Organizer window open and re-submit worked for me.
Close any projects or workspace windows you have open in Xcode but leave Organizer window open and re-submit worked for me.
For Xcode 4 and higher, open the preferences (command+,) and check “Show: Line numbers” in the “Text Editing” section. Xcode 9 Xcode 8 and below
I’ve just set a test project up, pretty much as you describe in version 3, by creating a new workspace and dragging the two Xcode project into it, nested as shown. You can delete the sibling project if you have it already. Hitting build on this and it just works, as far as I can … Read more
Well there’s a 3 step way: Press CMD(⌘)+7 to show all breakpoints. In Xcode4 press CMD(⌘)+6, in Xcode3 press CMD(⌘)+ALT+B. Select all breakpoints with CMD(⌘)+A and delete them, like deleting text, with backspace. There’s no step 3 🙂
EDIT (Incorporated all comments to a single answer) Try one of the following (or all) Instead of using Build For -> Archive, in the product menu just use archive. It will show up then. In the scheme editor, edit the scheme and go to the Archive tab, make sure the check box for show in … Read more
Xcode 4 supports git natively (Developer Tools State of the Union Address at WWDC 2010) Learn more here: What’s new in Xcode 4 The documentation from Apple is lengthy, but a good read.
You can do this from within Xcode without resorting to hand editing the pbxproj file in a text editor! Here’s how: Rename your source folder in the Finder. This will break the project initially because Xcode doesn’t automatically detect when the real folders that the virtual (yellow) project folders point to are changed, so all … Read more
The ~/Library/Developer/Xcode/iOS DeviceSupport folder is basically only needed to symbolicate crash logs. You could completely purge the entire folder. Of course the next time you connect one of your devices, Xcode would redownload the symbol data from the device. I clean out that folder once a year or so by deleting folders for versions of … Read more
Something similar happened to me a few times, and I solved it by splitting long statements into multiple lines. I tested your code in a playground, and I immediately noticed the SourceKitService process eating 100% of my CPU. In your code the longest statement I see is the dictionary initialization, so a first approach would … Read more
You can use dateByAddingUnit and subtract 16 years from current date to set the maximum date for your datePicker as follow: datePicker.maximumDate = NSCalendar.currentCalendar().dateByAddingUnit(.Year, value: -16, toDate: NSDate(), options: []) Xcode 10.2.1 • Swift 5 datePicker.maximumDate = Calendar.current.date(byAdding: .year, value: -16, to: Date())