Xcode 8 beta 6 was a pre-release version of Xcode 8 released on August 15, 2016.
Questions tagged [xcode8-beta6]
68 questions
65
votes
3 answers
xcode 8 push notification capabilities and entitlements file setting
when using xcode 8 doing the push notification setting, unlike xcode 7, xcode 8 need developer turn on push notifications capabilities switch ( located at TARGETS -> AppName -> Capabilities as following pic ),
then it will generate…

CJ Lin
- 712
- 1
- 6
- 12
60
votes
3 answers
Swift 3 UnsafePointer($0) no longer compile in Xcode 8 beta 6
My code snipet as follows …:
let defaultRouteReachability = withUnsafePointer(to: &zeroAddress) {
SCNetworkReachabilityCreateWithAddress(nil, UnsafePointer($0))
}
… does no longer compile with the following error which I don't…

Stéphane de Luca
- 12,745
- 9
- 57
- 95
58
votes
15 answers
Xcode8.0 Beta 6 - unable to read from device
I just upgraded Xcode 8.0 from beta 4 to beta 6 and I am getting this message " unable to read from device " when trying to build the app on my device. Any ideas what the problem could be?

Michel Arteta
- 1,384
- 2
- 13
- 25
49
votes
4 answers
Xcode 8 does full project rebuild
Having updated Swift + ObjC project to Xcode 8 (Swift 2.3) I found 50% or more of the time Xcode does a full rebuild of the project instead of an incremental build.
The changes made are adding simple print statements. There seems to be no logic as…

Vlad
- 5,727
- 3
- 38
- 59
43
votes
3 answers
"Cannot inherit from non-open class" swift
As of Xcode 8 beta 6 I now get the compile error "Cannot inherit from non-open class (Class)" outside of its defining module"
The class I was inheriting from was part of a separate Swift framework but my project compiled for Xcode 8 beta 5. What do…

LOP_Luke
- 3,150
- 3
- 22
- 25
29
votes
5 answers
How do I install Xcode 9 without updating macOS?
Does anyone have any idea to install Xcode 8 OR Xcode 9 without updating macOS?
I want to update my Xcode 7.1 to Xcode 8 or Xcode 9 (or 9.1) Beta.
But it is not allowing me to update directly on OS X Yosemite 10.10.
And I don't want to update my OS…

Samkit Shah
- 721
- 1
- 7
- 18
27
votes
2 answers
application(_:didFinishLaunchingWithOptions:)' nearly matches optional requirement
After installing Xcode 8 beta 6, I'm getting a warning saying:
Instance method 'application(_:didFinishLaunchingWithOptions:)' nearly matches optional requirement 'application(_:didFinishLaunchingWithOptions:)' of protocol…

Aero
- 390
- 5
- 9
25
votes
1 answer
Swift3 : how to handle precedencegroup now operator should be declare with a body?
Former Swift 3 code for operator was:
infix operator × {associativity left precedence 150}
But now, as per Xcode 8 beta 6, this generate the following warning:
"operator should not be declared with body"
What's the right way to use…

Stéphane de Luca
- 12,745
- 9
- 57
- 95
25
votes
2 answers
AnyObject not working in Xcode8 beta6?
In Xcode8 beta6, the following code will cause a warning: 'is' test is always true. But it won't print pass.
struct TestStruct {
}
//warning: 'is' test is always true
if TestStruct() is AnyObject {
print("pass")
}
And…

Learing
- 559
- 4
- 13
23
votes
2 answers
Xcode 8 beta 6: main.swift won't compile
We have a custom UIApplication object, so our main.swift was
import Foundation
import UIKit
UIApplicationMain(Process.argc, Process.unsafeArgv, NSStringFromClass(MobileUIApplication), NSStringFromClass(AppDelegate))
and that didn't work in Xcode 8…

Jason Hocker
- 6,879
- 9
- 46
- 79
16
votes
5 answers
XCode 8 Comment out broken
On XCode 8 Beta 5 & 6 cannot use the comment out functionality. Seems it is disabled in the context menu and shortcut does not work.
I have submitted this to Apple via bugreport.apple.com and got a response that it has already been reported. I am…

Vlad
- 5,727
- 3
- 38
- 59
14
votes
2 answers
Unrecognized selector UIDeviceRGBColor countByEnumeratingWithState:objects:count:
I know this is kind of a dupe, but I don't have enough reputation yet to comment on the original post and, while I don't have an answer, I do have more useful information (a concrete example). Moderators, feel free to move this to the proper…

Michel Colman
- 163
- 1
- 6
11
votes
2 answers
Xcode 8 beta 'Error' is ambiguous for type lookup in this context
According to this article, I need to specify the module to lookup object type:
'Method' is ambiguous for type lookup in this context, Error in Alamofire
But the below function is call from Apple API. Should I wait until Xcode 8 is out of beta? Or am…

Stephen Chen
- 3,027
- 2
- 27
- 39
11
votes
5 answers
UIImagePickerController's cameraViewTransform is ignoring 'scaling' and 'translation' on iOS 10 beta
I have been using below code to scale my UIImagePickerController's live preview to fill the entire screen. This worked perfectly till now. Before few days, I installed iOS 10 beta 7 on an iPhone 5 and it doesn't scale anymore. I can see black patch…

Rashmi Ranjan mallick
- 6,390
- 8
- 42
- 59
10
votes
1 answer
How to declare exponent/power operator with new precedencegroup in Swift 3?
There's been a change in Swift 3 for Xcode 8 beta 6 and now I'm not able to declare my operator for power as I did before:
infix operator ^^ { }
public func ^^ (radix: Double, power: Double) -> Double {
return pow((radix), (power))
}
I've read…

gbdavid
- 1,639
- 18
- 40