Apple Developers

RSS for tag

This is a dedicated space for developers to connect, share ideas, collaborate, and ask questions. Introduce yourself, network with other developers, and foster a supportive community.

Learn More

Posts under Apple Developers subtopic

Post

Replies

Boosts

Views

Created

BLE ADVERTISE
Dear Apple: The program we developed uses BLE broadcasting to discover devices. The discovered device sends three broadcasts, but when we debug the program, we found that the addresses reported by centralManager::didDiscoverPeripheral for the same device's three broadcasts are actually different CBPeripheral * addresses. I would like to ask how we can identify that these three broadcasts are from the same device? Are there any variables in the peripheral that can identify it as the same device? Thanks。
1
0
239
Feb ’25
Hacker accessing my iCloud and iPhone
A a group of hackers have been illegally accessing my iPhone, all my accounts on my phone, my online university portal, all my stored passwords, and my iCloud. I have changes to my iPhone that I did not do. No one has had access to my iPhone other than myself. I have been dealing with these hackers for five+yrs. they have locked me out of my accounts for several years by changing all my login information. They have disabled my laptop and they have reset my previous phone remotely. I was sent a message from my provide t-mobile that they locked my phone due to someone trying to remotely reset it. Now I am dealing with the same people again. My iphone heats up tremendously, my battery drains constantly, I cannot access my accounts because they are changing my passwords, and now they have disabled access to my sim.
1
0
244
Feb ’25
App logout every time delete from open aps
Hi, I am testing my app with TestFlight. The app is developed with React Native Expo. Step 1: Log into the app – everything works fine. Step 2: Use the app – everything works fine. Step 3: Close the app without logging out, just close it. Step 4: Remove the app from the recent apps window. Step 5: Try to open the app again, but it requires login again. I don’t understand why the login parameters are not retained and why the app asks me to log in again. Code used for login handling: import AsyncStorage from "@react-native-async-storage/async-storage"; useEffect(() => { const loadToken = async () => { const token = await AsyncStorage.getItem(TOKEN_KEY); if(token) { axiosInstance.defaults.headers.common['Authorization'] = `Bearer ${token}`; try { const response = await axiosInstance.get('/auth/check'); const data = response.data; setSession(token); setUser(data.user); } catch (e) { setSession(null); setUser(null); } } } loadToken().then(() => setIsLoading(false)); }, []); Important Note: This issue only occurs when we switch to production. In the test environment, everything works fine, and we don’t experience this problem. However, as soon as we build for production and test on multiple devices, this issue appears. Thanks in advance!
1
0
331
Feb ’25
Auto-Lock in iOS 18.4 not working. iPhone 16 Pro
Since updating to iOS 18.4 the auto-lock on iPhone 16 Pro isn’t functioning. All settings remain unchanged from previous versions, however the display will not turn off. Same iOS on my older iPhone 11 doesn’t have the issue and screen turns off as usual with the same system settings. Have tried a force restart on the 16 Pro, nothing changed. Any ideas?
2
2
419
Feb ’25
Family downtime crash
I try to go into screen time for my daughter and it won’t let me in to adjust anything. It freezes and I have to close out the settings app completely by swiping up. I’ve tried turning my phone off and doing a hard reset but it still does that. It worked completely fine until the most recent update.
1
0
268
Mar ’25
Worried that I downloaded malware from a disk image
Hi, I accidentally downloaded a disk image and tried to run it, I shortly realized that it is probably malware. I'm worried that there's malware on my computer but I'm unsure if Gatekeeper was able to block me from running the image. I believe I clicked "Open anyway" or something along those lines even after it said not to run it, so I'm pretty scared that it was able to run. I checked the logs for Gatekeeper, and I see that it says "Code did not match any currently allowed policy". Does this mean it blocked whatever disk image I mistakenly tried to run? Thank you so much for your answers, it will help me stop worrying. 2025-03-01 10:45:10.480495-0800 0x953f85 Default 0x0 301 0 syspolicyd: [com.apple.syspolicy.exec:default] Fast Gatekeeper overrides are: inactive 2025-03-01 10:45:14.308061-0800 0x95412e Default 0x0 301 0 syspolicyd: [com.apple.syspolicy.exec:default] Caller indicated a Gatekeeper override occurred: <private> 2025-03-01 10:45:14.314205-0800 0x95412c Default 0x0 39200 2 CoreServicesUIAgent: [com.apple.launchservices:uiagent] Cleared Gatekeeper rejection record sucessfully 2025-03-01 10:45:25.864198-0800 0x953f85 Error 0x0 301 0 syspolicyd: [com.apple.syspolicy.exec:default] Error Domain=GatekeeperPolicyScanError Code=-67018 "Code did not match any currently allowed policy" UserInfo={NSURL=<private>, NSLocalizedDescription=Code did not match any currently allowed policy} 2025-03-01 10:45:30.659323-0800 0x95430b Default 0x0 301 0 syspolicyd: [com.apple.syspolicy.exec:default] Adding Gatekeeper denial breadcrumb (direct): PST: (path: 5451bc9511ea5cc0), (team: (null)), (id: project-55554944375cf61a58343acb828244228823e532), (bundle_id: NOT_A_BUNDLE) 2025-03-01 10:45:30.662733-0800 0x95430b Error 0x0 301 0 syspolicyd: [com.apple.syspolicy.exec:default] Terminating process due to Gatekeeper rejection: 39389, <private> 2025-03-01 10:45:54.602124-0800 0x9545ed Default 0x0 301 0 syspolicyd: [com.apple.syspolicy.exec:default] Fast Gatekeeper overrides are: inactive 2025-03-01 10:46:35.578533-0800 0x9548b4 Default 0x0 301 0 syspolicyd: [com.apple.syspolicy.exec:default] Fast Gatekeeper overrides are: inactive 2025-03-01 10:46:37.719530-0800 0x9533cf Default 0x0 39200 2 CoreServicesUIAgent: [com.apple.launchservices:uiagent] Cleared Gatekeeper rejection record sucessfully
1
0
398
Mar ’25
Ongoing Device Setup ios 18.4 beta
Hi all, after installing ios 18.4 beta here in Europe (and also resetting and restoring my iphone given Apple Intelligence features were not working at all initially) my phone decided to reoptimise my whole photo library which took a while and I understand it was a battery consuming process. Nonetheless, this is all done, all Apple intelligence features supposedly work and my phone is still in ongoing device setup burning through the battery to the point I am sure this will make my battery health drop. does anyone know what is going on (indexing?), how long it will take and why is it happening? Is it because of the 18.4 beta or because of having Apple Intelligence for the first time? can someone please confirm that at the very least this will NOT have to take place again after moving to the official 18.4? thanks
2
0
2.9k
Mar ’25
Console SSH remote authentication not working since some time
I am trying to connect to my openbsd server. The command works over local network (I am identified by public key) but fails over remote network. I get the following error : $ ssh -vvv sylvain @ saboua.xyz OpenSSH_9.8p1, LibreSSL 3.3.6 ... debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling debug3: channel_clear_timeouts: clearing debug1: Connecting to saboua.xyz port 22. ssh: connect to host saboua.xyz port 22: Operation timed out A solution I gues would be to use brew's LibreSSL 4.0, but I cant find how to use it instead of the system LibreSSL.
0
0
258
Mar ’25
Not Getting Company Developer Enrollment Email
Apologies if this is the wrong place, I'm trying to enroll as a developer with my company. A long time ago I was invited to join, but had let the invitation expire. I'm working with my manager to try and get another email sent out inviting me into the program, but I'm not receiving anything in my inbox. Is there a known bug here? Is there something else that needs to be done to send out a second invite?
0
1
265
Mar ’25
CoreMediaErrorDomain -42709
Hello, I am developing a video streaming service that uses FairPlay. Since around February 20th, we have started receiving reports of CoreMediaErrorDomain -42709 errors. Unfortunately, there is no documentation from Apple that explains what this error means, so we are not sure how to address or fix the issue. Most of the users who reported this error are using iOS 18.2.1 and iOS 18.3.1. Could you please advise on what we should check or how we might resolve this error? Thank you very much for your help!
1
0
492
Mar ’25
The push notification icon is still displaying the old version
Hello guys, We have updated our app icon, and it is correctly reflected in our app build and assets. However, the push notification icon is still displaying the old version for some users. ✅ We have verified that: All icon assets in Assets.xcassets match the new icon. The app icon has been updated in Info.plist. The app has been resubmitted and approved on the App Store. ❌ However, some users still see the old notification icon, even after reinstalling the app. Restarting the device does not always resolve the issue. Could you provide insights into how iOS caches notification icons and how we can force a refresh for all users?
5
9
2.4k
Mar ’25
USB Audio Input Blocked When Screen Mirroring via AirPlay
Hello Apple Developers, I am experiencing an issue where USB audio input (e.g., external USB microphone) is blocked when using AirPlay screen mirroring from my iPhone to a Mac or Apple TV. However, the built-in microphone continues to work without any problem. Issue Details: I am using an iPhone 15 (or latest device) running iOS [your iOS version]. I connect a USB audio interface/microphone via a USB-C adapter or Lightning adapter. The USB microphone works perfectly for audio input before starting AirPlay. The moment I enable AirPlay screen mirroring, the USB microphone stops working, and it disappears from available audio input sources. The built-in microphone continues to function, but I cannot use the USB microphone while mirroring. When I stop screen mirroring, the USB microphone immediately becomes available again. Expected Behavior: I would expect iOS to allow me to continue using an external USB microphone while mirroring my screen, just like it allows the built-in microphone to work. Questions: Is this an intentional restriction in iOS? Is there any workaround to enable USB audio input while using AirPlay screen mirroring? Is there a way to request a feature or configuration option to allow external USB microphones during AirPlay? I appreciate any insights or guidance from the Apple team or fellow developers. Thanks in advance! Best regards,
0
0
338
Mar ’25