Explore the core architecture of the operating system, including the kernel, memory management, and process scheduling.

Post

Replies

Boosts

Views

Activity

Apple ID username or password is "incorrect" while trying to install OS X 10.11
After trying to install OS X El Capitan onto my hard drive, I've come across a problem. When it asks me to sign into my Apple ID I do with the correct information. It then says that my username or password is incorrect. I know this is not the case because I have reset my password and tested it by signing into the App Store on my phone. Anyone else have this problem? Any fixes? Thanks.
39
0
61k
Jun ’15
Dirty shutdown "shutdown -u"
Hi, For some reason, dirty shutdown is no longer working for me under 10.12 betaI have a script running that switches of my Mac Pro 5,1 at midnight every day. Since I travel a lot, I can remotely switch on my Mac Pro with an remotely controlled power plug switch off/switch on. Works like charm - until now. Looks like something has changed with 10.12... Anybody has an idea? Is it still working for you?Steps to reproduce:1) shutdown via terminal "shutdown -u now"2) wait until shutdown and a few minutes3) unplug the power plug and replug. Computer should start.Please note: if you do a regular shutdown, and then unplug and re-plug, computer will not start.
2
0
1.2k
Jun ’16
Console app not showing info and debug logs
I have a Swift 3 Cocoa application that uses Apple's Unified Logging, like this: - import os class MyClass { @available(OSX 10.12, *) static let scribe = OSLog(subsystem: "com.mycompany.myapp", category: "myapp") func SomeFunction(){ if #available(OSX 10.12, *){ os_log("Test Error Message", log: MyClass.scribe, type: .error) } if #available(OSX 10.12, *){ os_log("Test Info Message", log: MyClass.scribe, type: .info) } if #available(OSX 10.12, *){ os_log("Test Debug Message", log: MyClass.scribe, type: .debug) } } }Within the Console application, both Include Info Messages and Include Debug Messages are turned on.When os_log is called, only the error type message is visible in the Console application.Using Terminal, with the command, all message types are visible in the Terminal output: -sudo log stream --level debugI've tried running the Console app as root, via sudo from the command line and the same issue occurs; no debug or info messages can be seen, even though they're set to being turned on under the Action menu.Setting system-wide logging to be debug, has no effect on the Console application output:sudo log config --mode level:debugPlease can someone tell me what I'm missing and how can I view debug and info messages in the Console application?
32
0
34k
Jul ’17
Disk not ejected properly
Since upgrading my iMac to High Sierra Beta I somtimes got the 'Disk not ejected properly' from my Thunderbolt 2 raid (still HFS filesystem).After now connecting my USB 2 external disk to back up after about a minute or two it started to constantly connect and disconnect (Hole list of "Disk not ejected properly" in notifications).Connecting both disk to my Sierra MacBook Pro does not show this behavior. Any idea what is triggering this?
53
1
85k
Jul ’17
Update UIDragPreview during DragInteraction
Hey,during my drag, I need to update the UIDragPreview of the dragged item depending on it's location. I'm currently doing that by setting a new previewProvider each time the preview needs to be updated. When doing this, the current preview gets scaled down a little bit and the new one scales up, which looks a bit weird.Is there a better way to update the DragPreview? Or is there at least a way to get rid of the scaling?Best,Klemens
2
0
1.2k
Aug ’17
PDFKit memory issue
I have a loop that iterates all pages in a PDF and saves parts of its content into core data. Problem seems to be that each PDFPage takes up around 30mb+ of memory. This memory is not retuned when the loop moves to ther next page. with large enough PDF in can cause out of memory crash.At first I thought it was something in the loop holidng a reference. However when I dont run the loop, or attempt to save any of the PDFPage contents and simply swipe through the PDFPages of the PDF, the memory still goes up 30mb + per page. So my question is how to clear the previous page from memory when no longer the page in view?I would add code but seems you cant pste into here so jist know its basic PDFKit code to load a pdf url
4
0
2.3k
Feb ’18
Safari favicons don't support updating
I use the Gmail 'unread count' favicon labs option, which updates the favicon to reflect the unread message count in my inbox. It's an essential part of my browsing experience / daily workflow. The icon is correct when the tab is first loaded, but it never updates after that. Chrome and Firefox both implement this feature.
5
7
3.2k
Jun ’18
iMessage has merged 2 conversations of 2 different contacts
Hi all,I've 2 separate conversations with 2 different contacts (not the same phone number, nothing in commun).On my MacBook (High Sierra) everything works fine.But on my iPhone X running iOS 12 beta 3 (since beta 2 I've this bug), these 2 conversations are merged.When I write to one or another of these 2 contacts, it displays the 2 conversations in one screen. It merges them.When I try to create a new message, when I enter one of the 2 contacts, I don't know who receive the message, it's not always the same one that receive the message.That's really annoying.Does anyone have this issue too?I filled a bug reporter for that.Regards,Alexandre
21
2
43k
Jul ’18
Major Screen Time Bug
As a parent I was so excited to hear about Screen Time, so much so that I upgraded my sons phone to iOS Beta 2 when it came out.As a parent I setup his access on my phone for his phone and set it so that he could not longer browse the web, watch YouTube etc after 10 PM at night. As before I would go in his room at night and he would be watching videos at 1 am.... (grr)Anyways Screen Time was a blessing until the other night when I heard him up at 1 am and went into his room and there he was watching videos on his phone. For some reason Screen Time wasn't shutting of his app access at 10 PM like it was supposed to.I asked my son how he was able to get around screentime and he told me... (and I consider this a big bug!)When Screen Time kicks in and shuts his apps off, he goes into Settings > General > Date & Time and then turns off "Set Automatically" and then changes the time to a time which he is not restricted by Screen Time, which then unlocks all the apps again.I thought that was smart of him to figure that out and I have not found a way to restrict him from changing his date and time settings.Last night, again he was on his phone after bed time... and I caught him. He said he found an easier way to defeat Screen Time, and he did that by setting the Time to 24 Hour Time, for some reason Screen Time does not understand 24 hour time.I hope this can be fixed by Apple, as if it can't it negates the entire reason for parents to have Screen Time.Thanks,Scott
10
3
25k
Jul ’18
Embedded binary is not signed with the same certificate as the parent app. Verify the embedded binary target's code sign settings match the parent app's.
My Parent app IS signed correctly. I have verified in every screen. Has anyone seen this?Thanks!XCode 10.0 beta 6---------------error: Embedded binary is not signed with the same certificate as the parent app. Verify the embedded binary target's code sign settings match the parent app's. Embedded Binary Signing Certificate: Software Signing Parent App Signing Certificate: - (Ad Hoc Code Signed)
8
0
20k
Aug ’18
iOS 13 - Attempting to store >= 4194304 bytes of data in CFPreferences/NSUserDefaults on this platform is invalid
I'm trying to store a 2 separated Strings (73067 bytes) and (280628 bytes) to User Defaults, in older iOS versions just work fine, but in iOS 13, i can't save this data.This is how i save the data:UserDefaults.standard.set(myData1, forKey: KEY_MY_DATA_1)UserDefaults.standard.synchronize()UserDefaults.standard.set(myData2, forKey: KEY_MY_DATA_2)UserDefaults.standard.synchronize()Throws this error on iOS 13:2019-08-19 15:34:24.616570+0200 myAppName[4108:240228] [User Defaults] CFPrefsPlistSource<0x6000037cc980> (Domain: com.domain.myAppName, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: Yes): Attempting to store >= 4194304 bytes of data in CFPreferences/NSUserDefaults on this platform is invalid. This is a bug in myAppName or a library it uses.
18
0
11k
Aug ’19
BGProcessingTask starts only if connected to power even if requiresExternalPower is NO
I setup a BGProcessingTask that do some work with the db and at the end sends an email. I've notice that, even if I set requiresExternalPower to false the task runs only when the device is connected to the power cable. I've tested setting the repeating time every 10 minutes. If the power cable is disconnected the task isn't launhed anuymore. After I attach the cable, waiting some minutes it restarts.
7
0
2.5k
Dec ’19
Universal Links to multiple apps
I have successfully implemented Universal Links so that a visitor to specific URLs on our site is redirected to one of our apps. It all works well. Alarmingly well, in that it all worked perfectly first time. (I blame the documentation). A question I can't find specifically addressed in the documentation is: what if we have two apps that can both handle a given link? This is in fact our situation. In most cases users will have one or other of the apps installed. The correct behaviour would then be to direct the user to the installed app. In some cases the user will have both apps installed. In that case the ideal behaviour would be to direct the user to what we have defined to be the "main" app. It looks to me as if it is possible to two apps in an apple-app-site-association file, but not having found this in the documentation, I wonder: has anyone on here actually tried this? Did it work as expected?
3
0
10k
Jun ’20
Updating System files
I guess this is appropriate here since Big Sur is still in development Yesterday I created a new APFS partition with macOS Big Sur. I usually edit some files in /System/Library files to tweak my home setup to my liking, including some display settings. However the steps I usually take to be able to edit these files no longer work. These steps were: Boot the Mac in recovery mode and go to the terminal, Here I disable SIP using csrutil disable, Reboot back in to Recovery Mode, open the terminal again Remount the disk with write permissions using mount -uw / Make the edits However step 4 no longer seems to work on Big Sur as I am getting an error: mount_apfs: volume could not be mounted: Permission denied mount: / failed with 66 Is there another way to mount the file system with write permissions?
3
0
4.2k
Jun ’20
launchApplicationAtURL - Launched Application "Verifying" since Catalina
We have a test tool our engineers use to launch various versions of our application during development and verification. Each daily build of our application is stored on a server. As well, each push of a change generates a new build of our application that is stored on a server. These are added to a database and the developer application accesses the server via REST to find the desired version to run, retrieves a server path and launches the application. This tool is valuable in finding pushes that introduced regressions. The developer application (Runner) is using the launchApplicationAtURL:options:configuration:error: (deprecated I know) to launch the app. Prior to Catalina, this was working great. However, as of Catalina, this process is taking a VERY long time due to the app needing to be "verified". the app seems to need to be copied to the users machine and verified. It only occurs the first launch, but as most of the time the users are running new push or daily builds, it has made the app useless. With the new remote work environment it is even worse as VPN copy can take forever. I have switched to using NSTask with a shell script to open the executable in the bundle. If I add the developer tool (Runner) to the Developer Tools in Privacy this seems to launch the application without the need for verification. However this just seems wrong. It also provides little feedback to know when the application is up and running, which makes my user experience poor. As well many of the systems we use this tool on for verification do not have Developer Tools installed. They are VMs. Is there a way for me to use the launchApplicationAtURL:options:configuration:error: (or the new openApplicationAtURL:configuration:completionHandler:) to launch these versions of the application without the need for the lengthy verification process? Adding our application to the Developer Tools did not seem to help.
2
0
866
Jun ’20