Xcode 8 beta 6 was a pre-release version of Xcode 8 released on August 15, 2016.
Questions tagged [xcode8-beta6]
68 questions
8
votes
1 answer
Method does not override any method from its superclass swift 3.0 error
I am converting my code from swift 2.2 to swift 3.0 and i got Method does not override any method from its superclass error.
Here is my code:
override class func layerClass() -> AnyClass {
return CAShapeLayer.self
}
Removing override…

Kevin Mac
- 320
- 2
- 10
8
votes
1 answer
Usage of withMemoryRebound with Apples Swift 3 beta 6
I have the following Problem. I want to convert my old function (worked until Swift 3 beta 5):
func binarytotype (_ value: [UInt8], _: T.Type) -> T
{
return value.withUnsafeBufferPointer
{
return…

j.s.com
- 1,422
- 14
- 24
7
votes
1 answer
HealthKit - requestAuthorization(toShare:read:completion:) always succeeds
I'm using Xcode 8 beta 6 and I'm requesting access to the Health App. The method requestAuthorization(toShare:read:completion:) which asks for authorization always produces a true when the completion handler returns - success in my code below. Even…

heikomania
- 445
- 6
- 13
7
votes
2 answers
Xcode 8 beta 6 AnyObject Swift 3 changes
Xcode beta 6 has changed some of the Swift Language
Since ‘id’ now imports as ‘Any’ rather than ‘AnyObject’, you may see errors where you were previously performing dynamic lookup on ‘AnyObject’.
I have tried the fix to either cast to AnyObject…

adamprocter
- 856
- 1
- 15
- 31
7
votes
3 answers
UIApplicationLaunchOptionsShortcutItemKey not there in Swift 3?
Recently in Xcode 8 beta 6 (8S201h), this has become a problem.
UIApplicationLaunchOptionsShortcutItemKey
Here's the error :
Anyone else having this issue?
var performShortcutDelegate = true
if let shortcutItem =…

Amit Kalra
- 4,085
- 6
- 28
- 44
6
votes
1 answer
prepare(for:sender:) not getting called
I downloaded Apple's MyLife sample project and attempted to build and run it using Xcode 8 beta 6.
There are two places where a view controller has implemented the prepare(for:sender:) call to do stuff before a storyboard segue is performed.
…

Frank Schmitt
- 25,648
- 10
- 58
- 70
5
votes
0 answers
How do i set up constraints for SE and 6S+ when their both treated as w:compact h:regular
Using xcode 8, im trying to set up constraints to handle iPhone SE - iPhone 6s+ screen sizes.
Now, using Phone 6+, I've set up my constraints manually, and boy does it look beautiful on an actual device. This was pretty each with 6s+ and 6s since…

highboi
- 673
- 7
- 28
5
votes
1 answer
Unable to compile AWS CustomIdentityProvider on xcode 8 beta 6
I am using Amazon Cognito and Facebook login in an ios app. Up until beta 5 this code from this SO thread worked:
class CustomIdentityProvider: NSObject, AWSIdentityProviderManager {
var tokens: [NSString: NSString]?
init(tokens: [NSString:…

kometen
- 6,536
- 6
- 41
- 51
5
votes
1 answer
Xcode 8 beta 6: AnyObject replaced by Any: where is classForCoder?
Xcode 8 beta 6 has replaced AnyObject by Any.
In some cases I used a.classForCoder for debugging reasons to see what's in it. With AnyObject this worked. With Any this doesn't work any more.
Now that I have to use Any: what is the preferred way to…

Gerd Castan
- 6,275
- 3
- 44
- 89
4
votes
3 answers
I updated to Xcode 8 beta 6 and I am getting very weird errors
I just update to Xcode 8 beta 6 and got an overload of errors (no surprise), I got most of them sorted out, but there are two errors which I am unsure of how to fix.
For this I get this error Method does not override any method from its…

anonymous
- 371
- 1
- 3
- 12
4
votes
4 answers
Xcode 8 - Some Views & VCs Not Showing Up on Simulator
The app ran perfectly prior to updating to Xcode 8 Beta 6 and Swift 3. I've changed nothing else but now I have two problems.
First, a few random views are no longer showing up. They're just square, colored boxes. The views above them show up…

Dave G
- 12,042
- 7
- 57
- 83
3
votes
3 answers
iPhone - Thread 1 EXC_BAD_INSTRUCTION Error with nothing printed in console
IMPORTANT EDIT: I just realized that in a previous version the app used to desplay the icon in the top corner but now doesn't in this new version. WHY IS THIS HAPPENING THE ASSET CATALOG IS THE SAME!!! I think that there must be a problem with the…

computerscience32
- 142
- 1
- 10
3
votes
2 answers
Xcode 8: custom description in suggestion
I'm trying to have custom description for my functions shown in the suggestions box which shows up as I type said function names, the same way it works for swift functions: e.g the UIActivityIndicatorView.startAnimating() description is shown both…

Gianclaudio Giordano
- 59
- 1
- 9
3
votes
1 answer
Error Domain=IDETestOperationsObserverErrorDomain Code=12 "Timed out trying to set AX messaging timeout
I get this error when building my iOS app on Travis CI. Can someone please help me with that?
Config: OSX 10.11.6, Xcode 8 beta 6, Swift 3.

g33k1ns1d3
- 41
- 1
- 3
3
votes
3 answers
Xcode 8 beta 6 - App image broken in iOS 8
I have Installed Xcode 8 beta 6 and deployed the app into iOS 8 - 10 device to test.
I found some app images are broken in iOS 8 device (Please refer to the image shown below)
It works perfectly fine in iOS 9 and iOS 10
Is it a bug from Apple?…

PrimaryChicken
- 963
- 1
- 8
- 29