Post

Replies

Boosts

Views

Activity

Reply to Not sure why Swift is giving me a "Cannot find 'xFile' in scope" error
The rule you are breaking is that capitalization matters when you spell a name. You're saying xFile = ... So the Swift compiler looks for the term xFile declared as a variable name in scope, to which something can be assigned. But the word xFile doesn't appear as a variable name in scope — just as the compiler is telling you. What does appear as a variable name in scope is xfile, which as far as Swift is concerned is a totally different name.
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’22
Reply to Environment variables
The way to see all environment variable values is to add a run script to your build phases.
Replies
Boosts
Views
Activity
Sep ’21
Reply to Vary for Traits in Xcode 13 beta?
Bump. I repeat the question. Xcode 13 is final. I need the Vary For Traits feature. Some of my apps use it. Where is it?
Replies
Boosts
Views
Activity
Sep ’21
Reply to Not sure why Swift is giving me a "Cannot find 'xFile' in scope" error
The rule you are breaking is that capitalization matters when you spell a name. You're saying xFile = ... So the Swift compiler looks for the term xFile declared as a variable name in scope, to which something can be assigned. But the word xFile doesn't appear as a variable name in scope — just as the compiler is telling you. What does appear as a variable name in scope is xfile, which as far as Swift is concerned is a totally different name.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Xcode 14 fully rebuilding project each time
This isn't really a very useful solution. This change may bring down compile times but compile times are still atrociously slow. You change one line of one final class and it takes Xcode over a minute to recompile. That's criminal.
Replies
Boosts
Views
Activity
Nov ’22
Reply to Simulator install stuck
It's not actually hanging, it just takes a really long time. Keep your eye on the Finder status bar to see your hard drive slowly filling.
Replies
Boosts
Views
Activity
Jun ’23
Reply to stuck on verifying screen/ Package Dependencies
The answer from atbf is what helped me. You have to change the project setting build location and you have to close and reopen the project.
Replies
Boosts
Views
Activity
Dec ’23
Reply to iOS 17.x not installed
Me too, just started today. Feels like something belonging to Apple has suddenly started expiring.
Replies
Boosts
Views
Activity
May ’24
Reply to iOS 17.x not installed
Fixed. See https://stackoverflow.com/a/78421026/341994
Replies
Boosts
Views
Activity
May ’24
Reply to warning Nearing Test Account Limit,But I only have few users
I have zero users (except for me as owner) and I'm seeing this too
Replies
Boosts
Views
Activity
Oct ’24
Reply to warning Nearing Test Account Limit,But I only have few users
Plus the Contact page is blank so I can't even contact Apple to tell them about it.
Replies
Boosts
Views
Activity
Oct ’24
Reply to Can't disable "Connect via Network"
This remains an issue. The checkbox is grayed out so you cannot check or uncheck it.
Replies
Boosts
Views
Activity
Oct ’24
Reply to How to turn off "connect via network" on Xcode 15?
This is really lame. I absolutely do not want my devices to appear as destinations unless they are physically connected to my computer. Not only do they appear, but the build destination always defaults to one of them.
Replies
Boosts
Views
Activity
Oct ’24
Reply to Can't install any apps on my new iPhone 16 Pro with iOS 18 from XCode
Same problem with my iPhone16e. Fixed by downloading Xcode 16.3 beta.
Replies
Boosts
Views
Activity
Mar ’25
Reply to Invalid Numeric Value (NaN) Error in SwiftUI's TextField on Long-Press
Not confined to SwiftUI; this also happens in UIKit. And it is still happening in Xcode 16.3 beta.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to Xcode 16.3 Beta3: Developer Documentation Indexing does not end...resulting in Xcode CPU Usage high over long time.
@DTS Engineer Yes, I'm having this issue in beta 3 as well. UIKit is never appearing in the documentation at all.
Replies
Boosts
Views
Activity
Mar ’25