Dive into the vast array of tools and services available to developers.

Post

Replies

Boosts

Views

Activity

Help, Redirect Issue During OAuth Authentication on TestFlight
I'm testing a mobile app on TestFlight, and during OAuth authentication with Google Drive and Dropbox, users are redirected to a white page that says "Verification complete," but nothing happens afterward. When they close and reopen the page, they’re prompted to log in and verify again. I’ve read that redirects might behave differently in TestFlight compared to an official release, which is why I’m wondering if this issue might resolve itself upon release or if there are specific steps to fix the redirect handling in TestFlight. Any insights?
0
0
208
Aug ’24
About node graph creation
Greetings, I want to create an app for Mac and iOS that utilises nodes creations and attachments like used here https://docs-assets.developer.apple.com/published/121c7befdfd24432f4393febe305ebf0/HomePageMaterial1~dark.png As a web developer I know about Vue-flow. But I want to create apps for Mac and iOS. An apple's inner solution for these nodes creations and management if exist please share or if not then a better workaround please! Thank you,
3
0
314
Aug ’24
I can't find Device Logs with all logs in Xcode
I get crash log from ios app review rejection. I change extension name from .txt to .crash. And I goes to Window > Devices and Simulators, But I can't find Devices Logs but I have Open Recent Logs After If I open previous crash file, then I make me select Runner file. Then If I click the recent one, it crashes. I think It is not crash file coming from my device, but from ios review..? How can I symbolicate crash log that I get from iOS team? crashlog-F97824BE-F5FC-4CD1-9E06-B0C878E75E49.crash crashlog-F5525960-EB21-454C-8AAE-E68F7D5342F9.crash
1
0
448
Aug ’24
XCTest stuck and has error when take snapshot element on screen has much elements
Dear Apple Developer [Background] We are developing a service running on test mode based on XCTest Framework to support streaming, remote and automation testing with iOS devices. After we upgrade macOS Sonama and Xcode 15 version for upgrade XCTest for support iOS 17 around Jan-2024, we saw We noticed that our running on test mode services stuck and hanging frequently after a period of time. We have investigate and tried debug code and we found that main thread stuck and hanging when it call requesting snapshot of accessibility hierarchy for app. At the same time, we noticed that the application we were testing stuck and hanging too. [Environment] Application testing: Tiktok MacOS: Sonoma 14.5 Xcode: Version 15.4 (15F31d) Device test: iPhone 12 (iOS 14.8.1) Log detail: t = 1524.15s Wait for com.ss.iphone.ugc.Ame to idle t = 1536.54s Find the Application 'com.ss.iphone.ugc.Ame' t = 1536.54s Requesting snapshot of accessibility hierarchy for app with pid 509 t = 1597.56s Find the Application 'com.ss.iphone.ugc.Ame' (retry 1) t = 1597.56s Requesting snapshot of accessibility hierarchy for app with pid 509 t = 1658.58s Find the Application 'com.ss.iphone.ugc.Ame' (retry 2) t = 1658.58s Requesting snapshot of accessibility hierarchy for app with pid 509 t = 1718.58s Collecting extra data to assist test failure triage t = 1718.58s Requesting snapshot of accessibility hierarchy for app with pid 509 t = 1778.59s Requesting snapshot of accessibility hierarchy for app with pid 509 2024-08-19 14:16:44.990260+0700 WebDriverAgentRunner-Runner[489:97809] Issue type: 0 2024-08-19 14:16:44.990428+0700 WebDriverAgentRunner-Runner[489:97809] Enqueue Failure: Failed to get matching snapshot: XCTPerformOnMainRunLoop work timed out after 60.0s ((null)) (null) 0 0 t = 1843.71s Find the Application 'com.ss.iphone.ugc.Ame' t = 1843.71s Requesting snapshot of accessibility hierarchy for app with pid 509 t = 1874.72s Find the Application 'com.ss.iphone.ugc.Ame' (retry 1) t = 1874.72s Requesting snapshot of accessibility hierarchy for app with pid 509 t = 1940.76s Find the Application 'com.ss.iphone.ugc.Ame' (retry 2) t = 1940.77s Requesting snapshot of accessibility hierarchy for app with pid 509 t = 2005.80s Collecting extra data to assist test failure triage t = 2005.80s Requesting snapshot of accessibility hierarchy for app with pid 509 t = 2066.58s Requesting snapshot of accessibility hierarchy for app with pid 509 2024-08-19 14:21:33.019582+0700 WebDriverAgentRunner-Runner[489:97809] Issue type: 0 2024-08-19 14:21:33.019687+0700 WebDriverAgentRunner-Runner[489:97809] Enqueue Failure: Failed to get matching snapshot: Unable to perform work on main run loop, process main thread busy for 30.0s ((null)) (null) 0 0 2024-08-19 14:21:33.020647+0700 WebDriverAgentRunner-Runner[489:97809] Issue type: 0 2024-08-19 14:21:33.020722+0700 WebDriverAgentRunner-Runner[489:97809] Enqueue Failure: No element snapshot found for Application 'com.ss.iphone.ugc.Ame'[0.00, 0.00] -> (200.0, 259.0) ((null)) (null) 0 0 2024-08-19 14:21:33.020801+0700 WebDriverAgentRunner-Runner[489:97809] *** Assertion failure in -[XCPointerEventPath initForTouchAtPoint:offset:], XCSynthesizedEventRecord.m:263 t = 2291.08s Find the Application 'com.ss.iphone.ugc.Ame' t = 2291.08s Requesting snapshot of accessibility hierarchy for app with pid 509 t = 2352.10s Find the Application 'com.ss.iphone.ugc.Ame' (retry 1) t = 2352.10s Requesting snapshot of accessibility hierarchy for app with pid 509 t = 2413.11s Find the Application 'com.ss.iphone.ugc.Ame' (retry 2) t = 2413.11s Requesting snapshot of accessibility hierarchy for app with pid 509 t = 2473.12s Collecting extra data to assist test failure triage t = 2473.12s Requesting snapshot of accessibility hierarchy for app with pid 509 t = 2533.13s Requesting snapshot of accessibility hierarchy for app with pid 509 2024-08-19 14:29:19.552744+0700 WebDriverAgentRunner-Runner[489:97809] Issue type: 0 2024-08-19 14:29:19.553054+0700 WebDriverAgentRunner-Runner[489:97809] Enqueue Failure: Failed to get matching snapshot: XCTPerformOnMainRunLoop work timed out after 60.0s ((null)) (null) 0 0 t = 2598.27s Find the Application 'com.ss.iphone.ugc.Ame' t = 2598.28s Requesting snapshot of accessibility hierarchy for app with pid 509 t = 2659.29s Find the Application 'com.ss.iphone.ugc.Ame' (retry 1) t = 2659.29s Requesting snapshot of accessibility hierarchy for app with pid 509 t = 2720.31s Find the Application 'com.ss.iphone.ugc.Ame' (retry 2) t = 2720.32s Requesting snapshot of accessibility hierarchy for app with pid 509 t = 2780.33s Collecting extra data to assist test failure triage t = 2780.33s Requesting snapshot of accessibility hierarchy for app with pid 509 t = 2840.34s Requesting snapshot of accessibility hierarchy for app with pid 509 2024-08-19 14:34:26.806686+0700 WebDriverAgentRunner-Runner[489:97809] Issue type: 0 2024-08-19 14:34:26.806828+0700 WebDriverAgentRunner-Runner[489:97809] Enqueue Failure: Failed to get matching snapshot: XCTPerformOnMainRunLoop work timed out after 60.0s ((null)) (null) 0 0 2024-08-19 14:34:26.808114+0700 WebDriverAgentRunner-Runner[489:97809] Issue type: 0 2024-08-19 14:34:26.808205+0700 WebDriverAgentRunner-Runner[489:97809] Enqueue Failure: No element snapshot found for Application 'com.ss.iphone.ugc.Ame'[0.00, 0.00] -> (200.0, 259.0) ((null)) (null) 0 0 2024-08-19 14:34:26.809241+0700 WebDriverAgentRunner-Runner[489:97809] *** Assertion failure in -[XCPointerEventPath initForTouchAtPoint:offset:], XCSynthesizedEventRecord.m:263
1
0
408
Aug ’24
WeScan.ImageScannerControllerError iPhone Simulator
Hi everyone, I've got an issue with the iPhone simulator version 15 iOS 17.0. Every time a test attempts to take a photo, the app directs to the camera software and then this error appears. For my colleagues instead, they've been directed to the gallery. The only difference is that my machine is M1 while theirs is with Intel chip. I'm using MacOS 13.6.3, the same as them. Does anyone have any idea why this could happen? Thank you in advance.
0
0
241
Aug ’24
Can My App Use/emulate iPhone as an NFC Tag for Tap-to-Interact with the new update??
Hello, I’m developing an app and want to explore the possibility of using an iPhone to emulate an NFC tag. Specifically, I’m interested in enabling one iPhone to act as an NFC tag that another iPhone can read, creating a tap-to-interact experience within my app. Is this functionality supported by current iOS APIs, or is it something that might be available in the next update for iOS 18.1 which is supposedly unlocking iPhone NFC chips? If not, are there any workarounds or third-party solutions that can achieve this such as bluetooth low energy (BLE) maybe? Any insights or guidance on how to implement this feature would be greatly appreciated. Thank you!
1
0
581
Aug ’24
App crashes on Real Device - Ok on Xcode and simulator
Hi there I recently uploaded a new version of my iPad App on Apple Store. It runs normal on Xcode and any simulator, it builds the Archive, it uploads to Apple Store, all normal. Nut users have reported that once they downloaded the new version, it crashes upon start up. At the moment I don't have a real device with me to test it out and check the crash logs. Some facts: (Maybe relevant) I only recently upgraded to OS Sonoma and Xcode 15 I (tried to) remove(d) everything, any reference concerning Firebase, because I was testing it out and gave up using it. So I don't know if this is relevant and if I removed everything I needed. Help
1
0
260
Aug ’24
rvictl not working on Mac OS Sonoma Version 15.0 Beta (24A5309e) with version 16.0 beta 4 (16A5211f)
This was working just yesterday 8/7, this morning a new Sonoma redwood tree screen saver appears (is it related? uncertain..) and now launching rvictl no longer starts. Running on a 16 GB Mac mini with M1. Yesterday I happily used Wireshark for debug development, today no longer. Moments ago I went through the process here to enable extensions (which was not required when I initially loaded Wireshark): https://support.apple.com/guide/mac-help/change-security-settings-startup-disk-a-mac-mchl768f7291/mac Following the process and enabling both checkboxes for user and remote management, I rebooted. Still unable to launch rvictl. One of Quinn's postings included below steps: sudo launchctl load -w /Library/Apple/System/Library/LaunchDaemons/com.apple.rpmuxd.plist sudo kextload /Library/Apple/System/Library/Extensions/RemoteVirtualInterface.kext In the process, a new driver was somehow auto-downloaded from Apple, and upon another requested reboot an "Allow" button appeared when looking at my Systems Settings->Privacy and Security. Reboot again, still no go. Another Quinn posting said only the first checkbox in the security settings was required. So I rebooted again, unselected the remote management checkbox. Reboot, and still no go. But now invoking rvictl hangs. There appear to be dozens of forum posts regarding rvictl, many laced with black magic voodoo suggestions to get it running. Eye of newt, toe of frog, wool of bat, and more. Security it seems becomes the bane of development. At this point, I'm uncertain what to try - though long for yesterday's debug bliss.
3
0
403
Aug ’24
Streaming Mac Virtual Display
Is it possible to stream my Mac's virtual display to a website I create, so I can view my screen remotely? The main goal is to capture screenshots of my Mac's display using voice commands. The idea is to have the display streamed to the website, where I could say something like 'take a screenshot,' and the website would then capture and save a screenshot of the display. Has anyone done something similar or knows how this could be accomplished?
0
0
189
Aug ’24
Not able to remove Activation Lock through MDM
I am not able to remove the Activation Lock through MDM. I enabled the activation lock via https://mdmenrollment.apple.com/device/activationlock My device is listed in the ABM portal and i used the provided snippet here to generate the bypass code. I am getting the SUCCESS response of the above API and the activation lock also got enabled. But while removing the above activation lock via https://deviceservices-external.apple.com/deviceservicesworkers/escrowKeyUnlock and using the same escrow key that I used in the above api while activating the lock. I got the following error everytime <?xml version="1.0" encoding="UTF-8"?><ns:escrowKeyDeviceServicesResponse version="1" xmlns:ns="http://www.apple.com/cds/mdmescrowKeyDeviceServices/xml"><error code="1002" message="com.apple.cds.cyclops.mdm.MDMServiceException: Escrow key mismatch"/></ns:escrowKeyDeviceServicesResponse> Though this API of clearing the activation lock works perfectly fine when I enable the user-initiated activation lock, by enabling the Find My in the device. And use the bypass code as escrow_key that we receive from the device via device querry command.
3
1
823
Mar ’24
Clearing activation lock returns 404
For the past 2+ years I have been using the same process/code to enable and disabling/clearing activation lock from a device and since last week trying to clear the code is returning a 404 error response: <head> <title>404 Not Found</title> </head> <body> <center> <h1>404 Not Found</h1> </center> <hr> <center>Apple</center> </body> </html> I can confirm that the request looks ok and all the necessary params are being sent as expected.
4
0
1.4k
Dec ’22
Home Automation on Sensor and Time
Hi, I wanted to start the central heating if the temperature is below a certain level, I am home and the time is in a range. I created an automation but it didn't fire. I think it's because the sensor condition is "Temperature Drops Below" not "Temperature Is Below". In other words because the temperature was already below the level at the time the time window opened, the automation didn't fire. Does that sound correct? If so is it possible to do what I want which is to turn on the heating in the morning if it is cold?
0
0
237
Aug ’24
IOS Beta 18.0 (22A5338b)
Updated my iPhone 14 Pro Max on 8/12/24 hoping to get rid off the problem connecting it to my vehicle's car play, it is a disaster on this matter. -Once it connects only makes a sound and does NOT even charged anymore. -Previously built connected via Bluetooth now this is null. -Battery drains faster. -Gets hotter. It is totally ridiculous we are guinea pigs on this. exposing our EXPENSIVE phones to their testing. This has nothing to do for developers other than utilizing us to ruin our phones on our expense. Luckily I have another brand phone and a second line NOT Apple and using it. Apple should be responsible if we are IN this testing be liable for any damage software might incurred do this. APPLE FIX THI NOW!!!!!
2
0
780
Aug ’24