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

Issues with iPhone Mirroring
Hi! About a month ago (somewhere around the release of iOS 18.4.1 and MacOS 15.4.1) I started having issues with the iPhone Mirroring app, saying that it's unable to connect to iPhone, although it worked seamlessly before. In error console log I see this chain of events: error 19:00:51.054054+0200 iPhone Mirroring unable to get entitlements for client task. Error: nil error 19:00:51.054074+0200 iPhone Mirroring AppleEvent sender is not entitled error 19:00:51.098453+0200 iPhone Mirroring Tearing down the session due to: noCompatiblePhone error 19:00:51.139329+0200 iPhone Mirroring CAML error:727: No such class `LKEventHandler' error 19:00:51.139342+0200 iPhone Mirroring CAML error:727: Unknown value element `LKEventHandler' error 19:00:51.139349+0200 iPhone Mirroring CAML error:727: `o' element must have `type' attribute I tried literally every solution I could find, including deleting all possible preferences, but to no avail. It also might be worth mentioning that since these issues started, I can't AirPlay from my iPhone to my Mac unless I switch the "Allow Airplay for" option to either "Anyone on the same network" or "Everyone". Can anyone tell me if this may be something connected to those latest updates, or is there anything else I can try on my end? Thanks in advance!
1
0
188
Apr ’25
[Apple Pay]how to update multiTokenContexts when PKPaymentRequestShippingContactUpdate method trigger
multiTokenContexts is defined as follows (https://developer.apple.com/documentation/passkit/pkpaymentrequest/multitokencontexts) You can assign a value when initializing PKPaymentRequest (https://developer.apple.com/documentation/passkit/pkpaymentrequest). However, in actual usage scenarios, when the Apple Pay address changes and PKPaymentRequestShippingContactUpdate (https://developer.apple.com/documentation/passkit/pkpaymentrequestshippingcontactupdate) is triggered, how to update multiTokenContexts? The documentation and code do not provide updates for this parameter. In contrast, Apple Pay on the Web provides newMultiTokenContexts as an update when ApplePayShippingContactUpdate (https://developer.apple.com/documentation/apple_pay_on_the_web/applepayshippingcontactupdate) is triggered. Has anyone encountered this problem? Would you happen to have any solutions? Thank you.
0
0
425
Jan ’25
Default Browser issue of Edge Mac
OS macOS 15.4.1 What steps will reproduce the problem? (0) Make sure you have other third-party browsers on your computer, and that their names start with a letter before "M", for me it is Arc browser. (1) Install a previous version of Edge Mac Canary (it can be downloaded from official web site:https://www.microsoft.com/en-us/edge/download/insider?cc=1&cs=426423789&form=MA13FJ). If you don't have an older version, you can download and save the current version, and then try the below steps after a day or two. (2) Eject the DMG from the Finder Sidebar. (3) Switch to the System Settings panel, set the "Default web browser" as Edge Mac Canary just installed. (4) Click a URL link from Notes, it will open in Edge Mac Canary. (5) Navigate to "Settings"->"About Microsoft Edge" in Edge and wait for the update information to show that update is complete (it will auto update to the latest version). (6) Check current result of "Default web browser" in System Settings again. What is the expected result? The "Default web browser" should still be Edge Canary. What happens instead? The "Default web browser" in System Settings will change to Arc. But this time, when you click the link from Notes, it will open in Safari, which means that "Default web browser is shown as Arc, but it is actually Safari. It is worth noting that if you start Edge Mac in step (3) and then set it as Default Browser in the "edge://settings/defaultBrowser" page, this problem will not occur after the update is completed. Chrome Mac has the same issue. Other Please see the video (https://youtu.be/ymWAanLqz1Y) for more details.
2
0
124
Apr ’25
Messages-Photos access
Dear Developer, it used to be that when you were inside a Message and you clicked on the person‘s name you could bring up photos, links, etc., and pretty much all the photos would be there…at least for many months if not longer. However, when the iOS updated to 18, all the pictures disappeared and now I would have to download the entire set of images from the iCloud to get to the ones I want. It used to be so easy to access the photos under the name, I wouldn’t have to go searching for them. Furthermore, it left the pictures inside messages rather than leaving a gray box with paper emblem, file name, size & download option. Yes I understand that I could save all the pictures to my actual photos app, but I don’t always want to, however, I do sometimes want to go back and reference a picture within a text and now I’m not able to do that. I’m not sure if that was to save on memory/space or if it was just an accident of the fix on iOS 18, but it has really taken away a lot of convenience and accessibility. My search function has also been taken away because the pictures are no longer available inside the text. Is there a way to fix this? Thanks.
1
0
68
Apr ’25
How to disable auto restart on iOS 18
I have an iPhone 12 mini and I am currently using it as a modem for my router. Previously it was running iOS 14, but the DHCP on iOS 14 doesn't work and Apple didn't fix it until iOS 15. Recently I upgraded the system to iOS 18.4 to get DHCP back, but I got a bigger problem. The iPhone will restart itself after 3 days, and then I just lost internet connection. The hotspot will not be turned on until I climbed on my bookshelf to unlock my phone. After I googled it, I found that it is a feature that Apple introduced in iOS 18.1. While I couldn't find any setting to turn it off. If this cannot be controlled by the user, then it is anyway a BUG than a feature.
0
0
87
Apr ’25
The proximity sensor works abnormal in some devices.
Steps to Reproduce make an outbound call cover the sensor Actual Behavior the screen won't go dark device iOS Result iphone15 17 Pass iphone14p 18.0.1 Pass iphoneXs_pro max 18.1.1 Pass iphone13pro max 18.2.1 Pass iphone16pro 18.2 Fail iphone15pro max 18.3 Fail iphone12 pro max 18.3 Fail ps: Skype has the same probelm Seems like this issue only happens on iOS18.2+ on some devices, so is there a bug for this?
3
0
353
Apr ’25
Swift Student Challenge Playgrounds app in 3 min
I intend to participate in the Swift Student Challenge 25. I see Rules, It is mentioned that Playgrounds works should be a work that can be experienced in three minutes. However, my work does not meet this requirement. Create an interactive scene in an app playground that can be experienced within three minutes. Initially, my work was not intended for the Challenge but for the App Store. However, I decided to submit it to the Challenge, and my work and I met the requirements of the Challenge. Therefore, my work is a complete application, which makes it impossible for the judges to experience it within three minutes. It may take more time. Does this have any impact?
2
0
648
Jan ’25
Can we use Multipeer Connectivity framework and opensource packages for Swift Student Challenge?
I am building an app playground for SSC'25 where I want to use Multipeer Connectivity framework that would allow me to send and receive data to and from stranger devices. I also want to use some other open-source packages for some of the features. I just wanted to know if we are allowed to use or not?
4
0
793
Jan ’25
Mac OS 15.5 beta (24F5053j)
Hello everyone, I recently installed the following update (today) : Version 15.5 beta (24F5053j). Since rebooting, my Thunderbolt ports have stopped working. I contacted Apple Support, but they simply advised me to wait for the next update, without being able to give me a specific timeframe.... Result: my USB-C external monitors are no longer recognized. Have any of you encountered the same problem? Do you have any tips or solutions to reactivate the Thunderbolt ports? Thanks in advance for your help!
1
0
54
Apr ’25
App Attest receipts response 400
I tried to send it on the nodejs server I built. No success received 200 My work steps are as follows: The app executes “DCAppAttestService.shared.attestKey” to get receiptData from the acquired attestation. The app sends "receiptData.base64EncodedString()" to the server (code-1) Nodejs code (code-2) Because the app has been uploaded to TestFlight, I set the server IP to "data.appattest.apple.com" Is there something wrong with my steps? code-1 public func attestData(receipt:Data) { if DCDevice.current.isSupported { let sesh = URLSession(configuration: .default) var req = URLRequest(url: URL(string: "http://10.254.239.27:3000/attestationData")!) print(req) req.addValue("application/json", forHTTPHeaderField: "Content-Type") req.httpMethod = "POST" let data = try! JSONSerialization.data(withJSONObject: ["receipt": receipt.base64EncodedString()], options: []) req.httpBody = data let task = sesh.dataTask(with: req, completionHandler: { (data, response, error) in if let data = data, let jsonString = String(data: data, encoding: .utf8) { print(jsonString) } }) task.resume() } else { print("Platform is not supported. Make sure you aren't running in an emulator.") //self.stopActivity() } } code-2 versionRouter.post('/attestationData', function(req, response) { console.log("\n\n\n\n\n"); console.log("receiptApi"); var receiptBase64 = req.body.receipt; if (!receiptBase64) { return response.status(400).send({ error: 'Missing receipt data' }); } let binaryReceipt; if (typeof receiptBase64 === 'string') { const cleaned = receiptBase64.trim(); binaryReceipt = Buffer.from(cleaned, 'base64'); } if (Buffer.isBuffer(binaryReceipt)) { //binaryReceipt = receiptBase64; console.log("receipt is base64 或 Buffer: "+ Buffer.isBuffer(binaryReceipt)); } else { console.error('⚠️ receipt is not base64 or Buffer'); response.status(400).send("Receipt format error"); return; } var jwToken = jwt.sign({}, cert, { algorithm: 'ES256',header: { typ: undefined }, issuer: teamId, keyid: keyId}); var post_options = { host: 'data.appattest.apple.com', port: '443', path: '/v1/attestationData', method: 'POST', headers: { 'Authorization': jwToken, 'Content-Type': 'application/octet-stream', 'Content-Length': binaryReceipt.length } }; var post_req = https.request(post_options, function(res) { res.setEncoding('utf8'); console.log("📨 Apple Response Header:", res.headers); console.log("📨 Apple StatusCode:", res.statusCode); var data = ""; res.on('data', function (chunk) { data += chunk; }); res.on('end', function() { console.log(data); response.send({"status": res.statusCode, data: data}); }); }); post_req.on('error', function(e) { console.error('error:', e); response.status(500).send({ error: e.message }); }); post_req.write(binaryReceipt); post_req.end(); });
1
0
194
Apr ’25
Question on Developer Membership?
I am about to buy the yearly membership. My good friend was going to work on a project with me. If I start the project with the membership, would he need to also have a membership to collaborate on the project together? Really just seeing if we need two memberships to get started or just one.
1
0
274
Jan ’25
WhatsApp Crashing
I’m facing a persistent issue where WhatsApp crashes within a few seconds of opening. This started around 5–6 days ago. It was working perfectly for over a year before that. Device and App Details: • iPhone model: iPhone 15 Pro Max] • iOS version: iOS 18.4 • WhatsApp version: 25.10.72 • Available storage: 108 GB free out of 256 GB • WhatsApp size in storage: 5.8 GB Troubleshooting Steps Already Tried: 1. Updated iOS to the latest version. 2. Uninstalled and reinstalled WhatsApp from the App Store. 3. Performed a iPhone resetting. 4. Checked for app updates – none available. 5. Disabled background app refresh and notifications. 6. Tried using both Wi-Fi and mobile data. 7. Ensured iPhone has sufficient free space. 8. Did not restore from iCloud/WhatsApp backup after reinstall (even tried clean install). Despite all this, the app crashes within seconds after launching. No other apps are affected. Additional Observations: • Issue started suddenly without any changes in device usage or settings. • iPhone does not overheat or lag otherwise. This may be a compatibility bug with iOS or something related to WhatsApp’s recent internal behavior. Kindly advise or escalate for investigation.
1
0
76
Apr ’25