How can you tell what the target is for a test? I have two XCTestCase classs, one with this problem, one without
Post
Replies
Boosts
Views
Activity
Golly. Thank you.
I am new to Apple development. Been using Free Software for years and years. So I have gotten used to a better quality/price ratio!
I will report it....
Thank you for your attention/.
I checked it in the debugger
Looks like that is where the bug is. Actually the dateFormatter function worked as expected, but the debugger watch window (and the print function) said date was nil.
Have I got some sort of bleeding edge version of Xcode? This is not the first bug I have found. I need Xcode 12 for LazyVStack. Thi sXcode I am running is from a xip file my boss gave me.
Wierdly enough:
user$ git status
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
	(use "git add <file>..." to update what will be committed)
	(use "git restore <file>..." to discard changes in working directory)
modified:	 B52FloorManagement.xcodeproj/project.pbxproj
modified:	 B52FloorManagement/Info.plist
This indicates that git is not going to commit the very file I want to stop it committing. But when I use Source Control -> Commit in Xcode it wants to commit those files.
Weird....
Yes. As I said that was part of the process that worked: Choose New Unit Test Class or New UI Test Class from the pop-up menu. OK
W