Questions tagged [xcode10.1]
193 questions
0
votes
1 answer
How Do I Animate a CALayer's Position?
Please have a look at the following method which I am using to move a sublayer 50 points up along the y axis. In particular, pay attention to the last line (which is commented out).
@objc func animateButtonPressed(_ sender: UIButton) {
let…

Verticon
- 2,419
- 16
- 34
0
votes
0 answers
Error: After upgrading from xcode 9 to xcode 10.1
I uploaded a build before one week from xcode 9, it didn't have any problem and was successfully uploaded to the testflight. But I upgraded to Xcode 10 , and now when I upload build then it starts complaining as:
ERROR ITMS-90725: "SDK Version…

Swift Guy
- 1,245
- 2
- 8
- 19
0
votes
0 answers
Letting a nested enum, passed as generic to superclass, conform to a protocol inline with its declaration results in infinite compiling
TL;DR
I found a bug in Swift compiler with nested enums and protocol conformance. Scroll down to Edit 3.
Original post:
I'm really frustrated... Xcode 10 just broke the other day. Not sure what triggered it. I was running 10.14.0 and Xcode 10.0 and…

Sajjon
- 8,938
- 5
- 60
- 94
0
votes
1 answer
Xcode 10.1 beta 2 Invalid Toolchain
I am going to submit my app to App Store and it finds invalid toolchain .
New apps and app updates must be built with the public (GM) versions. Xcode 9 or later.
Should I reinstall Xcode 10 GM directly instead of beta?

Jeff Bootsholz
- 2,971
- 15
- 70
- 141
-1
votes
1 answer
Trying to build Google Map on ReactNative IOS emulator but Error occured
I've been trying to build google maps on my ios React Native emulator but an error appeared saying that AIRrgooglemap dir must be added to Xcode which it has.
I researched ways to make it work such as this link…

Camille Basbous
- 299
- 5
- 11
- 34
-1
votes
1 answer
Run unit test error: xxx.h not found while this app can run and build success
OC + swift project
Multi target project for diff used
OC and swift test case can't run success, it is show xxx.h file not found after running the tese case, and the xxx.h not only same it is diff .h file at diff run
This project build or run at…

Salmon Yang
- 13
- 2
-1
votes
1 answer
Xcode 10.1 with swift language 4.2.1, My Xcode has languages swift 4.2 and How to get Swift 4.2.1
I am setting up xcode 10.1, I am having swift language as Swift 4.2, But my jenkins machine need Swift 4.2.1. How to get swift 4.2.1 in my machine.

KNS user1097323
- 11
- 8
-1
votes
1 answer
How to add text in form of list in UITextView when tap UIButton (Swift 4)?
I come to you because I need your help for Swift 4.
So, this is why I need you: I searched to add text into UITextView when I tap on an UIButton. That’s OK, I have found the solution.
@IBAction func button1(_ sender: Any) {
myTextView.text =…

Benjamin Tourin
- 43
- 9
-1
votes
1 answer
How to edit xib in Xcode 10?
I followed several tutorials in which there are some options at the right bottom of the screen like this:
that allows entering images, texts, etc.
but in my Xcode, there are no such options so I can't find anyway to edit my LaunchScreen.

Reza Shoja
- 887
- 2
- 11
- 24
-1
votes
1 answer
NotificationCenter handler updates variable but UILabel stays the same
Using Xcode 10.1 running the app on mini iPad OS 12.1.1
I am posting a notification to NotificationCenter and the handler function updates UILabel setupProgress to show the progress of a data import.
This used to work fine but has recently stopped…

toberblue
- 23
- 3
-1
votes
1 answer
Can't change input Value in Swift 4.2
I have an input UITextField and want to change his value.
I defined this UITextField like this:
@IBOutlet weak var valueInput: UITextField!
Than in viewDidLoad() I make delegate - self:
valueInput?.delegate = self
and then in viewDidLoad I try to…

Vitaliy Mckay
- 163
- 2
- 13
-2
votes
3 answers
How to get my app to fit all iPhone sizes in Portrait Mode only
I have searched and still having a problem getting my app to fit all iPhone sizes in just Portrait Mode from the iPhone 4 to the largest size iPhone currently.
What is the best way so that I can get my app to fit all size iPhones in portrait mode?
I…

LizG
- 2,246
- 1
- 23
- 38
-5
votes
1 answer
Why get wrong hashValue from Enum from Xcode 10? Is it Apple's bug?
Update:
I met this problem because I use the hashValue for get Enum count as Antonio's suggestion in this question.
And also, Antonio's answer works well before Xcode 10, I just want to know why the result is changed now.
Original…

Raymond Liao
- 1,799
- 3
- 20
- 32