Apple File System is the default file system for iOS 10.3 and later, and for macOS High Sierra and later.

Posts under APFS tag

200 Posts

Post

Replies

Boosts

Views

Activity

External APFS disk not usable now...
I have Bootcamp installed on my iMac 2019. And i have a APFS formatted 1TB external HDD. I was checking my old USB sticks from Windows Disk Manager. It asked to Start Service something like that. I thought it is asking for USB stick. It was asking for my external 1TB. Clicked it without knowing. Now it looks raw and all my data in it, gone... Can i fix it? Thanks
2
0
665
Apr ’23
How to query APFS file name size limit? (NAME_MAX is wrong)
In APFS, the file name size limit seems to be 255 UTF-8 characters. This is what Wikipedia says (https://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits), and matches my own tests. However, I cannot seem to find a concrete way to query that in a C POSIX program, or even find the official documentation that says "APFS file name is 255 UTF-8 characters" as the Wikipedia article did not actually site its source. There is a syslimits.h, which defines NAME_MAX as follows:; #define NAME_MAX 255 /* max bytes in a file name */ This is extremely misleading (it's basically wrong) as APFS can handle UTF-8 characters, which probably means up to 4 * 255 = 1024 bytes. Is there an official API or compile-time constant that we can refer to? It's quite non-ideal to manually do a NAME_MAX * 4 especially when you are working on a cross-platform program that just queries NAME_MAX for bytes in say Linux. The current naive implementation of char file_name[NAME_MAX+1] will lead to buffer overflow when user has non-ASCII file names. (Edit: Obviously either way you should program defensively and check your buffer sizes regardless of whether NAME_MAX is correct)
9
0
2.2k
Mar ’23
I removed an account…what happened to files on a different profile???
I recently emptied a profile on my MacBook Air of all of its file contents, and moved it to another profile on my Mac. I then deleted the account, but a folder full of super sensitive data disappeared on my separate account. Almost all of the data was gone, except for a useless file that I haven’t touched in forever. I have tried 4 different recovery programs, but I can’t find any of the data. What the heck happened to my data? How, if possible, are the two events connected??? I am in a M1 MacBook Air 2020 with the latest update Ventura 13.2.1.
1
0
422
Mar ’23
This app was not installed because its integrity could not be verified
A valid provisioning profile for this executable was not found. I have an ad-hoc app that has worked properly for a couple of months. The BundleID, Certificate and Provisioning File are all valid and up-to-date but this morning the app will not open and users are saying they receive a message: "[APP] is No Longer Available". I tried loading the app on my phone and below is the log files. It is acting as if the Provisioning file is not available or valid, but it is fine. I checked to see if the Developer ID Notary Service is down, but all systems are online. Any thoughts? LOG: default 11:19:40.329288-0400 appconduitd 0x16aeef000 -[ACXAvailableApplicationManager applicationsUninstalledWithAppRecords:]_block_invoke: Got removal notice for app com.OCCH.MIXUS but we didn't know about it. default 11:19:40.329483-0400 installcoordinationd -[IXSDataPromise cancelForReason:client:]: <IXSPromisedTransferToPath(0x100f08f40) Name:App Asset: com.OCCH.MIXUS Creator:InstallCoordination Simple SPI UUID:B073FE63-5E0A-4FE1-A704-8E78F9F39C67 PercentComplete:1.000000 IsComplete:Y DiskUsageBytes:0> : canceled by client 17 for reason Error Domain=IXUserPresentableErrorDomain Code=14 "This app was not installed because its integrity could not be verified." UserInfo={NSUnderlyingError=0x100d0d820 {Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.I8nL9u/extracted/Payload/MIXUS.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)" UserInfo={NSLocalizedDescription=Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.I8nL9u/extracted/Payload/MIXUS.app : 0xe8008015 (A valid provisioning profile for this executable was not found.), LegacyErrorString=ApplicationVerificationFailed, SourceFileLine= default 11:19:40.329557-0400 installcoordinationd -[IXSDataPromise decommission]: Decommissioning <IXSPromisedTransferToPath(0x100f08f40) Name:App Asset: com.OCCH.MIXUS Creator:InstallCoordination Simple SPI UUID:B073FE63-5E0A-4FE1-A704-8E78F9F39C67 PercentComplete:0.000000 IsComplete:N DiskUsageBytes:0>
0
0
1.3k
Mar ’23
Sidecar
I am using my iPad Pro with Photoshop Elements installed on my desktop iMac. Works fine except the pencil and the iPad screen are not in special register. E.g. when the pen touches the pad is makes a line about 10% of the page away from the tip of the pen. Another example, when I want to select a brush icon on the iPad I need to aim about 10% higher to hit the icon. When I touch the brush icon I am actually choosing a lower icon like the pail. There is no correlation between the tip of the pencil and what I am choosing. The pencil works fine when I am not using sidecar on the iPad. Any suggestions?
1
0
465
Mar ’23
Boot Camp and Disk Utility partition
Boot Camp error "Disk could not be partitioned" In disk utility same problem, i have 3 volumes of my macintosh, and the path to the macintosh is WDC WD1001FALS-403AA0 Media > Container disk2 > Macintosh HD, i dont know why, and when i try to partition disk, i have error "APFS Container Resize Error code is 49244" Help me please
0
0
397
Mar ’23
Hello
I have an iPhone XS Max permanently stuck in logo, and it won’t get in recovery mode or DFU, but I unplugged the battery, and it did got in DFU and plugged back and started to restore but a 4042 error came up, I’ve fully charged the battery externally also deep cleaned the logic board and tried another battery an charging port both genuine still doing the same thing can anyone please help?
1
0
551
Mar ’23
Issue with my MBA 2020
Hey guys I need urgent help,I accidentally erased my internal SSD and now I'm stuck in a bootloop and my SSD don't appear anywhere except terminal and disk utilities,like it doesn't show up when I try to reinstall mac os ,when I tried using a usb for reinstallation after guid partition and stuff ,I was shown that this disk can't be used for pre flight and I'm unable to use it either then if I click on get info of my SSD in disk utilities it shows that my disk is unbootable ,not verified and it shows that every byte of my SSD is used (whole 9 digits) please help me with this asap
0
1
456
Feb ’23
DISK NOT EJECTED PROPERLY ERROR: WHERE IS THE FIX?
I am fed up with you apple. Will you ever give us a solution for this error. Clearly your problem, not the drive. Issue started when I upgraded to Monterrey from Big Sur. I literally backed up my OS before upgrading. All these error broke my SSD as it now no longer works on any computer. So, I went out and bought a brand new Samsung 8 70EVO 500GB: Drive was unreadable but at least stable when plugged in out of the box. As soon as I reformatted the drive to APFS it started ejecting on it's own. Will you ever give us a fix or do we all have to move to another OS? Windows is terrible but at least I can use an SSD...
0
0
947
Feb ’23
Cannot remount an APFS filesystem as read-write
I have a local APFS filesystem (sparsebundle disk image) mounted read-only: /dev/disk5s1 on /opt/homebrew (apfs, local, nodev, nosuid, read-only, journaled, noowners, nobrowse) There are no open files as reported by $ sudo lsof +f -- /opt/homebrew However, an attempt to remount via the -u and -w options fails with the following error: $ sudo mount -u -w /opt/homebrew mount_apfs: volume could not be mounted: Permission denied mount: /opt/homebrew failed with 66 Is there a configuration option that I'm missing?
0
0
1.2k
Feb ’23
Bye bye emojis
The emojis have stopped popping up on my keyboard and I cannot figure out how to fix I’ve updated I reset the keyboard I’ve removed and added back I’m super annoyed someone please help!!!!
1
0
500
Feb ’23
fix the errors in my code
import UIKit import AVFoundation class ViewController: UIViewController { @IBOutlet weak var player: UIImageView! @IBOutlet weak var enemy: UIImageView! @IBOutlet weak var scoreLabel: UILabel! @IBOutlet weak var gameOverLabel: UILabel! @IBOutlet weak var levelLabel: UILabel! @IBOutlet weak var powerUp: UIImageView! @IBOutlet weak var powerUpLabel: UILabel! var score = 0 var gameOver = false var level = 1 var powerUpActive = false var powerUpTime = 0 var backgroundMusic: AVAudioPlayer! var enemyDeathSound: AVAudioPlayer! var powerUpSound: AVAudioPlayer! override func viewDidLoad() { super.viewDidLoad() // Add swipe gestures let leftSwipe = UISwipeGestureRecognizer(target: self, action: #selector(swipeLeft)) leftSwipe.direction = .left view.addGestureRecognizer(leftSwipe) let rightSwipe = UISwipeGestureRecognizer(target: self, action: #selector(swipeRight)) rightSwipe.direction = .right view.addGestureRecognizer(rightSwipe) // Load sound effects loadSounds() // Start the enemy moving moveEnemy() // Start the game loop Timer.scheduledTimer(timeInterval: 0.01, target: self, selector: #selector(gameLoop), userInfo: nil, repeats: true) } func loadSounds() { let backgroundMusicPath = Bundle.main.path(forResource: "background", ofType: "mp3") let backgroundMusicUrl = URL(fileURLWithPath: backgroundMusicPath!) do { backgroundMusic = try AVAudioPlayer(contentsOf: backgroundMusicUrl) backgroundMusic.numberOfLoops = -1 backgroundMusic.prepareToPlay() backgroundMusic.play() } catch { print("Error loading background music") } let enemyDeathSoundPath = Bundle.main.path(forResource: "enemyDeath", ofType: "wav") let enemyDeathSoundUrl = URL(fileURLWithPath: enemyDeathSoundPath!) do { enemyDeathSound = try AVAudioPlayer(contentsOf: enemyDeathSoundUrl) enemyDeathSound.prepareToPlay() } catch { print("Error loading enemy death sound") } let powerUpSoundPath = Bundle.main.path(forResource: "powerUp", ofType: "wav") let powerUpSoundUrl = URL(fileURLWith
0
0
1k
Jan ’23
External APFS disk not usable now...
I have Bootcamp installed on my iMac 2019. And i have a APFS formatted 1TB external HDD. I was checking my old USB sticks from Windows Disk Manager. It asked to Start Service something like that. I thought it is asking for USB stick. It was asking for my external 1TB. Clicked it without knowing. Now it looks raw and all my data in it, gone... Can i fix it? Thanks
Replies
2
Boosts
0
Views
665
Activity
Apr ’23
How to query APFS file name size limit? (NAME_MAX is wrong)
In APFS, the file name size limit seems to be 255 UTF-8 characters. This is what Wikipedia says (https://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits), and matches my own tests. However, I cannot seem to find a concrete way to query that in a C POSIX program, or even find the official documentation that says "APFS file name is 255 UTF-8 characters" as the Wikipedia article did not actually site its source. There is a syslimits.h, which defines NAME_MAX as follows:; #define NAME_MAX 255 /* max bytes in a file name */ This is extremely misleading (it's basically wrong) as APFS can handle UTF-8 characters, which probably means up to 4 * 255 = 1024 bytes. Is there an official API or compile-time constant that we can refer to? It's quite non-ideal to manually do a NAME_MAX * 4 especially when you are working on a cross-platform program that just queries NAME_MAX for bytes in say Linux. The current naive implementation of char file_name[NAME_MAX+1] will lead to buffer overflow when user has non-ASCII file names. (Edit: Obviously either way you should program defensively and check your buffer sizes regardless of whether NAME_MAX is correct)
Replies
9
Boosts
0
Views
2.2k
Activity
Mar ’23
I removed an account…what happened to files on a different profile???
I recently emptied a profile on my MacBook Air of all of its file contents, and moved it to another profile on my Mac. I then deleted the account, but a folder full of super sensitive data disappeared on my separate account. Almost all of the data was gone, except for a useless file that I haven’t touched in forever. I have tried 4 different recovery programs, but I can’t find any of the data. What the heck happened to my data? How, if possible, are the two events connected??? I am in a M1 MacBook Air 2020 with the latest update Ventura 13.2.1.
Replies
1
Boosts
0
Views
422
Activity
Mar ’23
This app was not installed because its integrity could not be verified
A valid provisioning profile for this executable was not found. I have an ad-hoc app that has worked properly for a couple of months. The BundleID, Certificate and Provisioning File are all valid and up-to-date but this morning the app will not open and users are saying they receive a message: "[APP] is No Longer Available". I tried loading the app on my phone and below is the log files. It is acting as if the Provisioning file is not available or valid, but it is fine. I checked to see if the Developer ID Notary Service is down, but all systems are online. Any thoughts? LOG: default 11:19:40.329288-0400 appconduitd 0x16aeef000 -[ACXAvailableApplicationManager applicationsUninstalledWithAppRecords:]_block_invoke: Got removal notice for app com.OCCH.MIXUS but we didn't know about it. default 11:19:40.329483-0400 installcoordinationd -[IXSDataPromise cancelForReason:client:]: <IXSPromisedTransferToPath(0x100f08f40) Name:App Asset: com.OCCH.MIXUS Creator:InstallCoordination Simple SPI UUID:B073FE63-5E0A-4FE1-A704-8E78F9F39C67 PercentComplete:1.000000 IsComplete:Y DiskUsageBytes:0> : canceled by client 17 for reason Error Domain=IXUserPresentableErrorDomain Code=14 "This app was not installed because its integrity could not be verified." UserInfo={NSUnderlyingError=0x100d0d820 {Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.I8nL9u/extracted/Payload/MIXUS.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)" UserInfo={NSLocalizedDescription=Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.I8nL9u/extracted/Payload/MIXUS.app : 0xe8008015 (A valid provisioning profile for this executable was not found.), LegacyErrorString=ApplicationVerificationFailed, SourceFileLine= default 11:19:40.329557-0400 installcoordinationd -[IXSDataPromise decommission]: Decommissioning <IXSPromisedTransferToPath(0x100f08f40) Name:App Asset: com.OCCH.MIXUS Creator:InstallCoordination Simple SPI UUID:B073FE63-5E0A-4FE1-A704-8E78F9F39C67 PercentComplete:0.000000 IsComplete:N DiskUsageBytes:0>
Replies
0
Boosts
0
Views
1.3k
Activity
Mar ’23
Sidecar
I am using my iPad Pro with Photoshop Elements installed on my desktop iMac. Works fine except the pencil and the iPad screen are not in special register. E.g. when the pen touches the pad is makes a line about 10% of the page away from the tip of the pen. Another example, when I want to select a brush icon on the iPad I need to aim about 10% higher to hit the icon. When I touch the brush icon I am actually choosing a lower icon like the pail. There is no correlation between the tip of the pencil and what I am choosing. The pencil works fine when I am not using sidecar on the iPad. Any suggestions?
Replies
1
Boosts
0
Views
465
Activity
Mar ’23
fileprovider materialize an item programaticaly.
We would like to materialize an item programaticlay from the code. From the known apis there is no function that can do this. The fileproviderctl has an implementation for this functionality: ex: fileproviderctl materialize "a_file_path". How can we achieve the same functionality as "fileproviderctl materialize" call ? Thnaks.
Replies
2
Boosts
0
Views
808
Activity
Mar ’23
Email findings
how Can I get my fetch rewards in my private email?
Replies
0
Boosts
0
Views
558
Activity
Mar ’23
Boot Camp and Disk Utility partition
Boot Camp error "Disk could not be partitioned" In disk utility same problem, i have 3 volumes of my macintosh, and the path to the macintosh is WDC WD1001FALS-403AA0 Media > Container disk2 > Macintosh HD, i dont know why, and when i try to partition disk, i have error "APFS Container Resize Error code is 49244" Help me please
Replies
0
Boosts
0
Views
397
Activity
Mar ’23
Hello
I have an iPhone XS Max permanently stuck in logo, and it won’t get in recovery mode or DFU, but I unplugged the battery, and it did got in DFU and plugged back and started to restore but a 4042 error came up, I’ve fully charged the battery externally also deep cleaned the logic board and tried another battery an charging port both genuine still doing the same thing can anyone please help?
Replies
1
Boosts
0
Views
551
Activity
Mar ’23
Downloading Beta version
Im a computer developer, it seems not updates yet and ready. I am looking forwarding for more upcoming features and updates. Thank you.
Replies
1
Boosts
0
Views
687
Activity
Feb ’23
Redirect to PWA app
I have a pwa app and I would like to redirect user to pwa app after they click a button from safari website with same domain.
Replies
0
Boosts
3
Views
942
Activity
Feb ’23
visual effects via google meet
hey, we can't use visual effects on google meet on safari even though webgl 2.0 is enabled
Replies
0
Boosts
1
Views
745
Activity
Feb ’23
AirPod pro 2 and iPod nano! So so disappointing.
i bought AirPod pro 2 to use with my nano and it doesn’t work. Some of us don’t want an iPhone that come with contracts. Some of us just want to listen to our music on our nanos. It’s so frustrating they no longer support the nano. Just support the dam nano!
Replies
1
Boosts
0
Views
591
Activity
Feb ’23
Issue with my MBA 2020
Hey guys I need urgent help,I accidentally erased my internal SSD and now I'm stuck in a bootloop and my SSD don't appear anywhere except terminal and disk utilities,like it doesn't show up when I try to reinstall mac os ,when I tried using a usb for reinstallation after guid partition and stuff ,I was shown that this disk can't be used for pre flight and I'm unable to use it either then if I click on get info of my SSD in disk utilities it shows that my disk is unbootable ,not verified and it shows that every byte of my SSD is used (whole 9 digits) please help me with this asap
Replies
0
Boosts
1
Views
456
Activity
Feb ’23
DISK NOT EJECTED PROPERLY ERROR: WHERE IS THE FIX?
I am fed up with you apple. Will you ever give us a solution for this error. Clearly your problem, not the drive. Issue started when I upgraded to Monterrey from Big Sur. I literally backed up my OS before upgrading. All these error broke my SSD as it now no longer works on any computer. So, I went out and bought a brand new Samsung 8 70EVO 500GB: Drive was unreadable but at least stable when plugged in out of the box. As soon as I reformatted the drive to APFS it started ejecting on it's own. Will you ever give us a fix or do we all have to move to another OS? Windows is terrible but at least I can use an SSD...
Replies
0
Boosts
0
Views
947
Activity
Feb ’23
Cannot remount an APFS filesystem as read-write
I have a local APFS filesystem (sparsebundle disk image) mounted read-only: /dev/disk5s1 on /opt/homebrew (apfs, local, nodev, nosuid, read-only, journaled, noowners, nobrowse) There are no open files as reported by $ sudo lsof +f -- /opt/homebrew However, an attempt to remount via the -u and -w options fails with the following error: $ sudo mount -u -w /opt/homebrew mount_apfs: volume could not be mounted: Permission denied mount: /opt/homebrew failed with 66 Is there a configuration option that I'm missing?
Replies
0
Boosts
0
Views
1.2k
Activity
Feb ’23
My camera doesn’t work in IOS 16.3
I updated iOS and the camera stopped working, the app screen is black, if you switch to the front camera in the same way, it doesn't work.
Replies
0
Boosts
0
Views
587
Activity
Feb ’23
Bye bye emojis
The emojis have stopped popping up on my keyboard and I cannot figure out how to fix I’ve updated I reset the keyboard I’ve removed and added back I’m super annoyed someone please help!!!!
Replies
1
Boosts
0
Views
500
Activity
Feb ’23
Meu aparelho desliga após 4 segundo com a câmera aberta
Tenho um aparelho IPhone XS, e há uma semana começou um problema que quando abro a câmera após 4 segundo o aparelho Reinicia.
Replies
1
Boosts
0
Views
645
Activity
Jan ’23
fix the errors in my code
import UIKit import AVFoundation class ViewController: UIViewController { @IBOutlet weak var player: UIImageView! @IBOutlet weak var enemy: UIImageView! @IBOutlet weak var scoreLabel: UILabel! @IBOutlet weak var gameOverLabel: UILabel! @IBOutlet weak var levelLabel: UILabel! @IBOutlet weak var powerUp: UIImageView! @IBOutlet weak var powerUpLabel: UILabel! var score = 0 var gameOver = false var level = 1 var powerUpActive = false var powerUpTime = 0 var backgroundMusic: AVAudioPlayer! var enemyDeathSound: AVAudioPlayer! var powerUpSound: AVAudioPlayer! override func viewDidLoad() { super.viewDidLoad() // Add swipe gestures let leftSwipe = UISwipeGestureRecognizer(target: self, action: #selector(swipeLeft)) leftSwipe.direction = .left view.addGestureRecognizer(leftSwipe) let rightSwipe = UISwipeGestureRecognizer(target: self, action: #selector(swipeRight)) rightSwipe.direction = .right view.addGestureRecognizer(rightSwipe) // Load sound effects loadSounds() // Start the enemy moving moveEnemy() // Start the game loop Timer.scheduledTimer(timeInterval: 0.01, target: self, selector: #selector(gameLoop), userInfo: nil, repeats: true) } func loadSounds() { let backgroundMusicPath = Bundle.main.path(forResource: "background", ofType: "mp3") let backgroundMusicUrl = URL(fileURLWithPath: backgroundMusicPath!) do { backgroundMusic = try AVAudioPlayer(contentsOf: backgroundMusicUrl) backgroundMusic.numberOfLoops = -1 backgroundMusic.prepareToPlay() backgroundMusic.play() } catch { print("Error loading background music") } let enemyDeathSoundPath = Bundle.main.path(forResource: "enemyDeath", ofType: "wav") let enemyDeathSoundUrl = URL(fileURLWithPath: enemyDeathSoundPath!) do { enemyDeathSound = try AVAudioPlayer(contentsOf: enemyDeathSoundUrl) enemyDeathSound.prepareToPlay() } catch { print("Error loading enemy death sound") } let powerUpSoundPath = Bundle.main.path(forResource: "powerUp", ofType: "wav") let powerUpSoundUrl = URL(fileURLWith
Replies
0
Boosts
0
Views
1k
Activity
Jan ’23