we have corp own devices (ipad's) that need to disable the ability of users to turn off the location services as well as airplane mode and GPS, how this can be done?
Thanks in advance
Hardware
RSS for tagDelve into the physical components of Apple devices, including processors, memory, storage, and their interaction with the software.
Post
Replies
Boosts
Views
Activity
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.
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.
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.
i have been told I sound robotic on company Teams & Zoom calls. This has only happened in the last update of Mac OS. Has anyone else come across this and found a solution?
Mac OS: Version 14.4 Beta (23E5196e)
Mac: Mac Ultra M1 / 64Gb Mem / 1TB SSD
Again only happened since last update last week....
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]
My garageband 10.3.4 won't start with my Monterey
Hi, would like to check what are the conditions for the 'Open Photos' option to appear under 'Settings' > 'Mobile Service' > '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 >iOS 17 and some have that option available.
Personally using iOS 17.4. Screenshot below.
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!
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!
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.
Hi!
Can anyone help me?
According to the compatibility list, I am supposed to be able to connect both of my devices ( sidecar), however whenever I use Bluetooth to connect both of them, my iPad displays a message saying that my Macbook is not supported.
I've already tried updating both devices to the latest updates, still now working...
What am I doing wrong?
Hello All, I am building an application that involves the usage of accelerometer data. How I handle the data will change based on the accelerometer specifications. I have been looking all over for the accelerometer specifications for the iPhone13 (the iPhone that I am testing my application on), but I cannot find it anywhere. Is it public knowledge?
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
}
Greetings!
I've added a Matter accessory via the Apple Home app. In my app, I'm attempting to commission this device and add it to my fabric. However, when I try to open the commissioning window, I receive an error stating, MTRBaseDevice doesn't support openCommissioningWindowWithDiscriminator over XPC.
It appears that opening a commissioning window via an XPC connection is not yet supported. Is there another method to commission the device? Can I retrieve the setup payload from the MTRBaseDevice object or the shared MTRDeviceController?
Here's the simplified version of my code:
var home: HMHome // HMHome received via HMHomeManager
var accessory: HMAccessory = home.accessory[0] // my Matter-supported accessory
let deviceController = MTRDeviceController.sharedController(
withID: home.matterControllerID as NSCopying,
xpcConnect: home.matterControllerXPCConnectBlock
)
let device = MTRBaseDevice(
nodeID: accessory.matterNodeID as NSNumber,
controller: deviceController
)
device.openCommissioningWindow(
withDiscriminator: 0,
duration: 900,
queue: .main) { payload, error in
if let payload {
// payload not received
} else if let error {
// I'm getting here "Error Domain=MTRErrorDomain Code=6 "(null)""
// and "MTRBaseDevice doesn't support openCommissioningWindowWithDiscriminator over XPC" logged in the console
print(error)
}
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.
Hello,
I am working on an AR application using the IPad Pro 5th gen and I need to have more informations about the precision of the accelerometer and the gyroscope about this IPad Pro.
If anyone has informations about it or know how to get those informations, it will help me a lot !
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
I will purchased new i phone 13 in 27 Feb 2024 its 4 day old and i noticed every 4 to 5 minutes my mobiles battery drains 1% why it is possible pls fix this issue. currently working on ios 17.3.1 .pls fix this battery drain so fast.