xcode6.3

Open Settings warning issue in Xcode 6.3: Comparison of address of 'UIApplicationOpenSettingsURLString' not equal to a null pointer is always true

三世轮回 提交于 2019-12-01 01:38:51
问题 I'm not inventing the wheel. In iOS8, to open Settings from inside the app I'm using this code: BOOL canOpenSettings = (&UIApplicationOpenSettingsURLString != NULL); if (canOpenSettings) { NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString]; [[UIApplication sharedApplication] openURL:url]; } The code is in a lot of answers and questions in stackoverflow. The problem came out with Xcode 6.3, I've got a warning saying: Comparison of address of

Xcode 6.3 code completion too slow

旧巷老猫 提交于 2019-11-29 20:16:17
I've just updated Xcode to version 6.3. I'm working on a project in Swift with some imported Objective C code. I also use Cocoapods. I had the same issue with the Xcode 6.3 beta. I've seen and tried all other StackOverflow answers with no luck. So far I've tried to: Delete ~/Library/Developer/Xcode/DerivedData and ~/Library/Caches/com.apple.dt.Xcode with Xcode and/or Mac restart. Uninstall Spotify. Not use the "+" concatenation operator. Set deployment's target to 8.1. I should mention that Objective C code autocompletes fast and that before indexing Swift code too. Esc button for popup

Use of unresolved identifier NSCalendarUnitDay

你说的曾经没有我的故事 提交于 2019-11-29 11:01:58
I just updated Xcode to its 6.3 version. Except all the fixes I have to make regarding as (mainly), I have some warnings that just appeared (which is weird as it states it is since iOS 8.0). My code NSCalendar.currentCalendar().compareDate(self, toDate: date, toUnitGranularity: .DayCalendarUnit) == .OrderedAscending is now shows a warning 'DayCalendarUnit' was deprecated in iOS version 8.0: Use NSCalendarUnitDay instead Fine, then I'll change .DayCalendarUnit by NSCalendarUnitDay Now I get an error saying: Use of unresolved identifier 'NSCalendarUnitDay' I'm confuse, can someone explain me

Xcode 6.3 is crashing on Project Rename

此生再无相见时 提交于 2019-11-29 05:27:52
I just updated my Xcode 6.3. I am getting an issue while project renaming. Is there any solution? And in some case it is showing mymac instead of simulators or devices in schema - device section on top left side. This issue is resolved in XCode 6.4 , please update your XCode. If you are still using 6.3 then follow below solution. But I prefere to update Xcode to 6.4. It is little different ,we have to follow some new procedure. 1) Change your xcodeproj file name first without opening it. 2) Change Target name from Project Editor by double clicking on target name. 3) If your project name is not

@import causes parse issue: “could not build module”

喜夏-厌秋 提交于 2019-11-28 21:05:50
After updating with Xcode 6.3, I found something strange things with my projects. Below codes causes parse issue that says "Could not build module 'AgendaFramework'", the AgendaFramework is my custom embedded framework for ios8: @import MyEmbededFramework; The error marker looks like this: The issues is raised during indexing not building. Whole building can be performed successfully without any error or warning. I can build, archive, run on device, deploy, submit to App Store. However the error marker shows up when I edit the classes that belongs to the extension. The the extension(widget)

XCode 6.3 adding margins to tableviewcell

两盒软妹~` 提交于 2019-11-28 18:59:17
Did XCode 6.3 / Swift 1.2 add additional margins to a UITableViewCell's contentView? Prior to updating, I had a custom UIView that extended all the way across the screen in my cells. Example: Now, everything in the cell seems to have additional margins that I have no idea where they came from. Note that these view's widths are not altered in any way in code and the right and left are constrained as below: Also note that I am using tableView.separatorStyle = .None . I add this fact because for some reason in one of my tableView s that has the default separator, it doesn't appear to add these

Xcode 6.3 freezes/hangs after opening XIB file

馋奶兔 提交于 2019-11-28 15:33:47
After upgrading to Xcode 6.3 (release version), Xcode now freeze every time I open a XIB/Storyboard file that includes an IB_DESIGNABLE view that uses a custom font for any projects and includes a custom font (not necessarily to have reference to that font in that XIB/Storyboard). The freeze occurs after opening the .xib file and then attempting to switch to any other file. Xcode hangs and must be force quit. I have opened a bug report with Apple. (Bug 20483867). Right now, I have two work arounds. Download and use Xcode 6.2 from Apple. Remove the IB_DESIGNABLE tags from the custom view header

Cannot subscript a value of [AnyObject]? with an index of type Int

爷,独闯天下 提交于 2019-11-28 11:53:28
This is in a class extending PFQueryTableViewController and I am getting the following error. The rows will be PFUser only. Why am I not able to cast it? Is there a way around this? The error is: Cannot subscript a value of [AnyObject]? with an index of type Int ...for this line: var user2 = self.objects[indexPath.row] as! PFUser Marcus Rossel The problem isn't the cast, but the fact that self.objects seems to be an optional array: [AnyObject]? . Therefore, if you want to access one of its values via a subscript, you have to unwrap the array first: var user2: PFUser if let userObject = self

Use of unresolved identifier NSCalendarUnitDay

╄→尐↘猪︶ㄣ 提交于 2019-11-28 04:19:50
问题 I just updated Xcode to its 6.3 version. Except all the fixes I have to make regarding as (mainly), I have some warnings that just appeared (which is weird as it states it is since iOS 8.0). My code NSCalendar.currentCalendar().compareDate(self, toDate: date, toUnitGranularity: .DayCalendarUnit) == .OrderedAscending is now shows a warning 'DayCalendarUnit' was deprecated in iOS version 8.0: Use NSCalendarUnitDay instead Fine, then I'll change .DayCalendarUnit by NSCalendarUnitDay Now I get an

Xcode 6.3 is crashing on Project Rename

走远了吗. 提交于 2019-11-27 23:00:39
问题 I just updated my Xcode 6.3. I am getting an issue while project renaming. Is there any solution? And in some case it is showing mymac instead of simulators or devices in schema - device section on top left side. 回答1: This issue is resolved in XCode 6.4 , please update your XCode. If you are still using 6.3 then follow below solution. But I prefere to update Xcode to 6.4. It is little different ,we have to follow some new procedure. 1) Change your xcodeproj file name first without opening it.