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.

976 questions
53
votes
1 answer

Multiple commands produced error xcode 10

I am working on an iOS app. It is working fine in Xcode 9.4.1, but when I build it in Xcode 10 it gives me following error: :-1: Multiple commands produce…
Akshay Sunderwani
  • 12,428
  • 8
  • 29
  • 52
52
votes
5 answers

Xcode Clipboard: Copy & Paste stuck

I've just updated to Xcode 9.4.1 and experienced an issue with the clipboard being cleared randomly. So I select a text, hit CMD+C, then go to the position I want to paste it, hit CMD+V, but either it plays the system alert sound and doesn't paste…
Lukas Würzburger
  • 6,543
  • 7
  • 41
  • 75
49
votes
16 answers

Swift - Unable to open file in target Xcode 10

I am trying to run Aplication which I have downloaded from GitHub. When I run get error unable to open file in target, I have Xcode 10. I already searched for solution and get this one. I had the same problem, but in Xcode 6.1.1 - what fixed it for…
whatlOol
  • 611
  • 1
  • 5
  • 7
49
votes
14 answers

Xcode 10 (iOS 12) does not contain libstdc++6.0.9

I download the newest Xcode from Apple, but I found I cannot search the library named "libstdc++6.0.9".
CoderAzreal
  • 584
  • 1
  • 5
  • 8
47
votes
2 answers

Downloading Xcode from somewhere other than the App Store

I have an issue with my Mac where I basically can't download anything from the App Store because when I try to log in it can't verify my device. I tried every solution found online and took it to the Apple Store where they worked on in for an hour…
NeonBlueHair
  • 1,139
  • 2
  • 9
  • 22
46
votes
5 answers

iOS 12 not supported by Xcode 9.4 : Could not locate device support files

This iPhone 8 (Model A1863, A1905, A1906, A1907) is running iOS 12.0 (16A5308e), which may not be supported by this version of Xcode. (Version 9.4.1 (9F2000)) can anyone help with iOS 12.x device support files from Xcode 10 beta?
Yatko
  • 8,715
  • 9
  • 40
  • 46
46
votes
6 answers

Xcode 9 expand/collapse braces/brackets {} side bar missing

Can't find one under Xcode ▶ Preferences/Text Editing ▶ "Code Folding Ribbon" box.
Yakiv Kovalskyi
  • 1,737
  • 1
  • 15
  • 29
44
votes
18 answers

Xcode 10 app icon not showing

Recently updated to Xcode 10 beta and my App that previously has correct icon displayed when built and ran from Xcode 9.4 to device now shows the default blank icon when running in Xcode 10. When opening AppIcon asset it shows icon correctly in all…
Vlad
  • 5,727
  • 3
  • 38
  • 59
42
votes
16 answers

Xcode 10 Error: Multiple commands produce for 'app' and 'appex'

I got the recently discussed "Xcode 10 Error: Multiple commands produce..." error, but for the resulting app and appex file of my project. Does anyone have an idea what this means. My project has one app and two extensions (only one is part of the…
Norbert
  • 1,204
  • 1
  • 9
  • 13
41
votes
4 answers

Xcode keeps showing:-1: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2.Any solution?

When I install facebook SDK pods into my ios project, It says ":-1: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2. (in target 'FacebookCore')" I am using swift 4.2 any solution?
Jaseel.Dev
  • 730
  • 1
  • 7
  • 19
39
votes
7 answers

Which version of Xcode support iOS 12.2?

I was running my self-developed software on my iPhone 7 which runs iOS 12.2 when an alert had popped up: This iPhone 7 (Model 1660, 1778, 1779, 1780) is running iOS 12.2 (16E5201e), which may not be supported by this version of Xcode.
Jiayu Li
  • 501
  • 1
  • 4
  • 6
39
votes
5 answers

How to add/remove custom Code snippets in Xcode 11 and above

How to drag and drop a custom code to code snippets and use a shortcut text for auto-fill as we did in Xcode < 10 And how to remove the snippets?
Saranjith
  • 11,242
  • 5
  • 69
  • 122
35
votes
5 answers

Xcode Build Error Jenkins: Your session has expired. Please log in

I'm trying to build my application using jenkins pipeline using shell command. Below is the command i'm using to build the app. sh 'xcodebuild -workspace projectname.xcworkspace - allowProvisioningUpdates -scheme projectname_UAT -sdk iphoneos -…
33
votes
2 answers

The amount of Xcode tasks increase after every build

Since I'm using Xcode 10.0, the amount of tasks which Xcode is building increases every time when I build the project. To reset the amount of tasks I have to clear the project. Can anyone else retrace this issue? The main problem is, that the build…
PascalS
  • 975
  • 1
  • 16
  • 40
33
votes
3 answers

Xcode 10 warning: Stale file '/path/to/file' is located outside of the allowed root paths

Xcode 10 produces this warning when running xcodebuild in a run script phase of a build target. I do this to produce the binary for the other platform (simulator/real device) to lipo into a fat binary for distribution. The warning is produced for…
Nick
  • 3,958
  • 4
  • 32
  • 47
1 2
3
65 66