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

Activity

App stops responding to touch; works normally otherwise
Some users of my app complain that it stops responding to touch after a while. The screen is still updating, and the app seems to be working normally otherwise. It just doesn't respond to any touches anymore. It is not a problem with the touchscreen itself, because the user is able to swipe up to get to the home screen, and then interact with other apps as normal. When re-opening my app, it is still unresponsive to touch. The only way to solve it, is to restart the app. Does anybody have a similar experience, and knows what could cause it? The app is based on UIKit, and still written in Objective-C, if it matters. The iOS version involved does not seem to matter, it happened with a couple of them.
2
0
84
Apr ’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
Xcode16打包运行在iOS18系统上,searchbar 在系统键盘输入中文时,textDidChange代理方法表现异常问题
Xcode16打包运行在iOS18系统上,当输入中文时,- (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText; 这个代理方法,输入中文时,每次按下拼音 就会触发。 Xcode16打包在非iOS18系统上不会这样,Xcode15打包,在iOS18+和iOS18-系统上也都不会这样,只有Xcode16+iOS18 会这样
1
0
158
Apr ’25
Edit Permissions | bootps.plist
Hi, I'm trying to figure out how to edit the bootps.plist which is in the system / library directory. I have an M4 MacBook running OS 15.3.2 and I've held down the power button to go into recovery mode, and in terminal entered the 'csrutil disable' command and have restarted but when I go back to 'get info - Sharing & Permissions' I can't change any of the permissions. I need to be able to edit this file to create DHCP server. How can I change edit permissions on the bootps.plist?
0
0
69
Mar ’25
After connecting to a Passpoint network on macOS, the SSID field is displayed as empty.
After connecting to a Passpoint network on macOS, the SSID field is displayed as empty. Bugs ? Passpoint connections are established and function correctly, with network communication unimpeded. However, a display issue where the SSID field is blank is present on macOS versions 13 through 15 inclusive. This issue persists even when utilizing connection profiles created with Apple Configurator. Help me. Thks
0
0
200
Mar ’25
Plugin/Module deployment support in App Store
Our app provides configuration and maintenance features for Siemens electrical devices. The app supports multiple devices and the devices have their own specific features, which also need to be supported by our App. The devices can be released to the market only when our app supports those features. Our app release timeline is once in every 4 months. We face a challenge when some of these devices are not able to deliver their features by our release time. So, we would like to make these devices plugins, which can be independently released, without releasing the App every time. The app would, of course, be released once in every 4 months, depending on the common features. I'm not able to find how to release only the plugins within the app, without releasing the entire app. Some one has suggested app extensions, but that does not fit our solution as in some cases, we need continuous polling of data from one or mode devices for minutes or hours, as the app can be used by the user to monitor some of the device values.
0
0
219
Mar ’25
Failed to open URL : Error Domain=NSOSStatusErrorDomain Code=-10814
Regarding the Issue with URL Scheme Not Working。 Hello, our app on the App Store has the following CFBundleURLTypes configuration: We've discovered that the qmkege:// URL scheme is failing to open the app. Steps to Reproduce: 1、We downloaded the installation package from the App Store 2、Entered qmkege:// in Safari, but it fails to launch our app。 The system logs show the following: Key Observation: This issue is not consistently reproducible. In most cases, when we install the app directly from the App Store (without VPN), it works fine. However, the problem occurs when downloading the app through the App Store while connected via VPN. Looking forward to your feedback.
1
0
84
Apr ’25
CarPlay music sound output from iPhone after enabled Enhanced Siri
With CarPlay communication plugin R18.1, I followed these steps to integrate Enhance siri, the music sound was output from carplay and there is no option for output to Car. ============================================ Enhanced Siri Declare supported audioFormats for the AuxIn and AuxOut streams Since the AuxIn and AuxOut streams for Siri do not have to be both active at the same time, the accessory must claim audio formats support for AuxIn Audio and AuxOut audio independently. The audio formats for each stream can differ from each other (48KHz for AuxOut and 16KHz for AuxIn). The new audio types represent these new streams - AuxIn/speechRecognition & AuxOut/speechRecognition. Check if connected device supports the feature AirPlayReceiverSessionHasFeatureEnhancedSiri() Claim support in the Setup Response message if device supports the feature Add kAirPlayKeyAccessoryEnabledFeature_EnhancedSiri key through the AirPlayReceiverServer delegate AirPlayReceiverServerCopyProperty_f function for the kAirPlayKey_AccessoryEnabledFeatures key. Helper function: CFArrayAppendValue() Add Enhanced Siri parameters dictionary in the INFO message Add dictionary through the AirPlayReceiverServer delegate AirPlayReceiverServerCopyProperty_f function for the kAirPlayKey_EnhancedSiriInfo key. kAirPlayKey_EnhancedSiriInfo dictionary parameters: Voice activation of Siri - kAirPlayKey_EnhancedSiriVoice Current language of voice model - kAirPlayKey_VoiceModelCurrentLanguage Supported languages of voice model - kAirPlayKey_VoiceModelSupportedLanguages Enhanced Button activation of Siri - kAirPlayKey_EnhancedSiriButton Supported zone(s) if any - kAirPlayKey_SupportedSiriTriggerZones Update AudioStream Get state of the AuxIn state by providing an implementation of AudioStreamUpdateState() - Off, local buffering, or streaming to device. Decouple input streams from output streams. AuxIn is an independent input stream only. The property kAudioStreamProperty_Direction will provide the necessary information if the stream is input, output or input & output. Provide a handler for the AirPlayReceiverSessionDelegate setEnhancedSiriParams_f This will provide additional information: Activation type Setting the language of the voice model Invoke the Communication Plugin to start buffering Once the activation type has been specified, the accessory can request the plugin to start buffering using AirPlayReceiverSessionAuxInStart(). Use the new APIs to trigger Siri: AirPlayReceiverSessionRequestSiriActionWithLatency() AirPlayReceiverSessionRequestSiriVoiceActivationWithLatency() AirPlayReceiverSessionRequestSiriVoiceActivationWithSample() Button presses and voice activations should use this new APIs which adds a timestamp of the activation. These APIs allow a choice of a latency or a sample for button and voice activations. If there is a delay between the user pressing the button to notifying the device on the button press, this latency value should represent this time. If the accessory can determine which zone activated, it can provide the zone with the request. Invoke the Communication Plugin to stop buffering You may need to invoke the plugin to stop buffering (AirPlayReceiverSessionAuxInStop()) if exclusive access to the microphone is necessary. Such instances may include but not limited to: Native voice recognition session Telephony Another stream function which uses the microphone starts modesChanged notification can be used to determine if a resource is being used Note, if the session ends, the plugin will automatically stop buffering
0
0
296
Mar ’25
MacBook Pro M1 - 15.5 Kernel Panic when waking from sleep
Hi, EtreCheck I could really use some help with this, as I haven’t been able to find much concrete info. I mistakenly updated my MacBook to the 15.5 beta, and while I can’t say with 100% certainty that the issues started immediately after, I’ve been experiencing consistent kernel panics every time the machine wakes from sleep — it restarts completely and throws an error. I’m really hoping this isn’t a hardware issue. The MacBook is just over two years old, and I rely on it daily for work — replacing it right now isn’t an option. Unfortunately, I don’t have a Time Machine backup to roll back to. I’ve already wiped the machine and reinstalled macOS via recovery mode, and Apple Diagnostics isn’t showing any hardware problems. Just to rule it out: I’m not using any external devices — no docks, Thunderbolt accessories, or anything else plugged in. I came across EtreCheck as a recommended tool, and I’ve included the results below. If anyone is able to help interpret them or point me in the right direction, I’d really appreciate it. I’ve since unenrolled from the beta and turned off automatic updates — I’m just hoping this is a beta-related bug that resolves with the next stable release. Thanks in advance for any guidance.
0
0
491
Apr ’25
Troubleshooting Video Loading Issues on iOS: Slow Performance Over Mobile Data but Fast on Wi-Fi
Hello, We are developing a social media application that allows users to share and view content in the form of images and videos. The app is built with Angular and Ionic, and we use Capacitor to integrate native functionalities. Currently, we are experiencing an issue with content loading on iOS devices. Specifically, when the iPhone is connected to Wi-Fi, videos load quickly and play smoothly. However, when using mobile data, videos take a long time to load or, in some cases, do not load at all. We are trying to identify the cause of the issue and determine whether it could be related to Xcode configuration or any system restrictions. Some potential reasons we have considered include: iOS Mobile Data Usage Restrictions iOS may limit mobile data usage for large downloads or streaming content if the app does not have the proper permissions. In Settings > Mobile Data, users can restrict data usage for specific apps. App Transport Security (ATS) Configuration Xcode and iOS enforce strict security policies for network connections through App Transport Security (ATS). If the API serving the videos uses HTTP instead of HTTPS or has restrictive headers, this could affect loading over mobile networks. Xcode Network Usage Settings Xcode allows configurations related to network access. There might be a setting limiting access to mobile networks when the device is not on Wi-Fi. Video Quality and Adaptability Differences If videos are not optimized for mobile networks (e.g., high-quality formats without adaptive versions), loading times could be significantly longer. Implementing HLS (HTTP Live Streaming) could improve playback on slower networks. Request Timeout Issues If video loading requests have a short timeout, slower mobile network connections might exceed this limit, causing the request to fail. Compression and Caching It is essential to check if videos are properly compressed and if caching is implemented to improve performance on mobile networks. Given this situation, we would like to know what Xcode settings might be affecting video loading performance on mobile data and how we can adjust them to enhance the user experience.
0
0
197
Mar ’25
Is It Possible to Restore Previous Browser State After openURL on iOS?
Hi Everyone, I’m currently working on a flow where a web page redirects to our app to perform certain actions, and then returns the user back to the browser. However, on iOS, the only way to go back to the browser is by using the openURL method. The issue is that this method can only open the browser app itself—it can’t control which tab or page is shown, so the user doesn’t return to the original tab they came from. The same limitation also applies to Android. Furthermore, iOS doesn’t allow an app to programmatically return to the previous app (in this case, the browser). While Android doesn’t have an official way either, in some cases, the OS automatically returns to the previous app when ours is closed. I’d like to ask: Is there any known method or workaround that allows returning from my app back to Safari (or the default browser) and restoring the previously active web page or tab? Or, is there any way to programmatically return to the previous app from within my app? Thanks in advance for your support!
0
0
140
Apr ’25
Problems Publishing with User Tracking
Hello, I'm trying to publish my app, but I'm constantly getting rejected by Apple. They're telling me I'm having issues with tracking user data. This item has been rejected for the following reasons: 5.1.2 Legal: Privacy - Data Use and Sharing I've indicated that I don't use this data for ads, that it's only used for personalization and to understand who saves items. I added the NSUserTrackingUsageDescription property to the info.plist. I run AppTrackingTransparency.requestTrackingAuthorization() when the user logs into the app, displaying a warning message. I'd say I meet all the requirements they've set for me, but they still haven't approved my app. What do you recommend? How can I speak to a physical person who can help me? Thank you very much and best regards.
2
0
258
Mar ’25
IOS 18.5 Beta
Ever since last weeks 18.5 beta update, the Deltek Vision T&E app no longer opens. I did the next update last night, still not working. I've deleted the app, restarted phone, re-installed, still the same behavior. When you open the app, it just spins and nothing ever happens, don't get to login screen or anything.
1
0
142
Apr ’25
Cannot update HomeBrew, due to SHA256 mismatch on --jpegsrc.v9d.tar.gz download
I want to install tesseract in order to get OCR feature in ChatGPT. Tesseract install requires the use of HomeBrew on macOS But I am using macOS 15.5 and the version of HomeBrew is not compatible. When tying to install Tasseract, old version of HomeBrew is detected and HomeBrew starts updating automatically. The process goes fine until the download of the jpegsrc.v9d.tar.gz component. SHA256 mismatch is detected and the update process stops. But the downloaded jpegsrc.v9d.tar.gz doesn't seem to be corrupted. Maybe an error of the expected SHA256? Any help is welcome that would enable me to complete the HomeBrew update process. Many thanks in advance for your support. ------------------------------ This is what I get in Terminal: Error: Could not find an SDK that supports macOS 15.5. You may have have an outdated or incompatible CLT. Homebrew found the following SDKs in the CLT install: 10.14 10.15 Please update CLT or uninstall it if no updates are available. Error: Git must be installed and in your PATH! Warning: Sorry, Homebrew does not support your computer's CPU architecture! Warning: You are using macOS 15.5. We do not provide support for this pre-release version. You will encounter build failures with some formulae. Please create pull requests instead of asking for help on Homebrew's GitHub, Discourse, Twitter or IRC. You are responsible for resolving any issues you experience while you are running this pre-release version. ==> Downloading https://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz Already downloaded: /Users/bertrand/Library/Caches/Homebrew/downloads/ff08930ce8165de0173c4a8704a407636908779978246b3116202642460aca15--autoconf-2.69.tar.gz ==> Downloading https://ftp.gnu.org/gnu/autoconf-archive/autoconf-archive-2019.01.06.tar.xz Already downloaded: /Users/bertrand/Library/Caches/Homebrew/downloads/dca2c1298b729faa88ef51d6d6218fb82ed143da108475073e0c0a9bfae091c6--autoconf-archive-2019.01.06.tar.xz ==> Downloading https://ftp.gnu.org/gnu/automake/automake-1.16.2.tar.xz Already downloaded: /Users/bertrand/Library/Caches/Homebrew/downloads/de80077d29bb43dc673536d714b2345d6a9753a170151e730bccf02f102ecf57--automake-1.16.2.tar.xz ==> Downloading https://github.com/Homebrew/formula-patches/raw/e5fbd46a25e3566305929683356 Already downloaded: /Users/bertrand/Library/Caches/Homebrew/downloads/5a220d4e315a1ffbc9644d2bf91fe956c5a84a11689cbb8da50106ad3b71c48f--dynamic_lookup-11.patch ==> Downloading https://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.xz Already downloaded: /Users/bertrand/Library/Caches/Homebrew/downloads/a7871392bebba3d24e9db265409485330a2e81ca638579ca84ff5bf9f9040666--libtool-2.4.6.tar.xz ==> Downloading https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz Already downloaded: /Users/bertrand/Library/Caches/Homebrew/downloads/5bdbf3b3fdadaf72744884b98b74a2ff887bd63a20b246f811a222a146ad7b64--pkg-config-0.29.2.tar.gz ==> Downloading https://sourceforge.net/p/giflib/bugs/_discuss/thread/4e811ad29b/c323/attac Already downloaded: /Users/bertrand/Library/Caches/Homebrew/downloads/96a5fa155b0ad1a98cc4d577b7806eedfadcde973df641a6e90cf257b08e3598--Makefile.patch ==> Downloading https://downloads.sourceforge.net/project/giflib/giflib-5.2.1.tar.gz Already downloaded: /Users/bertrand/Library/Caches/Homebrew/downloads/516725ea41ab2e3e2e554c736ec0ef0e0d7fcb52e597a831e2398422843276bd--giflib-5.2.1.tar.gz ==> Downloading https://www.ijg.org/files/jpegsrc.v9d.tar.gz Already downloaded: /Users/bertrand/Library/Caches/Homebrew/downloads/23faa446d5ad2c8f0a288f26af4c4f70666394f107eb58154ab432da5f6705d1--jpegsrc.v9d.tar.gz Error: SHA256 mismatch Expected: 99cb50e48a4556bc571dadd27931955ff458aae32f68c4d9c39d624693f69c32 Actual: 2303a6acfb6cc533e0e86e8a9d29f7e6079e118b9de3f96e07a71a11c082fa6a Archive: /Users/bertrand/Library/Caches/Homebrew/downloads/23faa446d5ad2c8f0a288f26af4c4f70666394f107eb58154ab432da5f6705d1--jpegsrc.v9d.tar.gz To retry an incomplete download, remove the file above.
1
0
196
May ’25
Unwanted Communication error cut off, no report sent
Hi, I've been trying to debug an issue with my extension. I am able to register the extension on install of my app, can select it under Phone> SMS/Call Reporting. When I touch Report it brings up my view controller, with the sender and message details. I set let response = ILClassificationResponse(action: .reportJunk) I've added debug logs throughout my extension and everything looks good. Now when MobileSMS takes over, I see: default 23:15:09.837024-0400 MobileSMS response: extension: error 23:15:09.837328-0400 MobileSMS error reporting SMS response: default 23:15:09.837387-0400 MobileSMS Finished, invoking didCompleteClassificationRequest info 23:15:09.837487-0400 MobileSMS didCompleteClassificationRequest -- di I don't see what the error is, and that last log entry is cut off at "di". I've confirmed my info.plist, allowed domains, aasa, and my remote API is not touched. Any advice? Xcode 16.3 Testing on iPhone 16e iOS 18.4.1
1
0
83
May ’25