Hardware

RSS for tag

Delve into the physical components of Apple devices, including processors, memory, storage, and their interaction with the software.

Post

Replies

Boosts

Views

Activity

display resolution
I have a Samsung wide screen monitor that worked with 2017 MacBook Air with intel running latest OS on beta that's available - Monterrey 12.7.4 - until I download software to share with a government entity. After removing that share screen software, I can no longer get a resolution about 1920x1080, which results in my monitor display looking stretched. I've reinstalled OS three times, set to monitor to defaults two times, and still nothing. How do I add resolution size about 1920-x1080?
1
0
274
Mar ’24
mac pro 5.1 mojave rx 580 crash at sleep
Hello everybody, thanks for any feedback. I updated my cMP 4,1-5,1 from High Sierra to Mojave after installing the Saphire Nitro+ RX580. Since Mojave was installed (over H Sierra), my mac keeps crashing and restarting at sleep. I get mainly 2 kinds of reports -which I do not understand- one about kernel attack and one about bluetooth. Any help / directions is greatly aprecciated!
2
0
338
Mar ’24
Core Haptics Engine Player Destruction with Corrupted AHAP Files
Hello, I've encountered a concerning issue while working with Core Haptics which I believe warrants attention from the community and Apples engineering team. When attempting to play a haptic pattern using the ChHapticEngine.playPattern method with a corrupted AHAP file path, I've observed unexpected behavior. Specifically, the player is immediately destroyed, triggering the notifyWhenPlayersFinished callback with nil error before executing the catch block(catch block is eventually executed), Furthermore, this behavior introduces ambiguity regarding the successful playback of haptic patterns, as corrupted files can produce false positives in error notifications. Current workaround is simple, AHAP files are JSON formated files at the end of the day, so just try to decode data or create Foundation object from given JSON data. and if this fails then data must not be in expected format(or decoding strategy is off), that way you can guarantee the validity of an AHAP file before passing it to your player. Michaud Reyna, Senior iOS Engineer
1
0
359
Feb ’24
Use external camera in background iOS app
Is there a possibility to develop an iOS app that is connected to an external camera connected through lightning or USB-C port and receives video stream. We need to be able to get this video stream even while the app is in the background or if the phone is locked. We could have the camera connected wirelessly through the lightning port. Is there an available library or a sample app featuring such functionalities. Thanks.
1
0
505
Feb ’24
CMMotionManager stops sending gyro updates without calling stopGyroUpdates
I'm trying to create a productivity app that utilizes gyroscope data to detect when the phone is picked up. However, in my code, it seems that after I detect the phone flipping over, gyro updates become unavailable and I start receiving the sentinel value instead, which causes the code to not work properly. What happens is that I will receive gyro updates until faceUp changes value, at which point gyroData becomes unavailable. let dTheta = Double(self.manager.gyroData?.rotationRate.y ?? 0) if dTheta > 0.1 || dTheta < -0.1 { totalRotation = totalRotation + dTheta } tO = Date.now if(totalRotation >= 0.9 || totalRotation <= -0.9) { //Block that detects a phone flip if faceUp == true { faceUp = false } else if faceUp == false { faceUp = true stopText = "Timer paused at \(currentTimeRemaining)" } totalRotation = 0 } guard shouldProceed() else { return } currentTimeRemaining = dispTime(mustRedo: mustRedo) keepScreenOn() let hours = job.hours let mins = job.mins let secs = job.seconds if mins == 0 && hours == 0 { minsDone = true } if secs == 0 && mins == 0 { secsDone = true } if mins == 0 && minsDone == false { job.setHours(new: (hours-1)) job.setMins(new: 59) } if job.seconds == 0 && secsDone == false{ job.setMins(new: (mins-1)) job.setSeconds(new: 59) } if hours == 0 && minsDone == true && secsDone == true { workTimeActive = false //stopTimer() } else { job.setSeconds(new: job.seconds-1) } if manager.isGyroActive == false {print("not active tag 3")} currentTimeRemaining = dispTime(mustRedo: mustRedo) private func keepScreenOn() { UIApplication.shared.isIdleTimerDisabled = true } private func shouldProceed() -> Bool{ if faceUp == true { if manager.isGyroActive == false {print("not active tag 4")} return false } return true }
0
0
326
Feb ’24
Information on vibrations harmful to iPhone devices
Hey, I am writing to you on behalf of a startup company that is developing a device to protect iPhone cameras from the negative effects of vibrations, such as those generated while riding a motorcycle. We are currently in the research phase of our project and are seeking information on the specific types of vibrations that can be harmful to iPhone devices. We have found some information that suggests that micro-vibrations with frequencies between 1 and 100 Hz can be particularly damaging. Would you be able to provide us with any additional information on this topic? Any insights you can share would be greatly appreciated. Thank you for your time and consideration.
0
0
321
Feb ’24
Errors when running devicectl to extract diagnostic information from iPhone
I have Xcode 15.1 and iPhone 14 with iOS 17.3. Developer mode is enabled on the iPhone. I am executing the command xcrun devicectl diagnose -k -v I encounter errors when the command is executed (Truncated some output without any errors to be within 7000 char limit) Using verbose logging. Collecting diagnostics from this machine and all nearby devices. You can restrict the list of targeted devices using --devices. This may take several minutes. 5413D57C-7CBD-4F75-94AF-E8AE7CDF2C8C: Adding device results entry for 'iPhone-7675 (iPhone 14)' iPhone-7675 (iPhone 14): Fetch DDI metadata iPhone-7675 (iPhone 14): Starting operation 'Fetch DDI metadata' iPhone-7675 (iPhone 14): Finished 'Fetch DDI metadata'. Results at /private/var/folders/zf/3p2mcxsx6tj36w19yfthy81jxrfr_j/T/TemporaryItems/NSIRD_devicectl_Hohg2i/devicectl_diagnose_2024_02_20.14-44-05/5413D57C-7CBD-4F75-94AF-E8AE7CDF2C8C/DDIMetadata.json iPhone-7675 (Connected, iOS 17.3 21D50, 5413D57C-7CBD-4F75-94AF-E8AE7CDF2C8C): Collecting diagnostics iPhone-7675 (iPhone 14): Starting operation 'Gather network state' host: Adding host results entry for 'Host System' Host System: Starting operation 'Gather network state' Host System: Starting operation 'Gather Bonjour adverts' Host System: Starting operation 'Gather CoreDevice defaults' Host System: Starting operation 'Gather RemotePairing defaults' iPhone-7675 (iPhone 14): Gather network state: Failed to spawn binary: The specified operation is not implemented on this device. (com.apple.dt.CoreDeviceError error 1.) -------------------------------------------------------------------------------- Host System: Starting operation 'Get CoreDevice version' The operation couldn’t be completed. (CoreDevice.ActionError error 2.) NSDebugDescription = This operation cannot be performed on this device. Host System: Finished 'Gather network state'. Results at /private/var/folders/zf/3p2mcxsx6tj36w19yfthy81jxrfr_j/T/TemporaryItems/NSIRD_devicectl_Hohg2i/devicectl_diagnose_2024_02_20.14-44-05/host/ifconfig.txt Host System: Starting operation 'Get default Xcode version' Host System: Starting operation 'Get path to the default Xcode install' Host System: Starting operation 'List information about all devices' Host System: Finished 'List information about all devices'. Results at /private/var/folders/zf/3p2mcxsx6tj36w19yfthy81jxrfr_j/T/TemporaryItems/NSIRD_devicectl_Hohg2i/devicectl_diagnose_2024_02_20.14-44-05/host/CoreDevice-listDevices.json Host System: Starting operation 'List preferred DDIs for all platforms' Host System: Finished 'Get path to the default Xcode install'. Results at /private/var/folders/zf/3p2mcxsx6tj36w19yfthy81jxrfr_j/T/TemporaryItems/NSIRD_devicectl_Hohg2i/devicectl_diagnose_2024_02_20.14-44-05/host/DefaultXcode-path.txt Unable to find preferred DDI for iOS platform: CoreDeviceError(errorCode: 12007, errorUserInfo: ["DDIPlatform": "iOS", "NSLocalizedDescription": "Unable to find a developer disk image to use for the iOS platform (variants: Internal).", "DDIVariants": ["Internal"]]) Unable to find preferred DDI for tvOS platform: CoreDeviceError(errorCode: 12007, errorUserInfo: ["DDIVariants": ["Internal"], "NSLocalizedDescription": "Unable to find a developer disk image to use for the tvOS platform (variants: Internal).", "DDIPlatform": "tvOS"]) Unable to find preferred DDI for watchOS platform: CoreDeviceError(errorCode: 12007, errorUserInfo: ["DDIPlatform": "watchOS", "DDIVariants": ["Internal"], "NSLocalizedDescription": "Unable to find a developer disk image to use for the watchOS platform (variants: Internal)."]) Unable to find preferred DDI for macOS platform: CoreDeviceError(errorCode: 12007, errorUserInfo: ["DDIPlatform": "macOS", "DDIVariants": ["Public"], "NSLocalizedDescription": "Unable to find a developer disk image to use for the macOS platform (variants: Public)."]) Unable to find preferred DDI for macOS platform: CoreDeviceError(errorCode: 12007, errorUserInfo: ["DDIPlatform": "macOS", "NSLocalizedDescription": "Unable to find a developer disk image to use for the macOS platform (variants: Internal).", "DDIVariants": ["Internal"]]) Unable to find preferred DDI for visionOS platform: CoreDeviceError(errorCode: 12007, errorUserInfo: ["DDIPlatform": "xrOS", "DDIVariants": ["Public"], "NSLocalizedDescription": "Unable to find a developer disk image to use for the xrOS platform (variants: Public)."]) Unable to find preferred DDI for visionOS platform: CoreDeviceError(errorCode: 12007, errorUserInfo: ["DDIPlatform": "xrOS", "NSLocalizedDescription": "Unable to find a developer disk image to use for the xrOS platform (variants: Internal).", "DDIVariants": ["Internal"]]) Host System: Finished 'List preferred DDIs for all platforms'. Results at /private/var/folders/zf/3p2mcxsx6tj36w19yfthy81jxrfr_j/T/TemporaryItems/NSIRD_devicectl_Hohg2i/devicectl_diagnose_2024_02_20.14-44-05/host/CoreDevice-preferredDDIs.json Host System: Starting operation 'Copy the Core Device database' Copying CoreDevice database Host System: Finished 'Copy the Core Device database'. Results at /private/var/folders/zf/3p2mcxsx6tj36w19yfthy81jxrfr_j/T/TemporaryItems/NSIRD_devicectl_Hohg2i/devicectl_diagnose_2024_02_20.14-44-05/host/CoreDevice-db.sqlite Host System: Starting operation 'Copy the DDI version.plists from /Library/Developer/DeveloperDiskImages' Copying DDI version.plists from /Library/Developer/DeveloperDiskImages Host System: 'Copy the DDI version.plists from /Library/Developer/DeveloperDiskImages' failed: The file “DeveloperDiskImages” couldn’t be opened because there is no such file. (NSCocoaErrorDomain error 260.) NSFilePath = /Library/Developer/DeveloperDiskImages NSURL = file:///Library/Developer/DeveloperDiskImages/ -------------------------------------------------------------------------------- The operation couldn’t be completed. No such file or directory (NSPOSIXErrorDomain error 2.) <TRUNCATED> Effective timeout: 3600, remainingTime: 3596, will wait: 3536 seconds Waiting for 1/14 tasks to finish… Pending operations: - Host System: Gather Bonjour adverts Host System: Finished 'Gather Bonjour adverts'. Results at /private/var/folders/zf/3p2mcxsx6tj36w19yfthy81jxrfr_j/T/TemporaryItems/NSIRD_devicectl_Hohg2i/devicectl_diagnose_2024_02_20.14-44-05/host/dns-sd.txt Wrote file to /tmp/devicectl_diagnose_2024_02_20.14-44-05.zip Setting diagnostics destination to '/tmp/devicectl_diagnose_2024_02_20.14-44-05.zip' Captured diagnostics do not include a host sysdiagnose. Please capture one separately. Captured diagnostics do not include a sysdiagnose from any device. Please capture one if relevant to your issue. Command Completed, took 6.333 seconds How to resolve these errors. Additionally I am also not able to see the crash logs in the Xcode, when I go into Windows > Devices and Simulators > Open Recent Logs Thanks!
0
0
415
Feb ’24
Retrieving crash logs from iPhone programatically
I am trying to retrieve the crash logs from the iPhone programatically. The use case is, we are testing many different apps on an iPhone as part of the CI/CD process. As part to this CI/CD process, when an app crashes, we want to retrieve the crash logs from the iPhone and send a notification to the development team with the crash log. So is there a way to extract the crash logs programatically. Also what is the naming convention for a crash log file that is created in an iPhone. Thanks!
0
0
282
Feb ’24
Add eSIM - 'Open Photos' option missing
Hi, would like to check what are the conditions for the 'Open Photos' option to appear under 'Settings' &gt; 'Mobile Service' &gt; 'add eSIM'. It was available previously roughly a few weeks ago but now it is missing. I have cross-checked this with friends and colleagues who are on &gt;iOS 17 and some have that option available. Personally using iOS 17.4. Screenshot below.
4
0
603
Feb ’24
"This phone number is already in use with another account"
Id apple phone number "This phone number is already in use with another account" I have recently purchased an iPhone and I can not add my phone number to my Apple ID, in fact, it tells me that my number is already in use in another Apple ID account. Since I had already created an Apple ID many years ago, I was able to access it and request the deletion of the old account so that I could later enter my phone number into the new Apple ID. The problem is that the error persists, not allowing me to use iMessage and FaceTime. What can I do? Thanks for your attention. [Personal Information Edited by Moderator]
0
0
316
Feb ’24
iPad Pro 12.9 6th Generation, wrong resolution from navigator.mediaDevices.getUserMedia()
Hello, I've been developing a web app which I need the front camera and need to take a picture at a higher resolution. But I have one issue. When I call navigator.mediaDevices.getUserMedia() in the browser to get the resolution of the camera, it shows it as 2052 x 2736. But it's a 12 MP front camera. I take a picture of myself using the camera app on the iPad and it shows 12 MP picture. The back camera reports it fine. You can also test it out on webcamtests.com to see the resolution.
0
0
321
Feb ’24