Post

Replies

Boosts

Views

Activity

Strange behavior for automounted directory.
I. am working on an app that uses automounted files using nfsv4 where the server has zfs filesystems. As a test I've created a very simple example and the directory in question seems to automount correctly, but when I try to access it, I get strange behavior. The directory is mounted on is /System/Volumes/Data/mnt/subdir and I can change to that directory just fine. However I get the following: 63 rrsum@Anywhere:subdata% pwd /System/Volumes/Data/mnt/subdata 64 rrsum@Anywhere:subdata% ls -la total 3 drwxr-xr-x 3 nobody nobody 4 Jan 10 13:03 . dr-xr-xr-x 3 root wheel 2 Jan 8 17:27 .. drwxr-xr-x 2 nobody nobody 3 Jan 9 11:20 dir -rw-r--r-- 1 nobody nobody 12 Jan 10 13:09 file.txt 65 rrsum@Anywhere:subdata% cd dir cd: string not in pwd: ls The directory appears in the 'ls -la' properly, but I cannot cd to it.
1
0
341
2w
Xcode project that runs only once under xcode
I have an xcode project that runs fine under xcode the first time, but if I try to run it a second time it fails in trying to open a directory (as part if the observable view data in the view's environment). It throws an error saying "Interupted system call". I have no idea how to debug something like this, so any help would be welcomed. Thanks in advance, Rick
8
0
156
May ’25
Xcode messages
I posted this as a reply.to a previous post, but got no reply, so here is a new post. I'm using. user defaults in an app with a self defined suite name. I had put aside work on the app for several months, and after returning to work on it, I'm getting xcode messages when testing, several like: "Not updating lastKnownShmemState in CFPrefsPlistSource<0x600000358360> (Domain: mySuiteName, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: Yes): 1169 -> 1181" Can anyone tell me what is wrong or point me to an answer.
2
0
448
Sep ’24
Swift build with foreign x86_64 library
I have a swift library that has worked for years and imports a foreign x86_64 C library. However, I recently replaced a broken iMac with an M2 Pro chip mac mini and I need to make some changes to the library. Now Xcode can't compile the package, saying it's ignoring the foreign library because it is not arm64 based. Moreover, if I try to compile with swift build it says it builds fine, but when I run swift test, it gives me a similar arm64 message. Is there a way to fix this, both for xcode and raw swift? Both macOS and Xcode are latest versions. Thanks in advance, Rick
1
0
375
Dec ’23