xcode7.3

Xcode 7.3 Syntax Highlighting and Code Completion issues with Swift

旧城冷巷雨未停 提交于 2019-11-29 22:09:38
I am having an extremely frustrating issue with XCode 7.3 (however, this issue has persisted since I installed XCode 7.2) and Swift code, and I am hoping others have had this issue and know how to resolve it. Syntax highlighting and code completion work perfectly fine in Objective-C files, and also works fine when calling other Swift objects within Swift code. However, any Objective-C objects or methods mentioned in Swift code get no syntax highlighting, and XCode will not complete ANY Objective-C declared methods or properties. Everything compiles and runs just fine. I should also add that I

Swift Playgrounds: Replacement for captureValue(_:withIdentifier:)

╄→尐↘猪︶ㄣ 提交于 2019-11-29 18:04:22
问题 Xcode 7.3 has deprecated XCPlaygroundPage.currentPage.captureValue(_:withIdentifier:) . Its predecessor, XCPCaptureValue() , was deprecated in Xcode 7.1. I'm wondering if there is any replacement, apart from implicit capture of collections and in loops? Apart from being more flexible using the explicit approach, the ability to add captions to graphs seems to be gone with the deprecation/removal (although the symbols are found, the aforementioned deprecated methods don't do anything, or at

xcodebuild 7.3 can't enable bitcode

徘徊边缘 提交于 2019-11-29 12:17:10
问题 I'm developing an embbeded framework for iOS. In order to make an universal fat (with simulator and device slices), I created an aggregate target with a script that uses xcodebuild and lipo commands to generate it, as many people does. With XCode 7.x I had to add an user-defined settings with BITCODE_GENERATION_MODE=bitcode in order to enable it, but this has stop working since the last XCode 7.3 release. I've tried everything I found in the internet like add OTHER_CFLAGS="-fembed-bitcode" ,

Xcode 7.3 debugger not showing custom class variables

删除回忆录丶 提交于 2019-11-29 06:28:31
问题 I recently updated to Xcode 7.3 , however while debugging at break points , the objects show in the debug area but clicking the triangle to reveal the variables does nothing . I never had such issues with Xcode 7.2 . I have also have a Cocoa-pod Facebook Pop library in my project (incase its relevant) . I have updated it since upgrading to Xcode 7.3. Update : More specifically I can't expand custom class variables , but variable like NSRange do expand to show location and length , however I

Upgrade testing for iOS - application-identifier entitlement does not match

自古美人都是妖i 提交于 2019-11-29 04:04:10
Previously with Xcode 7.3.1 I was able to build directly over my app store app on my iPad and test the upgrade scenario, which worked perfectly fine. This week I upgraded to Xcode 8 and when I try the exact same approach, I keep getting this upgrade error "This application's application-identifier entitlement does not match that of the installed application. These values must match for an upgrade to be allowed." I tried multiple solutions posted on this thread and none of them worked. I also don't have a watch app. Just a simple iOS app target. App installation failed due to application

Could not attach to pid : “####” unable to attach [duplicate]

最后都变了- 提交于 2019-11-29 03:02:44
This question already has an answer here: Failed to Attach to Process ID Xcode 34 answers I just updated to Xcode 7.3.1 and my project crashes with the same error after the launch screen displays on the iOS simulator. The error is: "Could not attach to pid : “1712” unable to attach" Then I tried running another project and I got: "Could not attach to pid : “2025” unable to attach" Any solutions? Himanshu Resetting the content and settings in the simulator worked for me. This is available on the iOS Simulator: Hardware -> Erase all Content and Settings Kill the simulator, then re-build. I

Xcode 7.3 Syntax Highlighting and Code Completion issues with Swift

我的未来我决定 提交于 2019-11-28 17:25:04
问题 I am having an extremely frustrating issue with XCode 7.3 (however, this issue has persisted since I installed XCode 7.2) and Swift code, and I am hoping others have had this issue and know how to resolve it. Syntax highlighting and code completion work perfectly fine in Objective-C files, and also works fine when calling other Swift objects within Swift code. However, any Objective-C objects or methods mentioned in Swift code get no syntax highlighting, and XCode will not complete ANY

'init(start:end:)' is deprecated: it will be removed in Swift 3. Use the '..<' operator

房东的猫 提交于 2019-11-27 18:26:38
I'm using the following code: var continousDigitsRange:Range<Int> = Range<Int>(start: 0, end: 0) Since update to Xcode 7.3 (Swift 2.2) I got the following hint: 'init(start:end:)' is deprecated: it will be removed in Swift 3. Use the '..<' operator. For me is not clear how to "translate" it correctly with "using the '..<' operator. You should simply write var continousDigitsRange1:Range<Int> = 0..<0 or if you want to go even simpler var continousDigitsRange = 0..<0 Also worth noting, to substringWithRange a String, you can now use let theString = "Hello, how are you" let range = theString

Upgrade testing for iOS - application-identifier entitlement does not match

こ雲淡風輕ζ 提交于 2019-11-27 18:01:14
问题 Previously with Xcode 7.3.1 I was able to build directly over my app store app on my iPad and test the upgrade scenario, which worked perfectly fine. This week I upgraded to Xcode 8 and when I try the exact same approach, I keep getting this upgrade error "This application's application-identifier entitlement does not match that of the installed application. These values must match for an upgrade to be allowed." I tried multiple solutions posted on this thread and none of them worked. I also

Xcode 7.3 autocomplete is so frustrating

我是研究僧i 提交于 2019-11-27 17:07:29
There is a new autocomplete in Xcode. Probably might be useful because it checks not only beginning of names etc. But I found that very often it doesn't find a class name or a const name at all etc. I need to type in entire name by myself. Over all I found it makes my life harder and coding more time consuming. Is there a way to switch to the old way it used to work? Xcode 7.3.1 In Xcode > Preferences > Text Editing uncheck Enable type-over completions restart Xcode It seems that clearing the checkbox "Enable type-over completions" in XCode -> Preferences -> Text Editing does the trick. At