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
44
votes
8 answers

How can I get full-resolution screenshots when the Simulator's "Pixel Accurate" option is disabled?

On Xcode 9.1 the Pixel Accurate option is disabled and grayed out under the Window menu. How can I take App Store screenshots without this option?
Crashalot
  • 33,605
  • 61
  • 269
  • 439
43
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
  • 975
  • 1
  • 11
  • 24
43
votes
5 answers

How to build Swift 3 project on Xcode 9?

Xcode 9 Release Notes says that Swift 3 compilation is supported: One compiler for Swift 4 and Swift 3, Swift 4 and Swift 3 targets can be compiled together in the same project. I have installed Xcode 9 beta. But when I press Build it shows bunch…
Exey Panteleev
  • 1,260
  • 3
  • 13
  • 15
42
votes
3 answers

Xcode 9.1 simulator stay in front button missing?

There used to be a button called "stay in front" in older versions of ios simulater. I used this often, but in recent updates it seems to be removed. Is there a any way to activate this feature ? new window menu old window menu
Kaan Erkol
  • 546
  • 5
  • 10
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
  • 46,408
  • 55
  • 231
  • 407
42
votes
5 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,647
  • 5
  • 55
  • 94
40
votes
14 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
  • 401
  • 1
  • 4
  • 4
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
  • 37,241
  • 25
  • 195
  • 267
36
votes
13 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:
Sanoj Kashyap
  • 5,020
  • 4
  • 49
  • 75
36
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,577
  • 6
  • 26
  • 44
35
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
  • 1,497
  • 1
  • 18
  • 16
34
votes
6 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
  • 3,355
  • 3
  • 25
  • 36
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
  • 8,037
  • 14
  • 65
  • 112
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
  • 11,118
  • 5
  • 63
  • 81
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,384
  • 2
  • 19
  • 37