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 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 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 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 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 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 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