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
13
votes
1 answer
Xcode 10 Struct Initializer autoComplete not showing
I am defining my viewModels in a separate files as structs, when i am trying to create an instance of this struct in another file the autocomplete of the memberwise initializer is not showing..
This problem wasn't before(i.e Xcode 9) is it a bug in…

mojtaba al moussawi
- 1,360
- 1
- 13
- 21
13
votes
1 answer
Xcode 10: Ambiguous Constraints Error When Adding Simple Constraints
I'm working in Xcode 10 and am getting some errors when trying to add some pretty simple constraints to my view.
I have a UICollectionViewCell that I'm adding a UIStackView to. I size the UIStackView to fill the cell and set the top, bottom, left,…

tentmaking
- 2,076
- 4
- 30
- 53
13
votes
5 answers
Xcode 10 archive build failed
I'm getting the errors below when trying to archive the app. Any idea how to resolve this?
:-1: Multiple commands produce…

Fire Hand
- 25,366
- 22
- 53
- 76
12
votes
2 answers
Xcode 10.3 does not work on MacOS Big Sur 11.0.1 (non beta)
I have tried to format my MacOS, redownload Xcode 10.3. It just doesnt work.
Logs:
Process: Xcode [22467]
Path: /Users/USER/Downloads/Xcode_10.3.app/Contents/MacOS/Xcode
Identifier: …

BananZ
- 1,153
- 1
- 12
- 22
12
votes
1 answer
Can not fully remove Fabric & Crashlytics
Trying to remove fabric from an IOS project I'm working on. I have removed it from the pod file(s) and did a pod install. (When saying fabric onwards I mean both fabric and crashlytics)
I have removed any references to Fabric in the code by…

just_user
- 11,769
- 19
- 90
- 135
12
votes
1 answer
Disable Connect Hardware Keyboard setting for Simulator when executing Xcode 10 UI Tests in parallel
When I run my UI Tests with parallel execution enabled, multiple clones of an existing simulator (for example - iPad Air 2) are created to run different test suites.
In a Run Script from this StackOverflow answer, I am injecting a plist key…

vastopa
- 201
- 2
- 8
12
votes
4 answers
New Xcode 10 Generating dsym File issue
In Xcode 9 it's working perfectly and Xcode 10 my mac is hanging when generating dSYM file.
I am using MobileVLCKit for playing Live Radio Streaming URL and when I removed MobileVLCKit then it's work in Xcode 10 also.
Anyone help me out from this…

Jaydip Godhani
- 185
- 2
- 14
12
votes
2 answers
unable to find sdk 'iphoneos11.2'
IDE: Xcode10
OS: 10.13.6
A compiler error
Showing Recent Messages
Build system information
error: unable to find sdk 'iphoneos11.2' (in target 'xxx')
The project built on Xcode 9.4 / OS 10.13.4. Only after updating did the project build start…

Yinper
- 123
- 1
- 7
12
votes
2 answers
Xcode 10 test failure when running on older iOS simulators - "Failed to load test bundle... no suitable image found"
I've installed Xcode 10 and upgraded my iOS application to Swift 4.2. When I run my tests (both UI and Unit) via Xcode, on an iPhone simulator running iOS 12, the tests successfully start. When I attempt to run the tests on a simulator running a…

Andrew Bennet
- 2,600
- 1
- 21
- 55
12
votes
6 answers
status bar disappeared after full screen video in WKWebView only in iOS 12
As you can see this only happened in iOS 12.
iOS 12 iOS 11
here is my code:
import UIKit
import WebKit
class ViewController: UIViewController {
override var preferredStatusBarStyle: UIStatusBarStyle {
return…

andrew54068
- 1,326
- 14
- 29
11
votes
3 answers
My library pane is missing, how to get it back
I have already searched in the shortcuts in the Xcode preferences but I couldn't find a way to get it back.
My current interface:

Paul
- 459
- 7
- 14
11
votes
2 answers
Simulator is not working with upgrading xcode 10?
After updating the Xcode 9.4.1 to Xcode 10, no one simulator is working to build the iOS application.
My iOS Application was building and running perfectly on Xcode 9.4.1
I have multiple warnings like this:
warning: The iOS Simulator deployment…

Aashish1aug
- 795
- 1
- 8
- 22
11
votes
7 answers
Error Xcode 10 . PhaseScriptExecution failed with a nonzero exit code: errSecInternalComponent
Showing Recent Messages :-1: Code Signing /Users/.../Library/Developer/Xcode/DerivedData/ProjectName-bszhnyuqdhgiqaaeosxrsxfkscut/Build/Products/Debug-iphoneos/ProjectName.app/Frameworks/Alamofire.framework
with Identity iPhone Developer: MyName…

Mohamed Lee
- 267
- 1
- 3
- 18
11
votes
3 answers
Programmatically get application usage from Screen Time in iOS 12
I am working on one project and I want to get other application usage time. apple has launched iOS 12 and provides the new feature Screen Time. I want to know is there any way or API provided by Apple to get data from it.

Hemant Solanki
- 894
- 10
- 24
11
votes
2 answers
Ionic build fails Info.plist not found
Apple has tricked me and even though I disabled autoupdates it now pulled the most recent XCode version (Version 10.0 (10A255)) and dependencies. The effect is that I can not build my app anymore, even after removing (ionic cordova platform remove…

El Dude
- 5,328
- 11
- 54
- 101