This tag should only be used for questions specific to the usage and features of Xcode 10. Do not use this tag just because you are using Xcode to develop your app. General Xcode questions should use the non-version specific xcode tag. Use tags appropriate for the OS such as ios or macos.
Questions tagged [xcode10]
976 questions
10
votes
3 answers
Xcode 9 and Xcode 10 giving different results, even with same swift version
I am running this code in both xcode 9.3 and xcode 10 beta 3 playground
import Foundation
public protocol EnumCollection: Hashable {
static func cases() -> AnySequence
}
public extension EnumCollection {
public static func cases()…

kr15hna
- 529
- 1
- 5
- 12
9
votes
1 answer
Xcode 10 iOS app build, "hidden" task takes most of build time
After changing single line of code and performing Xcode 10.1 incremental build in large project, Xcode spends most of build time in "Compile swift source files" phase after completing all listed tasks (compile changed files and merge swiftmodule are…

chupacabra
- 105
- 7
9
votes
1 answer
Default Directory for Playground on Xcode
When I create a new Playground with Xcode 10.1 it always defaults to ~/Library/Autosave Information/
Is there any way I can change this?

Ryan Heitner
- 13,119
- 6
- 77
- 119
9
votes
4 answers
The executable was signed with invalid entitlements - 0xe8008016
I trying to run my app on a device with xcode, it's an ionic app, with xcode 9,
I had no problem but since I have updated to xcode 10 I keep getting this error message every time:
The entitlements specified in your application’s Code Signing…

Reza Ey
- 93
- 1
- 1
- 4
9
votes
7 answers
Xcode 10 storyboard UI components are not visible and painfully slow?
My code was working fine (showing UI properly) when I had Xcode 9 and I removed it from the application folder (could not update as it had installed using another apple id) and reinstall the Xcode 10 from the Appstore.
Now Xcode storyboard not…

happycoder
- 927
- 3
- 13
- 28
9
votes
0 answers
Xcode Class AXAccessQueue is implemented in both
When I create a new project in Xcode and launch it. The next error appears in the logs:
objc[21022]: Class AXAccessQueue is implemented in both…

Jonas
- 93
- 4
9
votes
3 answers
Error with notification names while converting code to Swift 4.2
The code below was working fine before Swift 4.2:
NotificationCenter.default.addObserver(self, selector: #selector(keyboardWillChange(notification:)), name: NSNotification.Name.UIKeyboardWillShow, object: nil)
When I click the 'Fix' option, it…

mannyCalavera
- 593
- 1
- 4
- 23
9
votes
1 answer
Error: Command CodeSign failed with a nonzero exit code after installing Xcode10 beta 5?
Briefly since downloading and installing Xcode 10 beta 5 I have not been able to get any Provisional Profiles to work. In fact, my application fails immediately with the following error message.
Command CodeSign failed with a nonzero exit code.
It…

DaleK
- 5,009
- 3
- 10
- 8
9
votes
5 answers
Xcode 10 beta error while building my project?
I updated my Xcode to 10 beta after that when I build I am getting bellow error with build failure..
accessing build database "/Users/n/Library/Developer/Xcode/DerivedData/Build/Intermediates/XCBuildData/build.db": database is locked Possibly there…

tp2376
- 690
- 1
- 7
- 23
9
votes
1 answer
Xcode 10 code completion placeholders — what is the "T"?
In Xcode 10 code completion, the text underlying the placeholder tokens has an extra #T# before it (to see that this is so, copy and paste the inserted code template into a different text editor):
let alert = UIAlertController(
title:…

matt
- 515,959
- 87
- 875
- 1,141
8
votes
2 answers
Weird behaviour of Xcode 11 Debugger - Showing values as nil when there's a value
I just noticed weird behaviour of Xcode11, I am executing same code in Xcode 10 and Xcode 11.
See the below attached screenshot for both the versions.
I am creating a url from String, When I put a debugger and check the value of myUrl it shows nil…

Mayank Jain
- 5,663
- 7
- 32
- 65
8
votes
1 answer
Xcode Playgrounds Shared Directory Not Working
When creating an Xcode Playground, the supported playgroundSharedDataDirectory does not properly show my the expected directory.
Expected: ~/Documents/Shared Playground Data
Actual:…

Matthew Knippen
- 1,048
- 9
- 22
8
votes
1 answer
UIDocumentBrowserViewController error "Cannot create urlWrapper for url" on iOS13 simulator
I have a very strange problem with UIDocumentBrowserViewController when testing on iOS 13. The importHandler(newDocumentURL, .move) seems to crash without any reason :
[DocumentManager] Cannot create urlWrapper for url…

Zaphod
- 6,758
- 3
- 40
- 60
8
votes
7 answers
xcode continues project loading forever
I have a source code of a swift application which developed for iOS using swift 3.
I want to run it inside Xcode however it remains in loading state forever.
I have tried solutions provided in question Xcode freezes on startup while loading project…

VSB
- 9,825
- 16
- 72
- 145
8
votes
2 answers
Xcode 10 "Could not build module Darwin / Foundation / CoreFoundation" etc
After switching to Xcode 10 (Have to use legacy build system for now), I started getting errors shown below. Locally I was able to fix them by pretty much cleaning everything I can i.e. Derived Data / Build etc...
Debug and Release runs in Xcode run…

Ilja
- 44,142
- 92
- 275
- 498