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

Getting random reactive swift crash
I am getting below crash in reactive swift library. Will really appreciate any help in resolving it. Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_PROTECTION_FAILURE at 0x000000016b33bfe0 Exception Codes: 0x0000000000000002, 0x000000016b33bfe0 VM Region Info: 0x16b33bfe0 is in 0x16b338000-0x16b33c000; bytes after start: 16352 bytes before end: 31 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL MALLOC_SMALL 15b800000-15c000000 [ 8192K] rw-/rwx SM=PRV GAP OF 0xf338000 BYTES ---> STACK GUARD 16b338000-16b33c000 [ 16K] ---/rwx SM=NUL ... for thread 0 Stack 16b33c000-16b438000 [ 1008K] rw-/rwx SM=SHM thread 0 Termination Reason: SIGNAL 11 Segmentation fault: 11 Terminating Process: exc handler [1677] Triggered by Thread: 0 Thread 0 name: Thread 0 Crashed: 0 libswiftCore.dylib 0x000000019371c5a8 getCache(swift::TargetTypeContextDescriptorswift::InProcess const&) + 8 (Metadata.cpp:479) 1 libswiftCore.dylib 0x000000019371d108 swift_getGenericMetadata(swift::MetadataRequest, void const* const*, swift::TargetTypeContextDescriptorswift::InProcess const*) + 56 (Metadata.cpp:937) 2 ReactiveSwift 0x0000000107cdef74 __swift_instantiateGenericMetadata + 28 (:0) 3 ReactiveSwift 0x0000000107cfe3b8 specialized Signal.Core.send(:) + 540 (Signal.swift:115) 4 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(:) + 20 (Signal.Observer.swift:111) 5 ReactiveSwift 0x0000000107cf7390 closure #3 in closure #1 in closure #1 in Signal<>.observeSwitchToLatest(::) + 188 (Flatten.swift:677) 6 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(:) + 20 (Signal.Observer.swift:111) 7 ReactiveSwift 0x0000000107d195f8 Signal.Core.tryToCommitTermination() + 604 (Signal.swift:231) 8 ReactiveSwift 0x0000000107cfe3b8 specialized Signal.Core.send(:) + 540 (Signal.swift:115) 9 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(:) + 20 (Signal.Observer.swift:111) 10 ReactiveSwift 0x0000000107cf7390 closure #3 in closure #1 in closure #1 in Signal<>.observeSwitchToLatest(::) + 188 (Flatten.swift:677) 11 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(:) + 20 (Signal.Observer.swift:111) 12 ReactiveSwift 0x0000000107d195f8 Signal.Core.tryToCommitTermination() + 604 (Signal.swift:231) 13 ReactiveSwift 0x0000000107cfe3b8 specialized Signal.Core.send(:) + 540 (Signal.swift:115) 14 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(:) + 20 (Signal.Observer.swift:111) 15 ReactiveSwift 0x0000000107cf7390 closure #3 in closure #1 in closure #1 in Signal<>.observeSwitchToLatest(:_:) + 188 (Flatten.swift:677) Here is Stack trace for the crash. crashlog.txt
1
0
651
Feb ’24
Sonoma 14.4 Notes crash
Notes crashes 2 seconds after opening with the log `Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000120c50008 Exception Codes: 0x0000000000000001, 0x0000000120c50008 Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [23832]`
1
0
575
Feb ’24
Decreased iPhone battery health
I have an iPhone 13 Promax, the battery health of which is 78%, and I would like it to be 100% after replacement. Most of the repairmen say that the cost is high, but a repair shop has announced a reasonable price. Has anyone had the experience of repairing in this repair shop? https://apple-irani.ir
1
0
480
Feb ’24
PKDrawing.image crashes on iOS 17 (EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000210)
In 2 days we have observed in Crashlytics over 50 crashes related to PKDrawing.image with EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000210 So far all on iPads with A10, A12 and A13; 100% on iOS 17 (17.1.1, 17.2, 17.3) (while in others the percent of iOS 17 was around 60-80%). Context: Images of the varying frame and scale resulting in screen resolution are being generated sequentially (in a background serial queue called almost one after another when requested), updating one CALayer.contents (and only after this update on Main Thread the next generation is allowed). One zoomable PKCanvasView is present on screen. The crashing line in code: let image = drawing.image(from: frame, scale: renderScale).cgImage The questions: Is there anything that can be done apart from throttling generation? Can the circumstances of the crash be determined – are there any indications accessible in code before calling PKDrawing.image that app might crash? The traces: 0 AGXMetalA12 AGX::BlitContext<AGX::G11::Encoders, AGX::G11::Classes, AGX::G11::ObjClasses>::copyTextureToBuffer(IOGPUMetalResource const*, unsigned long, unsigned long, unsigned long, AGXA12FamilyTexture*, unsigned int, unsigned int, MTLOrigin, MTLSize, unsigned long) + 96 9 PencilKit PKDrawing.image(from:scale:) + 28 0 AGXMetalA13 <redacted> + 96 9 PencilKit PKDrawing.image(from:scale:) + 28 0 AGXMetalA10 <redacted> + 72 9 PencilKit $s9PencilKit9PKDrawingV5image4from5scaleSo7UIImageCSo6CGRectV_12CoreGraphics7CGFloatVtF + 24
2
1
874
Feb ’24
IOs simulator Vs my personal iPhone
hi everyone does anyone understand this issues below ? What to do or change in my code when this appear my code is over more than 20 swift file I don't know which one to share lol dyld[1060]: Symbol not found: _$s21DeveloperToolsSupport17UVPreviewRegistryCMn Referenced from: /private/var/containers/Bundle/Application/ACD0F0D4-CAF4-4101-BFC0-3990E29F316E/MyPmV1.app/MyPmV1 Expected in: /System/Library/Frameworks/DeveloperToolsSupport.framework/DeveloperToolsSupport
3
0
573
Feb ’24
Question regarding longevity
As I am currently in development of an App for iOS, I also need a Mac. Currently, I am working on the Mac of my girlfriend. But, it turns out that I need a newer version of XCode which is not supported on Monterey. I also can't update Mac OS since it is not supported on this hardware anymore (also can't do it on her machine - it's hers). Long story short, I am now in the process of getting my own Mac. Unfortunately, I am not really familiar with the different Macs out there and wanted to know about longevity or longterm support of these machines regarding OS Updates. I want to be able to update also in the next cycles. As I do not have too much Budget, I wanted to find a refurbished one, but one that still supports OS Updates for a while so that I do not have the same situation next year and have a machine then which also can't update XCode/Mac OS. Is there anything you would recommend?
7
0
791
Feb ’24
Apple TV 4K (HDMI + WIFI ONLY) cannot prepare into MDM
Hello, my company ordered Apple TV 4K HDMI + WIFI only.. The device has no ethernet or USB-C port. Only has HDMI and power port. I read on Apple's website to connect to Apple configurator I have to do it via WIFI. I followed the steps from the Apple website (https://support.apple.com/en-ca/guide/apple-configurator-2/cada1ba9dab1/mac) but once I'm paired to the Apple TV and I try to "Prepare" in Apple configurator to get the device setup on MDM it tells me the AppleTV device is already prepared and asks to "Erase" which I do then the Apple TV is back to the beginning setup screen and no longer connected to WIFI... Once I run through the setup again and get back on WIFI and goto pair screen it says the same thing when I try to prepare again.. Just going in circles and not getting anywhere.. Anyone have a solution? Prepare Apple TV HD or Apple TV 4K using Wi-Fi or Ethernet Make sure your Apple TV is connected to the same network your Mac is connected to. Make sure the Apple TV is at the first screen of the Setup Assistant that says Pair Your Remote. Launch Apple Configurator 2 . From the Apple Configurator 2 menu, choose Paired Devices. Select your Apple TV in the Paired Devices list, then click Pair. Enter the six-digit personal identification number (PIN) that appears on the screen of your Apple TV. Select your Apple TV in the device window of the Apple Configurator 2. Click Prepare and follow the onscreen instructions to set up your Apple TV.
1
2
1k
Feb ’24
I need some general Core Motion advice
I'm building a physical therapy app and as part of it, I want the app to oversee and measure certain exercises that the user will do. I'm not sure if I should use Core Motion, location services, or something else. These are the specific things we want to measure: The user walks for 6 minutes. At the end of it, we tell them how far they walked. The user runs for 30 seconds. We tell them their average speed and peak speed. The user does a broad jump: basically just jumping forward as far as they can. We want to measure the distance jumped. I'm thinking location services might work for #1 but I doubt it will be accurate enough for #2. For #3 I thought I could do this with the accelerometer if I took readings at short intervals and combined them with something like the trapezoidal rule, but I can't get this to produce a reliable result. Let me know what you think, thanks.
0
0
555
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
424
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
692
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
817
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
383
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
739
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
471
Feb ’24