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
25
votes
9 answers
Xcode 10: Storyboard not showing Identity, Attribute... Inspector
After I update to Xcode 10, The storyboard is acting very weird. Sometimes it's not showing anything for Identity, Attribute, Size, and Connection Inspector and even I clean the project also restart my Xcode and it's still the same. Here is an Image…

Anonymous-E
- 827
- 11
- 29
24
votes
4 answers
Permission Denied error in Xcode 10 preventing Build...Command PhaseScriptExecution failed with a nonzero exit code
I'm unable to Build/Archive my project due to an error:
Permission denied
Command PhaseScriptExecution failed with a nonzero exit code
I have tried correcting keychain login as advised by other answers, but it hasn't worked. Please could…

James LCQ
- 361
- 1
- 2
- 4
24
votes
1 answer
Xcode 10 beta 6 error: accessing build database
Hello I have a script to create a universal framework on Xcode 10. When I run it from Xcode everything works fine but if I tried from command line tool I receive the following error:
Build system information
error: error: accessing build database…

David Cortes
- 535
- 4
- 14
24
votes
6 answers
No such module "CreateMLUI"
I am using macOS Mojave Beta (10.14 18A293u) and Xcode 10.0 Beta (10L176w). I created a Swift Playground and I am unable to import CreateMLUI framework in order to use it. I keep getting an import error.
I have tried creating both an iOS Playground…

David Cruz
- 2,995
- 3
- 28
- 41
23
votes
1 answer
Xcode 10+: how to switch to legacy build system?
There seem to be some problems with the new build system in Xcode 10. How do I switch to the old (legacy) build system?
NOTE: While one can apparently still use it for a bit longer (in June 2022), the legacy build system is marked deprecated in…

Clay Bridges
- 11,602
- 10
- 68
- 118
23
votes
19 answers
Xcode 10 build fails with 'Command CompileSwift failed with a nonzero exit code
I updated Xcode to version 10 recently and started to receive a strange error when trying to build my project. I'm currently on Swift 4.0 and I did try to upgrade to swift Version 4.2. But when I did I received this same error in many of my…

Spencer Shelton
- 391
- 1
- 2
- 8
23
votes
6 answers
macOS 10.14(beta) How to install Command_Line_Tools_macOS_10.14_for_Xcode_10_Beta
As the Title of my question, I don't know how to install the Command_Line_Tools_macOS_10.14_for_Xcode_10_Beta for my mac, please help.
What I did:
run command "brew install carthage" to install the Carthage, get errors:
Error: Your Xcode (9.4.1)…

Raymond Liao
- 1,799
- 3
- 20
- 32
23
votes
3 answers
Code Folding changes in Xcode 9/10
I know code folding was missing in the early Beta's of Xcode9 and that it is available to fold entire methods with CMD click.
But in Xcode 8 i was able to fold code in blocks (i.e. individual if statements) via Editor >> Code Folding >> Fold but in…

joffd
- 521
- 5
- 19
22
votes
7 answers
Xcode 10 unexpected duplicate task: CopyPlistFile
Today I updated my Xcode from v.9.4.1 to v.10.0. Now I try to build my tvOS project and I see the following error: unexpected duplicate task: CopyPlistFile…

Roman Podymov
- 4,168
- 4
- 30
- 57
22
votes
9 answers
App Installation failed. No code signature found
I recently upgraded to Xcode 10 and began the process of updating our app to switch 4.2 After a day or so of rebuilding 3rd party frameworks and adding in workarounds to various issues, I was able to run our app on the new simulators.
However, when…

Josh
- 1,688
- 4
- 22
- 35
22
votes
10 answers
Google Fabric in Xcode 10 beta
I installed Xcode 10 Beta 6 and I am updating everything and in this process I have run into a small issue with Fabric. Fabric's website has special instructions for Xcode 10 that says:
When I am in Xcode 10 I go to Build Phases an on the Run…

RubberDucky4444
- 2,330
- 5
- 38
- 70
21
votes
3 answers
iOS error : Heap corruption detected, free list is damaged and Incorrect guard value: 0
GFF_MJ(3248,0x103f9ab80) malloc: Heap corruption detected, free list is damaged at 0x28298ffa0
*** Incorrect guard value: 0
GFF_MJ(3248,0x103f9ab80) malloc: *** set a breakpoint in malloc_error_break to debug
Error screenshot:
After running for a…

GUOHUA
- 213
- 1
- 2
- 6
20
votes
1 answer
UIStackView inside UICollectionViewCell autolayout issues after running on Xcode 10 beta
My stack view contains an image and label to display some tasks. They were all left aligned on multiple rows.
I didn't have any issue running on Xcode 9, but when I run on Xcode 10 beta 6, I get some autolayout issues, I always get errors like for…

Adrian
- 19,440
- 34
- 112
- 219
19
votes
12 answers
Xcode 10 fails my tests in simulator without any information as to the failure
Since upgrading to Xcode 10 my tests (which before the upgrade passed) are no longer being run as far as I can tell. The build succeeds, then the tests fail, but there is no report to say why.
Originally my target OS was 10.3, but I noticed a…

Gavin
- 1,725
- 21
- 34
19
votes
9 answers
Pod file not being initialized?
When i try to initialize pod file to use cocoapods via terminal, it gives me this error. How to fix it.
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/command.rb:128:in `verify_minimum_git_version!': [!] You need at least git version…

Usama bin Attique
- 337
- 1
- 3
- 16