Questions tagged [xcode10]

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.

984 questions
774
votes
78 answers

Xcode 10 Error: Multiple commands produce

error: Multiple commands produce '/Users/uesr/Library/Developer/Xcode/DerivedData/OptimalLive-fxatvygbofczeyhjsawtebkimvwx/Build/Products/Debug-iphoneos/OptimalLive.app/Info.plist': 1) Target 'OptimalLive' has copy command from…
make
  • 7,185
  • 3
  • 6
  • 13
214
votes
5 answers

How to collapse all methods in Xcode?

How to collapse all methods in a class in Xcode? Collapsing one by one is not an option anymore.
Omer
  • 5,140
  • 8
  • 34
  • 59
206
votes
6 answers

Where did the Object Library go in Xcode 10?

In Xcode 10, where is the Object Library which shows view and controller objects, code snippets and media that used to appear towards the lower right corner in Xcode 9 and older? Xcode 9: Xcode 10:
HuaTham
  • 7,116
  • 4
  • 25
  • 47
195
votes
5 answers

Xcode 10, where are the UI elements?

Have been out of Swift coding for almost a year, I'm back. Download Xcode 10 beta. Have I lost my mind? I've tried every trick I know, none of the UI elements show up in storyboard. Zero. The sidebar is empty. Xcode 10: Xcode 9, no problem there…
Edward Potter
  • 3,578
  • 4
  • 24
  • 34
170
votes
1 answer

Archive button grayed out in Xcode

Would you be able to help me understand the reason why Archive button is grayed out in Xcode? I have all developers profiles downloaded Device type set to iPhone 6 And archive is checked in scheme.
Andy
  • 2,016
  • 2
  • 8
  • 16
148
votes
13 answers

xcode 8 error denied by service delegate (SBMainWorkspace)

Trying to run a build on simulator and I get this error: The request to open "com.companyname.appname" failed. The request was denied by service delegate (SBMainWorkspace) for reason: Security ("Entitlement "com.apple.frontboard.debugapplications"…
RyanTCB
  • 5,944
  • 3
  • 36
  • 55
146
votes
23 answers

Command CompileSwift failed with a nonzero exit code in Xcode 10

Good afternoon, After updating to the latest version of Xcode at the moment (version 10.0) the project is unable to build because it found some errors regarding some "Command CompileSwift failed with a nonzero exit code" error. How do I solve this…
Jordi Gámez
  • 2,778
  • 3
  • 18
  • 33
138
votes
43 answers

Xcode 10, Command CodeSign failed with a nonzero exit code

Everytime I build console is showing this message. CodeSign /Users/admin/Desktop/AppStoreBuild/Project201/build/Debug-iphonesimulator/Project.app (in target: Desker) cd /Users/admin/Desktop/AppStoreBuild/Project201 export…
Test Test
  • 1,471
  • 3
  • 8
  • 8
108
votes
1 answer

Xcode 10b5 - duplicate symbol linker error, can't compile with Crashlytics

I'm trying to compile my project, which has both Firebase, Crashlytics/Fabric, and a bunch of other stuff, with Xcode 10 beta 5. It fails during linking with these errors: Ld…
xaphod
  • 5,475
  • 1
  • 30
  • 40
102
votes
8 answers

Show Assistant Editor missing in Xcode 11?

In Xcode 10, the toolbar had an inter-locking ring icon which showed the assistant editor, it's missing in Xcode 11.
Hackman
  • 2,328
  • 3
  • 12
  • 21
100
votes
3 answers

How do I toggle between Debug and Release builds in Xcode 6 / 7 / 8?

How do I get Xcode to build an OS X app in release mode? I can only seem to find instructions for earlier versions and none of the screenshots match. I didn't see anything when I put "release" into the help menu's search.
drewish
  • 8,029
  • 8
  • 36
  • 49
97
votes
12 answers

What does warning "Mapping architecture arm64 to x86_64" mean?

After migrating my framework to Xcode 10 beta (10L176w) I started to get warnings like: Mapping architecture arm64 to x86_64. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS…
0x416e746f6e
  • 9,088
  • 4
  • 36
  • 63
95
votes
9 answers

Xcode 10 - image literals no longer available

Xcode 10 Release Notes: "Code Completion for Swift image literals has been removed in Xcode 10" So it's not a bug that I couldn't add images in the code (and run older projects). How do we then add images from now on in the code as just typing…
Pawel Cichonski
  • 959
  • 1
  • 4
  • 3
94
votes
4 answers

Multi-cursor editing in Xcode 10

What is 'Multi-cursor editing' in Xcode 10 editor. (more information about the same is mentioned in release notes but unable to understand.) How exactly does it work?
Krunal
  • 68,602
  • 40
  • 230
  • 241
89
votes
27 answers

'Build input file cannot be found' Swift 4.2, Xcode 10.0

I am getting the following error when building in Xcode 10.0 with swift 4.2:
Robbie Cronin
  • 1,158
  • 1
  • 8
  • 14
1
2 3
65 66