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
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
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.
Topic:
Developer Tools & Services
SubTopic:
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
Topic:
App & System Services
SubTopic:
Core OS