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

APFS Documentation

Posts under APFS tag

90 Posts
Sort by:
Post not yet marked as solved
0 Replies
696 Views
I have a latest MBAir with only 256Gb which is a relatively small amount of space. I'm working in Xcode and it ate about 60Gb of space on my Mac. I have successfully tossed the .app itself and relocated the 'DerivedData" and "Archives" to the external SSD but there are still plenty of gigs lying in /Users/myname/Library/Developer. At least there are Xcode/UserData which takes 15Gb and CoreSimulator which takes additional 15Gb. It's not everything, there is about 20 more gigabytes but I want at least to move these. How would I do so?
Posted
by
Post not yet marked as solved
9 Replies
1.9k Views
I was wondering if anyone has same problem. When i plug the iphone to my windows laptop the folders in iphone showing a chinese word next to the folder name. Also images format having different type of word and when i copy them to the windows, it doesn't recognize them as images. I have already erase the iphone and when plug again, same issue is there. Please refer attached two pics. I'm running IOS 17 public beta.
Posted
by
Post not yet marked as solved
0 Replies
266 Views
How do add game logo image to appstoreconnect?
Posted
by
Post not yet marked as solved
0 Replies
374 Views
I am trying to download a sample MAUI project provided by visual studio 2022 version 17.7.3 and xcode version 15_6. The program runs on the android emulator and maccatalyst but does not compile and run on actual device because NewsstandKit is missing from the new Xcode release. I am not using NewsstandKit and not really sure what even does. I think there is something wrong with Xcode version 15_6 as it does not allow a build to go to the iPhone. Version 15 doesn't work either. I tried version 14.3, 15, 15.6 upgraded my iPhone and mac versions and so forth. I have been trying to do one simple task for over a month. Has anybody had this problem? The release notes say that NewsstandKit was removed from 15_6 so why is it still trying to link in?
Posted
by
Post marked as solved
1 Replies
384 Views
Hello, in my app I need the current amount of free space on a certain volume. I use the following code to the this information: if let mountedVolumeURLs = FileManager.default.mountedVolumeURLs(includingResourceValuesForKeys: nil) { for volumeUrl in mountedVolumeURLs { guard let values = try? self.url.resourceValues(forKeys: [.volumeTotalCapacityKey, .volumeAvailableCapacityKey]) else { continue } let totalBytes = values.allValues[.volumeTotalCapacityKey] as? UInt64 ?? 0 let freeBytes = values.allValues[.volumeAvailableCapacityKey] as? UInt64 ?? 0 // This is not always correct. } } When writing to a volume and then calling the code above, a wrong amount is returned. I suspect that there is still some cacheing going on. Is there any function that I can call to get this information from the file system without any cacheing? I guess an alternative would be to get a list of all files, get their sizes, add them up and subtract that number from the total bytes of the volume. But maybe there is a more elegant solution. I also tried something like this: let handle = try FileDescriptor.open(volumeUrl.path, .writeOnly, options: .create, permissions: .ownerReadWrite, retryOnInterrupt: true) fcntl(handle.rawValue, F_FULLFSYNC) But this did not help. I would appreciate any help. Regards
Posted
by
Post not yet marked as solved
5 Replies
619 Views
I'm writing an uninstaller, lets call it UNINS, for my developer id signed Mac app, lets call it APP(it contains system extensions) . UNINS is supposed to delete APP and its associated data. But after INS is done, it needs to delete itself. From my experience, when an app is running and we try to delete it, OS does not allow this operation. How to do this correctly? During uninstallation, if we delete an app from /Applications folder, do we also manually need to delete its data from ~/Library/Containers for all users ? Or this is done automatically by OS? if I need to unload launchdaemon that we installed, can this UNINS do that ? (Because I think unloading daemons require root priveleges)
Posted
by
Post not yet marked as solved
0 Replies
289 Views
Lately, I had Ubuntu in dual boot on an 82 GB partition and macOS on a 162 GB partition. After removing Ubuntu, I attempted to merge these partitions using Disk Utility, but I keep encountering persistent errors like "Operation failed..." "An internal state error occurred." Okay, I got it I can still the 82 GB volume as partition like people use in windows but I don't wanna do that I want a single volume with all 245 GB storage. Currently there's nothing in my 82 GB volume and macOS is installed in 162 GB volume. I've already reached out to Apple Support and reinstalled macOS twice, but the problem persists. Any advice on how to resolve this?
Posted
by
Post not yet marked as solved
0 Replies
299 Views
Is it possible to indirectly delete data stored in the stock iOS "File" app from any external app (without opening the File app)? As reference information, we have confirmed that when data is deleted from a third-party file app (e.g. Readdle's documents(https://readdle.com/ja/documents) the data is also deleted from the genuine iOS file app.
Posted
by
Post not yet marked as solved
4 Replies
418 Views
Hi all, Since I updated to MacOS Sonoma beta, 6 I have the problem that my 4TB external disk (Rocket Pro) does not mount anymore and is not even recognized in Disk Utility. On other Macs with older system software, it mounts without any problem. Am I the only one with this problem? Any suggestions? I appreciate any help you can provide. Stefan
Posted
by
Post not yet marked as solved
0 Replies
542 Views
I had updated my Mac from Ventura to Sonoma beta 7, and now want to have also the Ventura on my Mac. Below is my process. The problem was that I could not select the volume where I wanted the Ventura. I downloaded the "InstallAssistant.pkg" for Ventura and extracted from it "Install macOS Ventura.app". But it could not be started, because I was using macOS Sonoma. I made an apfs volume where I want the Ventura installed. On ssd, there are also other volumes Then, following guide of Apple (HT201372), I made successfully a bootable memory stick. I closed the Mac, and booted it keeping the start-button pressed I selected the just made external volume, and it was booted The start page of install app did not come up, but followed a series of boots with text (with estimated time) on black background Finally Ventura was installed, and dual boot (Ventura / Sonoma) working The final result was ok, and Ventura was luckily not installed on my document apfs volume, but on one of the two empty apfs volumes I had. Before this all, I had a working Ventura, and I wanted to have Sonoma beta 7 beside it. But the update process which started from System Setting, replaced my Ventura by Sonoma beta. It is a bad idea, if Apple is dropping informative details in these install processes.
Posted
by
Post not yet marked as solved
0 Replies
255 Views
Premise: I did this in an external SSD drive system. I followed the tutorial, added new clusters to the disk in Disk Utility (current system, external ssd, current external ssd), then registered the device at: https://beta.apple.com/zh-CN/enroll-your-devices, downloaded the beta system in Settings, and then clicked on Upgrade, and it didn't come up to let me choose which zoned volume to install to, directly the system automatically rebooted multiple times and upgraded the current system to beta. Question 1: Why is there no disk selection? Is it an external ssd system where selection is not possible? Q2: Can I downgrade back to the original system now? Can I downgrade back to my original system now and do it all over again? QUESTION THREE: How do I correctly install beta in the new dossier instead of the current system.
Posted
by
Post not yet marked as solved
0 Replies
218 Views
Trying to learn swift by going through the tutorial AboutMe. https://developer.apple.com/tutorials/sample-apps/aboutme see code below: struct Info { let image: String let name: String let story: String let hobbies: [String] let foods: [String] let colors: [Color] let funFacts: [String] } let information = Info( image: "Placeholder", name: "My Name", story: "A story can be about anything you can dream up. There are no right answers, there is no one else.\n\nNeed some inspiration?\nβ€’ πŸΆπŸ±πŸ›ΆοΈπŸŽ­πŸŽ€πŸŽ§πŸŽΈ\nβ€’ πŸ„β€β™€οΈπŸš΅β€β™€οΈπŸš΄β€β™€οΈβ›΅οΈπŸ₯ΎπŸ‚β›·πŸ“š\nβ€’ ✍️πŸ₯–β˜•οΈπŸ‹οΈβ€β™‚οΈπŸš²πŸ§—β€β™€οΈ ", hobbies: ["bicycle", "ticket.fill", "book.fill"], the var information does not appear to be defined anywhere. Step 3 in this section says This value, information, uses the Info structure to store all of the data used in your app. You can refer to this global variable by its name from any file of the project. But no explanation on where that definition takes place. This causes a 'not found in scope' error elsewhere in the project. Where should this be defined and of what type?
Posted
by
Post not yet marked as solved
2 Replies
615 Views
Hi guys and girls, I need your help. I was on the last beta version of Sonoma and I had to replace the screen of my Macbook pro m1. ->The problem I'm having is that when the mac starts up it goes to recovery and displays "The version of macOS on the selected drive needs to be reinstalled". It suggested that I reinstall Sonoma, which I did, but I rebooted and the same message appeared. I then erased the SSD disk with disk utility and chose to reinstall the latest version of Ventura. The installer did the job, the Mac restarted and displayed the same problem. Can you help me?
Posted
by
Post not yet marked as solved
1 Replies
629 Views
I am encountering a Asset validation failed issue with Xcode 14 when uploading .ipa file to TestFlight. Tried with uploading tools Xcode and Transporter. Despite of having a 1024x1024 pixel PNG image in my iOS asset catalog, Xcode is reporting an below error. Asset validation failed (90704) Missing App Icon. An app icon measuring 1024 by 1024 pixels in PNG format must be included in the Asset Catalog of apps built for iOS, iPadOS, or watchOS. Without this icon, apps cannot be submitted for review. For details, see https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/. (ID: 74e79ac5-0825-4ee3-ac5a-10ba3fc902cd) Here are the steps I have taken to address the issue. I have confirmed that the 1024x1024 pixel PNG image is present in the asset catalog. I have checked the image's dimensions and ensure that it indeed measures 1024x1024 pixels. I have re-imported the image into the asset catalog with Xcode 14 AllSizes, making sure that it is correctly associated with the target. I have cleaned and rebuilt the project to rule out any caching or build issues. To make sure the image properties, verified alpha channel is set as No. Also tried by adding Xamarin default AppIcons from default sample. Verified my Info.plist has key XSAppIconAssets and associated with correct AppIcon. Ensure Xcode and IOS SDK compatiblity. Version Details: Xcode : 14.3.1.21815 Visual Studio Professional 2022 for Mac, Version 17.6.4 Xamarin IOS: 16.4.0.6 .NET SDK : 7.0.308 App Minimum Deployment Target is 15. Mac Os: Ventura 13.5.2 Despite these efforts, Xcode 14 continues to flag the image as missing during asset validation. This issue is particularly troublesome as it affects the smooth development of my iOS app. Has anyone else encountered a similar issue with Xcode 14, and if so, how did you manage to address it? Thank you in advance
Posted
by
Post not yet marked as solved
1 Replies
222 Views
i dont receive notifications from instragram. i already tried every method that google gave me but still nothing. btw, this problem is running just for instagram can anyone help me?
Posted
by
Post not yet marked as solved
1 Replies
1.1k Views
Everytime I try to set a live wallpaper, I always get an error no matter what it is saying, "Motion from this live photo is not supported as a wallpaper". I have used only live photos AND ones I just made/got on IOS 17. None work... is this feature broken or am I doing something wrong?
Posted
by
Post not yet marked as solved
0 Replies
297 Views
I'm trying to use autofs to mount some macFUSE filesystems. However, autofs requires custom filesystems to provide /sbin/mount_* and this directory is not writable nor modifiable via synthentic.conf Using a launch agent or daemon is not desirable as there is a non-blocking delay before the filesystem gets mounted which causes a race condition. Is there any other option to let diskarbitrationd or autofs to automatically mount a macFUSE filesystem?
Posted
by