a prerelease version of Xcode 8 released on August 2, 2016.
Questions tagged [xcode8-beta4]
23 questions
2
votes
2 answers
Swift wrong compile error: default label can only appear in switch statement
NSFileManager has been renamed to FileManager in Swift 2.3 onwards. So do the
defaultManager class method which now just default
However when I use.
FileManager.default()
Compiler mis-icntepret and throw error.
default label can only appear in…

Swift Hipster
- 1,604
- 3
- 16
- 24
1
vote
0 answers
Xcode 8 Beta 5 Strange Error dyld symbol not found
I've updated to the new beta and I for some reason cannot get my framework to run on tvOS anymore with this error:
dyld: Symbol not found: __TMps23ExpressibleByNilLiteral
Referenced from:…

Bjarte
- 2,167
- 5
- 27
- 37
1
vote
1 answer
Array of implicitly unwrapped optionals iterates forever in Xcode 8 beta 4
My code (fragment below) causes the Simulator to Hang.
What am I doing wrong?
To reproduce the problem, cut and paste into the Simulator.
class INK
{
var test = 1
}
var array = [INK!](repeating: nil, count: 1)
for idx in 0..

Antony
- 11
- 2
1
vote
0 answers
Xcode 8 Beta Doesn't Display Bare-Bones App Window
I created a new macOS project in Xcode 8.0 beta 4 and tried running the bare-bones app before fleshing it out. In Xcode 8, the app's window never opens; but when I use Xcode 7.3.1 it does. Other, more fleshed-out apps display fine in Xcode 8. What's…

Optimalist
- 313
- 2
- 11
1
vote
1 answer
Predicate and SortDescriptor in Swift 3
I can't find anything about this in the release notes or on swift.org, but what they're gone now. What happened to them in the Xcode Beta 4?

jjatie
- 5,152
- 5
- 34
- 56
0
votes
0 answers
Breakpoint in downloading data from the Web in iOS App development with Swift 3
I am getting an error while developing an app which downloads data from the Web.
if let url = URL(string: "https://www.stackoverflow.com") {
let request = NSMutableURLRequest(url: url)
let task = URLSession.shared.dataTask(with:…

Captain Cold
- 179
- 1
- 1
- 3
0
votes
1 answer
Not able to use closure syntax in Swift 3
I am trying to use closure Xcode8 beta4 with Swift3 , but it does not working. Same functions with closure working in Swift2.2, but it fails in Swift3.
Swift 2.2
UIView.animateWithDuration(0.5, animations: {
…

technerd
- 14,144
- 10
- 61
- 92
0
votes
1 answer
Xcode 8 SiriKit Extension - Could not attach to pid
Almost every time I try to run my SiriKit Extension, I get "Sorry, you'll need to continue in the app" along with "Could not attach to pid : '####'" on Xcode. I have Siri capability enabled. Weirdly, 1 out of 10 times when I clean and rebuild, the…

hatooku
- 423
- 1
- 4
- 11