Questions tagged [xcode9]

This tag should only be used for questions specific to the usage and features of Xcode 9. 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.

Xcode is the complete developer toolset used to create apps for Apple TV, Apple Watch, iPad, iPhone, and Mac. The Xcode development environment bundles the Instruments analysis tool, Simulator, and the OS frameworks in the form of tvOS SDKs, watchOS SDKs, iOS SDKs, and macOS SDKs.

1766 questions
26
votes
6 answers

Xcode 9 code completion and highlighting not working

I have seen many threads about this online, but not for Xcode 9. For some reason code completion and syntax highlighting is no longer working. Last week it was fine. Using the GM build. Anyone have this issue or know how to resolve it? A restart of…
Nic Hubbard
  • 41,587
  • 63
  • 251
  • 412
26
votes
6 answers

How to change navigationBar height in iOS 11?

Apparently changing the navigationBar height faced a new approach in iOS 11. in previous iOS versions it was possible to change the navigationBar height by hiding the default navigationBar and adding a new one with custom…
Mina
  • 2,167
  • 2
  • 25
  • 32
26
votes
3 answers

bottom layout deprecated since ios 11.0

What can I do to fix Bottom layout is deprecated iOS 11, I am using Xcode 9 beta 2.
Malik
  • 921
  • 11
  • 12
25
votes
2 answers

Project 'Pods' - Turn on Whole Module Optimization

In Xcode 9 I'm getting the following suggestion for a cocoa pods project: What does it do? And, shall I turn it on, or it will break things up?
Jonathan Solorzano
  • 6,812
  • 20
  • 70
  • 131
25
votes
12 answers

Shrink large title when scrolling (not UITableViewController) iOS 11

I have got a View Controller embedded in a Navigation Controller with prefers large titles option set to true; inside the View Controller there’s a Scroll View. I want to make the nav bar shrink when scrolling. How could I achieve this? Xcode 9,…
Jonathan Solorzano
  • 6,812
  • 20
  • 70
  • 131
25
votes
4 answers

xcode shortcut to go to next compiler error (ignoring warnings!)

I am aware that command + ' brings you to the next issue, but is there a way to bring you to the next compiler error and ignore the warnings? (xcode 9)
user3561494
  • 2,164
  • 1
  • 20
  • 33
25
votes
3 answers

How do I reset the Simulator in Xcode 9

I'm trying to reset it. In Xcode 8 we went to "Simulator -> Reset Content and Settings". I don't see that in Xcode 9 and need to wipe my simulator.
Gandalf458
  • 2,139
  • 1
  • 21
  • 36
25
votes
7 answers

How to log a warning that shows up as a runtime issue in Xcode?

Xcode 8 or 9 started displaying runtime issues. You see a purple icon at the top of the window, and a list in Issue Navigator, next to buildtime issues like compilation warnings and errors. The runtime issues I've seen are created by the system…
Rob N
  • 15,024
  • 17
  • 92
  • 165
24
votes
8 answers

-allowProvisioningUpdates doesn't work

We are using Jenkins for Continiuous Integration. Everything we need to do in order to compile our app is done via commandline (bash script), because we have several machines where the build has be done without any human access to the devices. As…
Trantec
  • 397
  • 1
  • 4
  • 14
24
votes
3 answers

How to change home indicator background color on iPhone X?

I would like to change the background color of the view that appears on the bottom of the new iPhone X with a home indicator inside. Is it possible?
Fengson
  • 4,751
  • 8
  • 37
  • 62
23
votes
3 answers

Could not download iOS 8.1 Simulator

When I use Xcode 9.0 download Simulator (Xcode - Preferences - Components - Simulator), It will show "Could not download and install iOS 8.1 Simulator. The certificate for this server is invalid. You might be connecting to a server that is…
andy0570
  • 574
  • 5
  • 13
23
votes
3 answers

Code Folding changes in Xcode 9/10

I know code folding was missing in the early Beta's of Xcode9 and that it is available to fold entire methods with CMD click. But in Xcode 8 i was able to fold code in blocks (i.e. individual if statements) via Editor >> Code Folding >> Fold but in…
joffd
  • 521
  • 5
  • 19
23
votes
5 answers

Launch Image names of iPhoneX?

A question about iPhoneX. I want put Launch Image of iPhoneX( 1125px × 2436px) in common folder. Not in LaunchImage source. What's the Launch Image names of iPhoneX? just like 'Default-iOS8-736h@3x', I can not found the name in …
lauren1573
  • 293
  • 1
  • 2
  • 9
22
votes
1 answer

Xcode 9 - High CPU usage - Fan max speed

Ever since I upgraded to Xcode 9, my fan goes crazy when I'm working on Xcode. This is especially happening when I use Storyboards and Interface Builder. Xcode sometimes takes up to 100% of the CPU and the process named "Interface Builder Cocoa…
Edouard Barbier
  • 1,815
  • 2
  • 19
  • 32
22
votes
2 answers

Changing UITableView style as "Grouped" Causes Crash

Changing UITableView style from Interface Builder (.xib file not storyboard) causes a crash on xCode 9. I think its an apple bug. But Is there anyone that found a solution ?
Mehmet AKYOL
  • 1,666
  • 1
  • 12
  • 20