Post not yet marked as solved
Hello,
thanks for your reply. If I disable the sandbox, it works as expected, no error is shown.
I have created an empty MS-DOS image and this also works, if the sandbox is enabled.
The following error messages are shown in the Console:
error 15:10:01.039684+0200 kernel System Policy: Process(2659) deny(1) file-read-data /Volumes/SD CARD/File.tmp
error 15:10:01.046855+0200 kernel System Policy: Process(2659) deny(1) file-write-unlink /Volumes/SD CARD/FileRead.tmp
error 15:10:01.047082+0200 kernel System Policy: Process(2659) deny(1) file-read-data /Volumes/SD CARD/FileRead.tmp
error 15:10:01.047214+0200 kernel System Policy: Process(2659) deny(1) file-write-unlink /Volumes/SD CARD/File.tmp
error 15:10:01.047332+0200 kernel System Policy: Process(2659) deny(1) file-write-unlink /Volumes/SD CARD/FileRead.tmp
error 15:10:01.047454+0200 kernel System Policy: Process(2659) deny(1) file-write-unlink /Volumes/SD CARD/File.tmp
error 15:10:01.047671+0200 kernel System Policy: Process(2659) deny(1) file-write-unlink /Volumes/SD CARD/FileRead.tmp
Sometimes, writing to the SD card is successful, but then the read access is denied. Further write attempts also fail, but if I wait a couple of seconds, writing will succeed. Reading always fails though.
Hopefully this explanation helps a little bit.
Regards,
Sascha
Post not yet marked as solved
Same here, App Store Connect is unbearably slow.
Hello,
my problem was that I only set the F_NOCACHE flag when reading the file. At this point, the file is already in the cache.
The key is to also set this flag when writing to the file. This seems to no cache the file.
Thanks again.
Regards,
Sascha
Hello,
thanks for the reply. I have updated my while loop to use the following logic:
var buffer = Data(count: 4 * 1024 * 1024)
let fd = open(fileUrl.path, O_RDONLY)
if fcntl(fd, F_NOCACHE, 1) == -1 { return }
while Date.now.timeIntervalSince1970 - startTime < 5.0
{
buffer.withUnsafeMutableBytes
{
ptr in
let amount = read(fd, ptr.baseAddress, ptr.count)
self.readData += UInt64(amount)
self.totalReadData += UInt64(amount)
}
lseek(fd, 0, SEEK_SET)
}
close(fd)
The calculated speed goes up to almost 16GB/s. I tried moving the open and close calls directly into the while loop. Although this slows down the logic (as one would expect), the speed is still roughly 8GB/s.
Regards,
Sascha
Post not yet marked as solved
Strange, but it works, thanks.
But what's even stranger...since I have installed Xcode 13.1 along side Xcode 13.2, I can upload my builds with 13.2.1. I don't understand this, but hey...I am happy.
Post not yet marked as solved
Thanks for reporting, I have also submitted a report using Feedback Assistant.
To anyone also experiencing this issue: It's probably best to also submit a request!
Post not yet marked as solved
I still can not submit any new updates because of this bug. I really hope this gets fixed soon.
Post not yet marked as solved
Hello,
I have the same issue with my apps. I am using async/await in a framework that is included via Swift Packages.
I can build the app, but when I validate / upload the archive I get the following error:
This bundle is invalid. The executable code in [Name.app/Contents/Frameworks/libswift_Concurrency.dylib, Name.app/Contents/Library/LoginItems/NameLauncher.app/Contents/Frameworks/libswift_Concurrency.dylib] contain unsupported content.
Since a couple of days I have. weird issue with my Apple Magic Mouse 2. Sometimes the mouse cursor just jumps a rather large distance, it is very weird.
Just half an hour ago, I had to restart my iMac because the mouse did not scroll anymore. I just thought that my mouse had died, but after restarting, everything worked fine.
I created a ticket a couple of days ago and got a reply pretty fast. It was escalated to the Bluetooth team, but I did not anything back from them.
Post not yet marked as solved
Every single Bluetooth device works fine on my iMac and yet I think that there is something really wrong regarding Bluetooth.
Because of all this trouble I completely reinstalled macOS Monterey (I even wiped the hard drive). After reinstalling macOS Monterey, I encountered the exact same behaviour.
I have read online, that you can (in theory) reset your Bluetooth adapter by pressing Command and Shift (or only Command) and the clicking the Bluetooth menu in the menu bar.
There is additional information, but no option to reset the Bluetooth adapter.
Another problem is that there is no com.apple.bluetooth.plist file in the Preferences folder.
I really don't understand this at all.
Post not yet marked as solved
I created a new app that creates a new CBCentralManager instance and sets the delegate. The delegate functions are called properly, so this issue seems to be related to my app specifically.
Other BLE scanner apps also seem to work fine. I tried deleting some Bluetooth Caches, but that did not solve the problem.
When using the same basic code from the example app in my production app, no delegate functions are called. Very weird. Monterey will be released tomorrow, so I am quite under pressure here 😢
The scanning process starts after the state has changed to poweredOn.
I then get this error:
Invalidating assertion 236-151-4668 (target:[app<application.appid.125946431.126032515.61252494-CF92-4555-8108-9155B47AA89C(501)>:1869]) from originator [daemon<com.apple.WindowServer(88)>:151]
Closed XPC connection to session "appid-central-1869-41"
Unregistering session "appid-central-1869-41"
This pretty much appears as soon as I start the app. Bluetooth entitlement is set in the entitlements file.
I found a solution: create a new macOS version for this app and then hover over the iOS build - a delete button appears.
Hello,
thanks for the reply, now I understood what you meant. I thought that there was some technical problem. But of course it can get wild, if two extensions try to update the badge icons for the same files / folders.
What is the best way to transfer the data of the scoped URL to the Finder Sync extension? I have tried to use a distributed notification, at least the message is sent and delivered to the extension. All I can pass is a string though.
Regards