Post not yet marked as solved
Hello dear kindly I need your support about this problem since I update my iOS 15.3.1 every time I have a call and get waiting I can’t close this sound beep beep beep beep beep only solution to end this sound press on lock bottom so both of call will end or I can reject and answer second call or I can reject only or I can answer and hold
So please I need solution for this problem
Post not yet marked as solved
I have an external SSD I've used for a while with no issue. I've recently been using it on my iPad on the go, also with no issue.
When I wanted to use it on a Mac today (after using it on my iPad for a while), the disk wouldn't mount anymore. Still does on the iPad for some reason. Tested on MacOS 12.2 & 12.2.1
Any ideas as to how this can happen ?
Here's what Disk Utility's First Aid tells me:
Running First Aid on “ExtSSD” (disk8s1)
Checking file system and repairing if necessary and if possible.
Volume is already unmounted.
Performing fsck_apfs -y -x /dev/rdisk8s1
Checking the container superblock.
error: (oid 0x14e776) om: invalid o_oid (0x71ff)
error: (oid 0x14e776) om: invalid o_type (0x3, expected 0x4000000b)
error: (oid 0x14e776) om: invalid o_type (0x3, expected 0x4000000b)
error: verification/reading of the omap object failed: Illegal byte sequence
warning: checkpoint 192 (xid 26927) failed consistency check
Checking the space manager.
error: spaceman cib out of order: 0, expected 2
Space manager is invalid.
The volume /dev/rdisk8s1 could not be verified completely.
File system check exit code is 8.
Restoring the original state found as unmounted.
File system verify or repair failed. : (-69845)
Operation failed…
Or directly Via CLI:
❯ sudo fsck_apfs /dev/rdisk8s1
** Checking the container superblock.
error: (oid 0x14e776) om: invalid o_oid (0x71ff)
error: (oid 0x14e776) om: invalid o_type (0x3, expected 0x4000000b)
error: (oid 0x14e776) om: invalid o_type (0x3, expected 0x4000000b)
error: verification/reading of the omap object failed: Illegal byte sequence
warning: checkpoint 192 (xid 26927) failed consistency check
Checking the checkpoint with transaction ID 26926.
** Checking the space manager.
error: spaceman cib out of order: 0, expected 2
Space manager is invalid.
** The volume /dev/rdisk8s1 could not be verified completely.
Post not yet marked as solved
I am an end user, not a developer. I have a 2019 MacBook Pro 16" 1 TB SSD running Monterey 12.3 Beta. I got it from a reseller and it's my first Mac so I don't know much about anything. Just trying to learn about Macs after 40 years with Windows.
Time Machine is set up with an external 4 TB Seagate drive. Set up for encryption and automatic backups. It has completed a few back ups for about 288 GB but says a full back up would be 980 GB. Periodically I get an error message that says a back up can't be completed because a snapshot of the disk couldn't be created. Or it will say there's not enough space on the Time Machine drive, which makes no sense since it's so much larger. l've reformatted the Ext HD and started over but it's still not working right.
Ideas?
TL;DR C function can't open MP3 file in app's documents directory, am I missing any sort of permissions?
I am trying to create an app to play music through the BASS Audio Library for C/C++ and while I have it playing music, I cannot seem to have it open local files.
To create a stream from a file to play in this library, you use BASS_StreamCreateFile(); function, which you pass a URL to the file to use, but even thought I can verify the URL I passing is correct and the file is in the files app, it throws error code 2 "Cannot open file"
However, when I use BASS_StreamCreateURL(); and pass in a URL from the internet, it works perfectly, so I have to assume the problem has something to do with file permissions.
Here is the C function in which I am creating these streams
int createStream(const char* url) {
//HSTREAM stream = BASS_StreamCreateURL("https://vgmsite.com/soundtracks/legend-of-zelda-ocarina-of-time-original-sound-track/fticxozs/68%20-%20Gerudo%20Valley.mp3", 0, 0, NULL, 0);
HSTREAM stream = BASS_StreamCreateFile(false, url, 0, 0, 0);
if (stream == 0) {
printf("Error at createStream, error code: %i\n", BASS_ErrorGetCode());
return 0;
} else {
return stream;
}
}
In the commented out line is the working Stream created from a URL
And here is the URL I am passing in
guard let documentsURL = fileManager.urls(for: .documentDirectory, in: .userDomainMask).first else { return }
gerudoValleyURL = documentsURL.appendingPathComponent("GerudoValley.mp3")
stream = createStream(gerudoValleyURL.absoluteString)
I can confirm that the MP3 "GerudoValley.mp3" is in the app's documents directory in the files app.
Is there anything I could do to allow this C file to open to open MP3's form the App's documents directory? The exact MP3 from that link is already there.
Post not yet marked as solved
Hey guys, i have recently tried to restore my 15" 2015 macbook pro after i upgraded to Monterey. Turns out half my apps dont work on it so i thought id just restore it from time machine.
I booted the macbook up in recoverey mode and started the recoverey process however it has not moved from "preparing to restore" for the last 24hours. I checked the log and the last entry is:
Macbook-pro OSInstaller[488] : [RESTORE] Erasing disk 'Mac' to filesystem type 'KSKDiskFileSystemAFPS', Case sensitive: No
I am currently using a seagate one touch 5TB to restore from and i was just wondering is it usual to have to wait so long or has it frozen? And what am i doing wrong?
Post not yet marked as solved
Hello everyone, here I open a post about a serious bug of the APFS Encrypted filesystem which apparently is affecting many users. Suddenly, my external drive (WD 5TB portable) stopped mounting correctly. It asks me for the password, I enter it correctly, it tells me that it is incorrect (while it is), I re-enter it and after a couple of seconds the screen disappears but the disk is not mounted on the desktop. I use Monterey 12.1 on a 16 ”i9 MBP. With disk utility I see the partition (occupied for 1.46 TB) but I cannot use it, since it gives me (com.apple.DiskManagement.disenter error 49218). Has anyone solved the problem? Is there any tool that allows me to mount the disk to copy the data? Is it possible that there is such a big bug and Apple does nothing? Thanks everyone for the answers.
Post not yet marked as solved
Hi Team,
Looking for a solution, to identify If MAC have Multiple Apple OS's installed or not.
Tried searching with StartupDisk, BootableManager etc, No luck
#OSX #APPLEDEVELOPPERFORUM
Post not yet marked as solved
How do I programmatically mount an APFS encrypted device?
If it is a normal device, Can be mounted using DADiskMount of Disk Arbitration Framework.
However, in the case of APFS encryption, it will not be mounted even if DADiskMount is used in the same way.
I think it requires a password to mount.
Please tell me if there is a way to programmatically mount the APFS encrypted device.
The language I'm currently using is Objective-C.
Post not yet marked as solved
Hello everyone,
I'm having a little issue with mounting my external hard drive lately. I've tried quite a few methods in hope of getting it to work again, but so far, no luck. I hope someone can help me solve this issue, or those who have the same problem may also share your insights.
My external hard drive was working fine about a week ago. But one day, I ejected the hard drive and the icon disappeared, so I thought it was safe to unplug it. When I did, it said the hard drive was not properly removed. It still works fine when I use it the next day, but the same thing happened. It said the drive was not properly removed after I ejected the drive, waited for the icon to disappear, and then unplugged the drive. After that, it never works again, and the attached images are the info I got when I tried to mount or run first aid on this drive.
Please help & thank you in advance!
Computer: 27" iMac - MacOS Monterey
External Hard Drive: WD_Black 4TB. APFS encrypted
Post not yet marked as solved
I have a miniMac M1 for M1 testing and development. I had set it up for dual boot with the original Big Sur partition that came with the machine and a new partition for Monterey. I've been using this for some months.
Summary:
After the steps taken below, and the subsequent steps to attempt to fix the problem, it became impossible to boot into the Big Sur partition. It seems that the System volume and the Data Volume had become disassociated making the partition unbootable.
I do see there might have been user error here; I had not gone into the Recovery mode on Monterey and enabled the possibility to boot from an external drive. Now, strictly speaking, both the Big Sur and Monterey partitions were internal since they were on the main hard drive. But could it have been that Monterey would not allow me to boot into Big Sur because I had not enabled the external boot possibility?
Detail:
I had always had the beta of Monterey installed, but because I needed to test a crash agains the release version of Monterey, I did the following:
Set the startup disk to Monterey (something I'd never done before; I usually shutdown and hold the power button to select the boot drive.)
I disabled the beta program in the System Preferences. System Update then showed the 12.0.1. I install that version and performed my tests.
I then went to the System preferences to set Big Sur as the startup disk. I was surprised to see it wasn't listed (as it always had shown up there before).
I ran Disk Utility / First Aid on the Big Sur partition, and then on the entire disk that holds both Big Sur and Monterey. They reported no problems.
Then I then went into Recovery mode, and when I selected the Big Sur disk, it said "no users available for recovery". In other words, it couldn't see the data partition with the users on it.
This seeming separation of System and Data partitions was confirmed whe I returned to the Finder after a reboot. I double-clicked the Big Sur partition, it only showed the System folder. It did not show "Users" or "Applications" or "Library"
I went back to Disk Utility. It in fact showed the Big Sur data partition. When I chose File > Show In Finder the data partition showed up, with the "Users" or "Applications" or "Library" intact. So the Data volume was still there, but somehow the link between it and the System Volume seems to have been broken.
Finally, I went to the Terminal, entered "cd /Volumes" and "ls -al". It showed the Monterey partition as a single directory. But the Apple M1 drive and it's Data partition were listed separately I sadly don't have a copy and paste, but something like this:
drwxr-xr-x 5 root wheel 160 Nov 18 07:58 .
drwxr-xr-x 20 root wheel 640 Jan 1 2020 ..
lrwxr-xr-x 1 root wheel 1 Nov 18 07:00 Monterey-> /
drwxr-xr-x 21 root wheel 672 Nov 18 00:10 BigSur
drwxr-xr-x@ 19 root wheel 608 Nov 18 00:08 Data
Any ideas what could have happened and how I can prevent it in the future?
Sincerely,
Mark
Post not yet marked as solved
During update to Monterey beta to an external ssd, startup stopped with barred circle and unusable ssd!
I have a recent time machine backup, still I don't know how to repair the respective container. In diskutil the volume is shown as "AppleAPFSMedia not initialized" and can not be repaired!
'diskutil apfs list' shows an error (Container ERROR -69808).
See partial listing:
APFS Containers (3 found)
|
.
.
.
|
+-- Container ERROR -69808
======================
APFS Container Reference: disk8
Size (Capacity Ceiling): ERROR -69620
Capacity In Use By Volumes: ERROR -69620
Capacity Not Allocated: ERROR -69620
|
+-< Physical Store disk3s2 1C0E6E67-8751-4376-8C2E-9DAA6460C864
| -----------------------------------------------------------
| APFS Physical Store Disk: disk3s2
| Size: 599995129856 B (600.0 GB)
|
+-> No Volumes
Post not yet marked as solved
Hi,
I have searched github but I haven't been able to find a developer disk images to mount on my iPhone6,2 with ideviceimagemounter running iOS 12.5.5 (16H62) the closest developer disk images are 12.4 and 13.0.
12.5.5 which has not being provided is the image I would like help obtaining for my iPhone which is unable to update past the version and as Windows is my only operating system and I don't have access to a mac or xcode.
Please explain how to compile the image or provide a download link.
I read on HERE that renaming the folder to the required ios image version number would solve the issue 'Error: ImageMountFailed' but I assume that the folder to rename is within a macOS app directory with which I dont have access to any MacOS computers. How can I get a 12.5.5 image with only Windows, I tried installing xCode to a MacOS vmware guest machine which didn't allow installation due to needing a higher version, How can I just get 12.5.5 developer disk image please.
Post not yet marked as solved
Every time a try partitioning my hard drive I receive the following error message:
"APFS Container Resize error code is 49212
A problem occurred while resizing APFS Container structures. : (-69606)"
What am I doing wrong? I have about 500 GB free on my hard drive so I know that isn't the problem. I have also disabled Time Machine snapshots.
Machine specs:
iMac (27-inch, Late 2013) running macOS Catalina Version 10.15.7
3.2 GHz Quad-Core Intel Core i5
24 GB 1600 MHz DDR3
Macintosh HD
NVIDIA GeForce GT 755M 1 GB
Post not yet marked as solved
I've used AppleScript occasionally over the years, but am a novice.
I have many files from a now defunct drawing package (fooDraw, file extension FOO). I'd like to convert them all to Adobe Illustrator files.
One way to do this would be to crawl through my Documents folder, to find any .FOO files. This should be doable, but I'm not sure how to.
When the script finds one, can it get the file name and path? If so, it could tell application fooDraw to open that file, select all, and copy. Then it could tell application Illustrator to open a new file, and paste.
But then, I need to tell Illustrator to save the file in the same directory, with the same file name.
Any help, or ideas where I might search?
TIA
Post not yet marked as solved
On my MacPro Big Sur I do not have access to the internal hard drive, when attempting to add my name as a user I receive. "'This operation can't be completed because you don't have the necessary permission.
I attempted running csrutil disable but this did not solve the issue. Also went into disk utility and ran a verification on the hard drive.
Looks like I never used my hard drive since I had my MacPro I have been using iCloud.
Volume name : Macintosh HD
Volume type : APFS System Volume
BSD device node : disk1s5
File system : APFS (Encrypted)
Connection : PCI-Express
Device tree path : IODeviceTree:/PCI0@0/RP01@1C/SSD0@0/AppleS3XController
Writable : No
Is case-sensitive : No
File system UUID : FF5BA9F1-D8CE-4418-BCD2-2E0762F5E47B
Volume capacity : 121,018,208,256
Owners enabled : No
Is encrypted : Yes
Can be verified : Yes
Can be repaired : Yes
Bootable : No
Journaled : No
Disk number : 1
Partition number : 5
Media name :
Media type : Generic
Ejectable : No
Solid state : Yes
S.M.A.R.T. status : Not Supported
Parent disks : disk1
Post not yet marked as solved
Wile researching api/frameworks for the backup solution for iOS, I slowly came to realize that there is no effective method for the corporate to monitor/audit file-system on their iOS fleet.
Ie - api is there, but limited and the user can always kill your app. Not to mention that you're quite limited in terms of background processing/monitoring
Am I missing something?
Post not yet marked as solved
I have the need to evict local copies of files in swift, currently I'm doing it the naive way:
while !evict_ok {
do {
try FileManager.default.evictUbiquitousItem(at: url)
evict_ok = true
} catch {
sleep(evict_retry_interval)
}
}
this is needed because we might try to evict the item that has not yet finished being uploaded to the drive.
?> Is there a way to register for a notification / get file state which signifies it's being uploaded, when the upload has not been initiated by us (some other filesystem activity)
Post not yet marked as solved
Hi, i'm currently designing a "backup to icloud" solution for my app, and i was wondering what were the limits regarding :
the maximum number of files in a given directory in APFS (not just the theoretical limit, but also the one that's handled decently by APFS on an iOS hardware)
the maximum number of files in a given directory that's synchronized on iCloud (there again, the limit at which it starts to slow iCloud so much it becomes a really bad idea).
Post not yet marked as solved
Hi, i am working on a swift package library that gets information about all the disks connected to the mac and displays it organised into a tree structure, including the non-mounted storage devices attached to the machine.
My question is how can i get informations about unmounted devices like:
The amount of free space (when possible) of a partition or an APFS container
The space occupied by a single APFS volume
I am already using a combination of IOKit and Disk Arbitration for my library and i don't see this information anywhere in those frameworks, including the description dictionaries provided by Disk Arbitration.
Instead the terminal command diskutil info -plist [volume/partition BSD name here] gives me this info, but i can't just use it's output in my swift program (and obtaining it via a process object for example) since it doesn't work with the app sandbox, so i am looking for a sandbox-friendly way using just the API.
I hope you can help me figure this out, really any help is appreciated, thank you for your attention.
Post not yet marked as solved
Hi, i have made some code in Swift that allows me to get a list of the storage disks and the relative partitions present in a mac (everything made using the IOKit api), this of course includes the APFS containers that are managed by the OS as separate storage devices.
To have a proper representation of the partitions tree in my code i need to know which are the actual partitions housing a given APFS container.
I have tried to look for this information on documentation and on the internet, then into the IORegistry (using the registry explorer app) and searching for this info into the description dictionaries provided by Disk arbitration but so far no luck, even by comparing the UUIDs.
In IORegistry explorer in the IOService plane I can also see that the APFS Container in my mac's ssd is listed as a sub-node of it's physical storage a partition, but since i am using an IOIterator object to scan the IORegistry i have no idea of how i should look into sub-nodes for a given node.
Also i think that some particular storage configurations might have an APFS container split across multiple physical storage devices, in fact the diskutil list -plist command shows the physical store for each APFS containers as an array in the plist output, so the child approach might not be effective there.
So how can i do this?
I am doing all of this stuff because i am working to a sandbox-friendly open source swift package for macOS apps to easily get a complete tree structure of disks and partitions, in a similar fashion to the above mentioned diskutil list -plist command, my goal is actually to have the exact same structure provided by that command, with the same info.