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.

1771 questions
42
votes
4 answers

Rename failed in Xcode 9

I used "renamed" function to rename a variable named "DefaultRequestURL" in Xcode 9, it alert this: alert image I have checked the file "ComposeController.swift", there is no "DefaultRequestURL"。 I have restart Xcode and do "Product -> Clean", it…
zephyr
  • 521
  • 1
  • 4
  • 8
42
votes
19 answers

Xcode 9 App installation failed, Could not write to the device

I've just updated to Xcode 9 and am getting App installation failed Could not write to the device error popup every other time. I see there are older questions on the subject, but this one is particular to iOS 11 and Xcode 9. I've never had the…
Alex Stone
  • 41,555
  • 51
  • 213
  • 379
42
votes
2 answers

What does the dark triangle, located on the folder icons in Xcode 9, mean?

I use Xcode 9.0. Some folders icons in my Xcode project have dark triangles in bottom left corner - for example, "0. Login", "Frameworks", "Products", "Pods". What does this mean?
Stanislav Chernischuk
  • 935
  • 1
  • 10
  • 23
40
votes
1 answer

This bundle is invalid - Your archive contains paths that are not allowed: ( "AppThinning.plist" )

We made an archive with Xcode 9. We exported this archive with Xcode 9. We successfully uploaded the app to iTunes Connect with Application Loader. Yet, soon after, we got this message: This bundle is invalid - Your archive contains paths that are…
Cœur
  • 32,421
  • 21
  • 173
  • 232
37
votes
4 answers

What is NSFaceIDUsageDescription - Face ID Usage Description Info.plist key?

There is a new privacy NSFaceIDUsageDescription Info.plist key in the Xcode 9 GM where a developer supplies the usage description for the permissions alert. Does anyone have a link to docs on it? The plist view in Xcode summarizes it as: Privacy -…
Steve Moser
  • 7,169
  • 3
  • 49
  • 88
34
votes
11 answers

Unable to boot device due to insufficient system resources using Xcode 9

When I try to launch an iOS Simulator from Xcode 9, the following error pops up:
Sandy
  • 4,714
  • 4
  • 42
  • 69
34
votes
5 answers

Xcode 9 commit: Couldn't communicate with helper application

I've recently updated to OSX Sierra (from El Capitan) and to Xcode 9. I removed all compatibility issues (like autolayout issues) and would like to commit to my local gitrep now. the following error appears: I thought it might be the same bug…
Pat_Morita
  • 2,883
  • 3
  • 18
  • 30
34
votes
27 answers

Xcode 9 Storyboard: an internal error occurred. editing functionality may be limited

When I am opening my project in Xcode 9, getting above error for Storyboard and Launchscreen. Note: Cleaning derived data didn't help me. Please have a look at the screenshot.
Vishwas Singh
  • 967
  • 1
  • 12
  • 16
34
votes
3 answers

How to disable font smoothing in Xcode 9?

I've got a great programming font Deccy that only looks good with font smoothing (anti aliasing) disabled in Xcode. With Xcode 8 the following would do the trick: defaults write com.apple.dt.Xcode NSFontDefaultScreenFontSubstitutionEnabled -bool…
Desmond Hume
  • 6,732
  • 13
  • 57
  • 104
33
votes
1 answer

iOS Simulator crashes after boot with "available but has no defaultDisplay"

While running a project into the simulator, it crashes after booting: Crash: 'NSInternalInconsistencyException', reason: 'Device , Booted) is available but has no defaultDisplay' I already cleaned the project files and changed the iOS…
ricardopereira
  • 9,557
  • 4
  • 53
  • 68
33
votes
9 answers

Unable to do refactoring on my Swift file in Xcode 9

I am using Xcode 9 and I am trying to do Refactoring on my Swift based file but every time I am getting below error: Refactoring engine ranges didn't match initial ranges Why isn't it matching the initial range?
CodeChanger
  • 6,296
  • 1
  • 33
  • 66
33
votes
2 answers

dyld: dyld_sim not compatible mach-o

I installed Xcode 9 and trying to run my app on ios simulator 11.0. As soon as it launches the app its crashing giving this error. What does this error mean? If my app is not compatible with ios11.0, how can I check for the compatibily? EDIT -…
nOOb iOS
  • 1,356
  • 2
  • 17
  • 33
32
votes
3 answers

Xcode 9.2 says my "iPhone has recently restarted" and won't run

I am making an app in Xcode 9.2 and trying to run it on my iPhone (5S running iOS 11.2.1), Xcode compiles the application fine (I can run it in the simulator) but it does not run on my iPhone. When I try to run it on my iPhone it just says "iPhone…
brettfazio
  • 906
  • 8
  • 23
32
votes
10 answers

"Failed to set plugin placeholders" message?

Xcode 9.1 Simulator 10.0 OSX 10.12.6 I would like to upload a new build of my sticker pack to iTunes Connect. But Product > Archive is grayed out. So I ran the Simulator and got ""Failed to set plugin placeholders for (name)." Only one answer…
markgrant
  • 321
  • 1
  • 3
  • 4
32
votes
4 answers

Taking photo with custom camera iOS 11.0 Swift 4. Update error

I have a custom camera in my app and it worked fine, but after the new update I am getting this error: 'jpegPhotoDataRepresentation(forJPEGSampleBuffer:previewPhotoSampleBuffer:)' was deprecated in iOS 11.0: Use -[AVCapturePhoto…
0ndre_
  • 3,057
  • 5
  • 19
  • 42