Questions tagged [xcode11.1]
29 questions
1
vote
1 answer
Equal width option not showing in Xcode 11.1
I have installed Xcode 11.1 version recently and it is not showing an equal width option. I have dragged a view to the super view of the controller but I haven't found equal width option like in previous versions of Xcode. Please find below the…

Mahesh NFC
- 99
- 1
- 9
1
vote
1 answer
Getting Swift runtime error: "Can't end BackgroundTask: no background task exists with identifier 1"
I’m trying to implement the TableView example from Chapter 5 in Swift Programming in Easy Steps exercise. I have checked and re-checked the example code (even downloaded and tested the actual example code), but I’m still getting this runtime error.…

JMBaker
- 502
- 3
- 7
1
vote
0 answers
App crashed on iOS 13, after switching rootviewcontroller
Application runs fine on iOS 12. But crashed on iOS 13.1. I think the issue is in the setting root view controller.
let storyboard = UIStoryboard(name: storyBoard, bundle: nil)
let desiredViewController =…

Sandeep Kashyap
- 23
- 1
- 7
1
vote
2 answers
iOS 13.1 (17A844) folder not available on Xcode 11
Update: Xcode 11.1 has since been released and resolved this issue, if you need to use 11.0 check the accepted answer.
After upgrading to iOS 13.1 I am unable to install onto my device with the following error.
running iOS 13.1 (17A844), which may…

Mitchell C
- 309
- 3
- 9
0
votes
0 answers
NSButton not showing image nor text at runtime
I have a Mac app developed 6 years ago. Today, I opened the source code (in XCode 11.1, macOS Catalina 10.15.3) and run the app. The Play button is not showing the Play image as before.
Here are its properties.
Can someone please tell me what's…

aye2m
- 131
- 2
- 9
0
votes
1 answer
XCTest-Gherkin: UI test crashing on 11.4+ when updating from 11.1
I'm trying to update a project from Xcode 11.1 to 11.6. When a test step fails, instead of reporting a failure, an exception is thrown (see below).
There are changes coming to test error reporting with Xcode 12, but that shouldn't affect 11.6. The…

Dan
- 303
- 3
- 15
0
votes
1 answer
Background fetch working in simulator but not working in real device
I am calling API to get data and show local push based on the response of API so I am using background fetch service of Apple which is introduce in iOS 13 and above.
But when try to test this scenario in simulator and it works fine but when I…

Jigar Tarsariya
- 3,189
- 3
- 14
- 38
0
votes
1 answer
Why does Xcode does not throw compilation error?
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
0
}
Why does compiler does not throw error even when return keyword is not added while returning built-in data types ?
func tableView(_ tableView:…

Harshit
- 103
- 1
- 4
0
votes
0 answers
Cannot assign value of type '[CollectionViewController.ViewCell]' to type '[CollectionViewController 2.ViewCell2]'
I need to pass a structure reference from one view controller to another.
Here is my code's part:
//In CollectionViewController.swift
struct ViewCell{
var lbl : String
var details: String
}
var cellDetails = [ViewCell]()
//In a action…

recycle_bin
- 1
- 3
0
votes
1 answer
Carthage build failed .(For two Xcode)
Currently I have two Xcode version 10.2 and 11.1.
One Carthage update, build is failing with following error.
I have checked Carthage logged . It is showing following error.
I have tried different commands as follows
carthage update --platform…

ketaki Damale
- 634
- 7
- 25
0
votes
1 answer
Driver is not updation with latest value
I have one filter type enum
import RxSwift
import RxCocoa
enum FilterType {
case all
case rental
case purchased
}
var currentCategory: Driver = Driver.just(.all)
whenever I am updating the currentCategory on segment click.…

Tapash Mollick
- 41
- 4
0
votes
0 answers
Xcode 11.1 could not build module 'foundation' for Device only
Project build and run successfully on the simulator but failed on a real device.
Config:
macOS: 10.15 beta, iOS 13.1, Xcode 11.1
AppDelegate imports:
#import
#import
#import
#import…

Harshal Wani
- 2,249
- 2
- 26
- 41
0
votes
0 answers
Unable to Archive on Xcode 11 using realm
Unable to Archive using Xcode 11.1
Able to build an archive on Xcode 10.3 but archive not generating on Xcode 11
Steps:-
1.) Install latest or old 'realm'
2.) Link the realm using - react-native link realm
3.) Start generating and archive.
4.) Fails…

Hussain Chhatriwala
- 820
- 11
- 25
0
votes
0 answers
Date issue Xcode 11, 11.1 on Mojave - debugger contradiction
I'm having an issue while working with dates in Xcode11 and even on Xcode11.1. The debugger (somehow) contradicts itself.
You see, when I print the details for selectedRanges (which is a list of DateRanges with two properties:)
struct…

Deryck Lucian
- 477
- 6
- 18