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
0
votes
0 answers
Accessing audio and image from xcassets with same name
I have to assets one is image and another is audio file. Both have the same name.
I created to assets catalogs:
Audio.xcassets
Images.xcassets
Xcode can find the images assets but not the audio files. There is a way to have the two different assets…

user2924482
- 8,380
- 23
- 89
- 173
0
votes
2 answers
Face up or Face down LandScape Orientation
I am curios about faceUp, faceDown landScape orientation in swift 4.2 perviously there were helpers methods to check faceUp, faceDown in landscape orientation. Any one know about the alternative of this helper function. Thanks in…

Muhammad Shauket
- 2,643
- 19
- 40
0
votes
1 answer
UI won't update after getting json data from Openweathermap IOS 4 Xcode 10
my JSON have been printed to console with the correct value request. but label.text and city.text won't update UI in main controller
@IBOutlet weak var icon: UIImageView!
@IBOutlet weak var date: UILabel!
@IBOutlet weak var weatherType:…

Marc Michel
- 48
- 7
0
votes
1 answer
Measure distance between UI elements in Xcode 10
I've updated to Xcode 10. It is awesome, but there is just one problem for me: in Xcode for measuring distance between UI elements you just needed to press option button, but now it's not working.
Is there any suggestions?

cahebu4
- 13
- 2
0
votes
1 answer
Swift compatibility Issue in Xcode 9.4 while using Swift 4.2 compiled framework
I have Xcode 9.4 and my framework code running in swift 3.2 and then today I downloaded Xcode 10 beta 4 and updated my framework to swift 4.2
The question is now my framework is not supporting by Xcode 9.4 and it's giving me an error says :…

tp2376
- 690
- 1
- 7
- 23
0
votes
1 answer
What is Swift 4.1.50?
I'm playing around with the Xcode 10 beta, and I noticed while doing compile-time checks of the Swift version number that projects with the Swift Language Version set to Swift 4 in their Build Settings are reporting as Swift 4.1.50 (betas 2, 3, and…

Ky -
- 30,724
- 51
- 192
- 308
0
votes
1 answer
usdz_converter[3551:150562] Could not open OBJ file asset_validation: error: No data found in file
I am getting usdz_converter[3551:150562] Could not open OBJ file
asset_validation: error: No data found in file when i try to convert .obj file to usdz file using Xcode 10 Beta.
I followed this thread How to create USDZ file using Xcode 10…

Vidhya Sri
- 1,773
- 1
- 17
- 46
0
votes
1 answer
How many user code snippets does Xcode (9 or any version) support? Unlimited, or a fixed number?
I've found Xcode feature to create user code snippets to be extremely useful. Just wondering how many user snippets it can handle.
I'd really appreciate your help. Thank you.

gbg
- 123
- 8
0
votes
2 answers
Uneditable Database Stored Locally within iOS App
I am writing an exercise app using Swift / Xcode which includes an uneditable database of exercises that will be accessed constantly. This database is composed of arrays and simple exercise objects. I would like to store this database within the…

ece321
- 3
- 3
0
votes
4 answers
SiriKit custom intent linking error on Xcode 10
I have created a new Intent file, and now I have the following linker error:
Undefined symbols for architecture arm64:
"_OBJC_METACLASS_$_INIntentResponse", referenced from:
_OBJC_METACLASS_$_KWdsjkhfjkdhskfIntentResponse in…

Corbin
- 113
- 1
- 7
0
votes
2 answers
Swift 4.2 Syntax change - What happened to Swift type inference?
I'm running Xcode 10 beta with Swift 4.2. Xcode wants to convert my Xcode 9.4.1 with Swift 4.1 code to Swift 4.2 syntax. The changes are all UIView.animate(... options: ...).
I using options like .curveEaseIn which worked fine before but it wants to…

mretondo
- 187
- 1
- 9
0
votes
2 answers
the auto generated code for an Intent defined in a `intentdefinition` throws `No newline at end of file`
I have added an Intents.intentdefinition to my project. In it I have added a new intent called OrderItem with a few parameters and parameter combination.
When I try to import the autogenerated OrderItemIntent.h, the compiler throws a No newline at…

Reza Shirazian
- 2,303
- 1
- 22
- 30
0
votes
2 answers
UICollectionView can't `dequeueReusableCellWithReuseIdentifier` if project is compiled in Xcode 10 beta (10L176w) with iOS12 SDK
Xcode 10 beta (10L176w) version has been released a few days ago. So as a developer I downloaded a beta version to try it. I compiled my current project, run it on iOS 10.3.3 iPhone and get an exception throwed by UICollectionView…

Ihar Katkavets
- 1,510
- 14
- 25
0
votes
4 answers
Xcode10 cannot run the iOS12 simulator
Running the iOS12 Simulator on xcode10 failed. but other versions of the Simulator were normal.

MingHao Tai
- 21
- 4
-1
votes
2 answers
xcode 11 xcode 10 compatibility
I have several projects developed in Xcode 10, but now Apple is saying (April 2020) that will not accept apps developed in Xcode 10, only Xcode 11. Is there any compatibility problem ? All my projects will compile properly in Xcode 11 ?

Antonio Abrantes
- 563
- 5
- 8