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

All subtopics
Posts under Community topic

Post

Replies

Boosts

Views

Activity

How can I create a shortcut to toggle macro control in iPhone settings?
I’d like to create a button on my iPhone Home Screen that changes settings if I am using an external lens mounted to my phone. This is what I have along with notes on what I hope to do. But it does not work. I am only able to open either the camera settings or the camera preserve settings but nothing will toggle macro controls. There is an additional step within the camera app as well but it can be skipped for brevity. Name: Telephoto and macro lenses Check if macro settings are already enabled or not. (Settings > Camera > Macro Control toggle) as well as (Settings > Camera > Preserve Settings > Macro Control toggle) Non-working shortcut code: Verification question: "Are you using an external lens?" If yes, Notification: "Turning on Macro Control and preserve settings for macro control." (Run below immediately) prefs:root=CAMERA&path=Turn%20On%20Macro_Control And prefs:root=CAMERA&path=CameraPreserveSettingsSwitch&path=Turn%20On%20Macro_Control If no, Notification: "Turning off Macro Control and Preserve Settings for macro control." (Run below immediately) prefs:root=CAMERA&path=Turn%20Off%20Macro_Control And prefs:root=CAMERA&path=CameraPreserveSettingsSwitch&path=Turn%20Off%20Macro_Control
0
0
102
May ’25
How to use donated users in your application and display Siri recommended users in Safari's system sharing
The following is my code, which runs successfully and is recommended to succeed, but it still does not show Siri's suggestion to users in the system sharing in Safari import AppIntents import Contacts import CoreSpotlight import Intents import UIKit class TestViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() self.view.backgroundColor = UIColor.white DispatchQueue.global().async { self.donateMessageInteraction(recipientName: "张三", phoneNumber: "+8613812345678") } } func donateMessageInteraction(recipientName: String, phoneNumber: String) { INPreferences.requestSiriAuthorization { status in guard status == .authorized else { return } // 1. 创建接收者 let recipientHandle = INPersonHandle(value: phoneNumber, type: .phoneNumber) let recipient = INPerson( personHandle: recipientHandle, nameComponents: nil, displayName: recipientName, image: nil, contactIdentifier: nil, customIdentifier: "com.yourapp.recipient.\(phoneNumber)" ) // 2. 创建发送者(你的应用身份) let senderHandle = INPersonHandle(value: "15210639372@163.com", type: .emailAddress) let sender = INPerson( personHandle: senderHandle, nameComponents: nil, displayName: "我的应用", image: nil, contactIdentifier: nil, customIdentifier: "com.yourapp.sender" ) // 3. 创建消息意图 let intent = INSendMessageIntent( recipients: [recipient], outgoingMessageType: .outgoingMessageText, content: "最近怎么样?", // 常用消息内容 speakableGroupName: nil, // 群组名称(一对一设为nil) conversationIdentifier: "com.yourapp.conversation.\(phoneNumber)", // 唯一会话ID serviceName: "My Chat Service", // 你的消息服务名称 sender: sender, // 发送者身份 attachments: nil ) // 4. 配置意图参数 intent.setImage(INImage(named: "user0"), forParameterNamed: \.sender) // 5. 创建并捐赠交互 let interaction = INInteraction(intent: intent, response: nil) interaction.direction = .outgoing interaction.donate { error in error.map { print("捐赠失败: \($0)") } } print("捐赠代码执行完成") } } }
0
0
376
Feb ’25
Unable to select the desired build in App Store Connect
Unable to select the desired build in App Store Connect; clicking on the build has no effect. Steps to reproduce: 1.I select my app 2.I choose which build to add 3.I try to select the build Expected result: I should be able to select the build Actual result: Nothing happens Browsers Tested: Google Chrome (both PC and mobile), safari mobile Supporting Video: https://www.loom.com/share/cd9c831920fb43518ef461c9a697f09f?sid=9ce60f81-0a7c-44f4-b88a-74dcc9820e14, https://drive.google.com/file/d/1PJEixy8IpFTEEDLjBMQjV-b9U8zUM2S0/view?usp=sharing Screenshots: https://gyazo.com/e390a5ddaa142ac9e5cbb2a6757abee8, https://gyazo.com/08ac242fbfd61d375766da04f7eb209c
0
0
42
May ’25
Apple Enrolment Program
Hi team, I am trying to enroll my company, in the Apple Developer Program - I am repeatedly receiving a rejection from Apple’s system. It shows in review and when I continue to enrollment, nothing happens. It submits as a new request. I have: ✅ Verified my business name and address with D&B (matches exactly). ✅ Checked that my business is a legal entity (LLP). ✅ Ensured all details match across D&B, UPIK, and Apple’s lookup tool. ✅ Attempted re-submission multiple times without success. However, despite these steps, I am still unable to proceed. Please help.
0
1
287
Feb ’25
Network filtering/VPN configurations not working
Hello, I'm experiencing issues with multiple apps on macOS related to network-related tasks. FIrst, I had problems with the network filter on Avast security. It told me to allow net work filtering, so I pressed the popup button that said allow filtering, but did nothing and gave me a error. Later on, on Nord VPN didnt work aswell, when I had to grant permission to configure a VPN. It didn't even give me a description of the error, just said something went wrong. I contacted NordVPN support, which didnt do anything exept for telling me to uninstall avast and restart my mac, which I did but was useless. Please help me.
0
1
70
Jun ’25
File/folder Permissions Issues
Currently running 15.5 Beta 3 on a Mac Studio M4. I am unable to read/write to my Home folder from most of my applications. I receive an error basically saying I do not have access rights to the file/folder. If I go to the file directly and open it, it works. I have repaired disk permissions, checked the Sharing & Permissions settings via Get Info, and finally called Apple. Of course, since I am running the beta, the support was quite limited. I will add that I am also unable to open .dmgs that have been downloaded to my Downloads folder. I receive the "The disk image couldn’t be opened. The operation couldn’t be completed. Operation not permitted" error. If I copy the .dmg to another drive, I can open it from there.
0
0
58
Apr ’25
Wireless CarPlay
i am running iOS 18.5 beta 3 (iPhone 16 pro max) and my phone will not connect wirelessly to any of my vehicles. When connected via the apple certified usb-c cord, it will connect just fine. I have removed all vehicles from my phone, then removed my phone from both vehicle, reconnected, and it still will not connect wirelessly.
0
0
58
May ’25
Getting GTK auto complete/syntax highlighting to work on emacs on macOS
I recently wrote an article on getting gtk auto complete/syntax highlighting on macOS its a genuinely fun hobby to make portable software, and this method will ultimately help in porting software to the macOS platform a copy and paste: before I continue, I want to mention that emacs auto completion, using company-mode, is rather slow when it comes to parsing a ton files, and in some configurations, especially recursively when it comes to parsing and displaying functions and macros, even when using the semantic auto complete system, but I do believe it speeds up when you initially parse and save to ctags or when you build a semanticdb, functions such as g_signal_connect() and macros such as G_APPLICATION however, did not work with company modes auto complete, but worked with flycheck on the fly syntax checking, using this method, and I haven’t had time to perfect an emacs configuration; maybe some time next week you will need gtk installed from brew or ports, since gtk has trouble compiling from source on some Mac configurations. this method works with whatever version of gtk is reported by pkg-config –cflags (pkg-config --cflags gtk. you will also need pkg-config installed, multiple installations of gtk can be used and utilized but the emacs plugins you’ll need are (and you’ll need to connect to Melpa using list-packages https://melpa.org/#/getting-started to have these automatically downloaded and configured): company company-c-headers flycheck flycheck-pkg-config exec-path-from-shell (this allows x11emacs to read the shells configuration, may be option for terminal based emac uses) optional: function-args-mode, but when fa-show-auto is used, it breaks themes in emacs download all of them through M-x list-packages (which means pressing alt+x, macOS option+x, which should issue an input on the bottom of emacs, where the status bar is), after that, type list-packages or use auto completion, aka ctrl+tab to cycle through possible candidates open a c file (C-f ~/test.c) (which is control+x, macOS control+x) type in: M-x semantic-mode M-x semantic-customize-system-include-path in semantic-customize-system-include-path, add the path to the gtk version you intend to develop for, in my case /opt/homebrew/Cellar/gtk4/4.16.12/include/gtk-4.0 using the text based interface; you should be able to use your mouse (click ins after where it says /usr/include. semantic is included in emacs. options are automatically saved at command) M-x exec-path-from-shell-initialize M-x flycheck-mode M-x flycheck-pkg-config in flycheck-pkg-config, press enter, and then type the name of the version of gtk that provides valid input from pkg-config (ie gtk4) M-x global-company-mode if you need to bind ctrl+tab to auto complete, you can add this to your config (~/.emacs.d/init.el) (global-set-key (kbd “C-”) ‘company-semantic) this will do most of the grunt work when plugins are installed (ctrl-tab shows a window to auto complete, ctrl+` (thats the key before 1, with shift it becomes ~) shows function argument. fa-show-auto automatically shows function prototypes, but can break emacs themes: (require ‘package) (add-to-list ‘package-archives ‘(“melpa” . “https://melpa.org/packages/”) t) ;; Comment/uncomment this line to enable MELPA Stable if desired. See package-archive-priorities ;; and package-pinned-packages. Most users will not need or want to do this. ;;(add-to-list ‘package-archives ‘(“melpa-stable” . “https://stable.melpa.org/packages/”) t) (package-initialize) (global-company-mode t) (global-flycheck-mode t) (semantic-mode t) (function-args-mode) (global-company-mode t) (global-flycheck-mode t) (semantic-mode t) (function-args-mode) (global-set-key (kbd “C-”) ‘company-semantic) (global-set-key (kbd “C-`”) ‘fa-show) if you need to compile from inside emacs, I would make a Makefile according to the gtk tutorial on gtk.org I also have another article on getting Xcode to work with gtk, which is more reliable: https://unix-world.com/2025/01/25/getting-gtk4-to-work-in-xcode-with-auto-complete-and-syntax-highlighting/ website is unix-world.com and I welcome any and all traffic !
0
0
321
Feb ’25
Issue getting back only a subset of product IDs for purchase controller
As of today we seem to continuously get back 21 of the product IDs we have defined when the shop initializes. This is causing what looks like intermittent bug behavior in our shop. The IDs sent each time are random (not always the same 21). So sometimes they match shop offers and the packs look right and can be bought and sometimes the ones our current shop offers need are not sent and so the offers in game look wrong and error when you try to buy. Is anyone else seeing this new behavior of not getting down all their product IDs successfully?
0
1
97
May ’25
Subscribed Calendar Issue
I'm running into issues with iOS respecting the HTTP 410 "Gone" response type. Setup: Using the native iOS Calendar app, add a new subscription calendar. "Add Subscription Calendar" Add the URL of a ICS calendar subscription that you control, e.g. https://mywebsite.com/userfeeds/23/cal.ics Make sure to select the "Account" option and choose "On My iPhone/iPad". Set the query amount to 15 mins. Calendar events show as expected, device queries the latest updates from the server every 15 minutes. Server returns HTTP 200 with the .ics contents. Now, assume there is a need for the feed to end - maybe the user unsubscribed to mywebsite.com. There is currently no way for the mywebsite.com server / response to tell the device the feed has ended and it should stop requesting. If the user forgets to go to calendar and manually unsubscribe the device will continually ping the server every 15 minutes indefinitely. It's turning into a virtual DoS for my platform. iOS should respect the HTTP 410 "Gone" header or something similar. If the server returns a HTTP 410 response code for https://mywebsite.com/userfeeds/23/cal.ics X amount of times, the feed should be automatically removed. I've opened several tickets over the last 3 years and have not even had a status change on the tickets. Does anyone know how to resolve this or a work around?
0
0
186
Apr ’25
iMessage
My imessage has been acting up for 1 month now. It fails to activate my phone number and prefers my email. This is a beta issue Apple support has told me and it needs fixing asap.
0
0
57
Apr ’25
Apple Developer Enrollment Delay — No Updates for 24 Days
I’m trying to register an Apple Developer Account for my company. I uploaded all the required documents, but my initial application was rejected, and I was asked to provide notarized translations of my documents. I translated them and submitted everything for review on April 1. After a week without a response, I contacted Apple Support. They replied that the documents had been received and were under review. However, as of today, April 24, my account is still under review. I’ve sent five follow-up emails to Support asking for a status update on my case, but I haven’t received any replies. Has anyone faced a similar situation and could suggest what I can do to get a status update and finally complete the registration? If anyone from Apple Support is reading this, my case number is 20000098634973 and my Enrollment ID is J34432JQFC. Thank you in advance for your help.
0
0
109
Apr ’25
WalletUIExtention alert "Unable to add card"
I download a demo from:https://applepaydemo.apple.com/wallet-extensions And I run my WalletUIExtention,but it's failed. This is some key in my info.plist <key>NSExtensionMainStoryboard</key> <string>MainInterface</string> <key>NSExtensionPointIdentifier</key> <string>com.apple.PassKit.issuer-provisioning.authorization</string> <key>NSExtensionPrincipalClass</key> <string>MyAUViewController</string> But I found that deleting the key: NSExtendesionPrincipalClass or NSExtendeionMainStoryboard in the info.plist file can make it run. Should I delete the key ? Whitch key ? This is it alert: This it's message: 2025-05-06 09:15:02.946890+0800 WalletUIExt[626:13530] Successfully load keyboard extensions Line: 1 Col:1 2025-05-06 09:15:02.972702+0800 WalletUIExt[626:13597] [xpc.exceptions]<NSXPCConnection: 0x2830c30c0> connection from pid 584 on mach service named com.bank.app.WalletUIExt.viewservice: Exception caught during decoding of received selector __connectToViewControllerFromRemoteViewController:replyHandler:, dropping incoming message. Exception:<NSXPCDecoder: Qx12a82bc00> received a message or reply block that is not in the interface of the remote object (__connectToViewControllerFromRemoteViewController:replyHandler:),
0
0
112
May ’25
Porting Games Over to Apple Arcade
Hi all, I'm working for a publisher, and we're looking to bring some of our PC/console titles over to Apple Arcade - how viable is this? Is Unity or Unreal Engine easier to port from? Does anyone have any contacts with porting studios who have done this before? Thanks
0
0
50
Apr ’25
Eligibility
Hi, I have a question related to eligibility. If we consider the eligibility rules and the submission window doesn't change for next year and if the challenge is still happening, would I be eligible in the following scenario - I graduated from an American University for my undergraduate in December 2025, and the submission is in February 2026, according to "Be enrolled in, or have graduated within the last 90 days from, an accredited academic institution or official homeschool equivalent, or an Apple Developer Academy", am I eligible. I am not sure if it applies to university or just high school. If you don't want to answer the hypothetical answer for next year. Take this scanerio, would I have been eligible for this year's challenge if I had graduated from university in December 2024. Thank you
0
0
178
Apr ’25
Consideration of long-term Bluetooth behavior
It works if Bluetooth is on for a long time, is there any problem? I'm developing an app using beacon and Bluetooth, and I have to operate the app in the background, and after spending the weekend, I have to detect the beacon and revive the app. I can see that there is an app in the background, but the app is not coming back to life. How can I solve this problem? Or is the OS team working on something to block it? The test model is Iphone16Plus.
0
0
39
Apr ’25
Navigation
I am having trouble passing custom data in an array with a navigation stack. I want to display a subview with the same data structure (title, headline, picture placement etc), with different data attached for each of my list view items
0
0
56
Apr ’25
A payment platform that enable user in west Africa to be able to credit their Apple account.
My team and I are currently working on an app, that enable user especially in Nigeria who are having issues with crediting thier Apple account in other to carry out some transactions such as Apple Music subscription and co. This project wI’ll grant user easy access. We are currently seeking assist and API Support
0
0
80
Apr ’25
How to Keep Live Activity in Expanded Dynamic Island State (ActivityKit, iOS 17+)
I'm building a Live Activity using ActivityKit in iOS, and I'm trying to understand how apps like Uber or Lyft manage to keep the Dynamic Island always in its expanded state, without transitioning through the compact phase. In my implementation, the Live Activity always starts in the compact state, and only expands temporarily when I interact with it. I've tried the following: Updating the ContentState frequently using activity.update(using:) I tried updating the activity every 1 second, but it didn’t make a difference. Leaving the compactLeading, compactTrailing, and minimal regions empty using EmptyView() — also didn’t change the behavior. Delaying the initial update by 1 second — no effect. What I'm trying to figure out: Is there any way to programmatically force or request the Dynamic Island to stay in the expanded state? Could this behavior be achieved through push updates, using apns-push-type: liveactivity and a high priority (apns-priority)? What I’m trying to achieve is similar to the behavior shown in the images below — the apps do not transition to the compact island, but instead displays the expanded view immediately. Example:
0
0
76
Apr ’25
How to generate test Driver's License in Wallet?
Hello, I'm interested in testing the Digital Credentials API in Safari on iOS, but am not sure if there's a way to create a test Driver's License in the Wallet on a real device or Simulator? Unfortunately the state I live in does not have mobile ids set up yet with Apple so can't use my own driver's license. Any help would be much appreciated!
0
0
231
Jul ’25