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

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
65
Apr ’25
Affiliate links to external Web store
Hello all. I am currently developing a database app of particular products for people who collect this item. Let's say model airplanes. People can look at their list of model airplanes and also see a collection of airplanes by model companies. I want to offer a link from a product in my app to a local retailer's website who sells this product on their website. Not just their base site, but directly to the products page. Meaning each product in my database will have a unique link to an external product page. This could also include links to Ebay or Amazon if local retailer doesn't sell the product. Is this sort of feature allowed inside App Store Apps as technically it's not an in-app purchase? I do see some vague answers around but none that target this specific circumstance. Thankyou in advance.
0
0
42
Apr ’25
Change Dev Account "Enrolled As" Status
I'm a developer that has only produced for a single company. Though my developer account shows me as the account holder, my "Enrolled as" status is "Organization," and the "Entity" field shows the name of that company. I want to build an app for a separate company/organization, but unsure how to proceed. My App Store Connect account shows the original company name beneath my name as the only option in the account ID selector menu, so when I begin the New App process it automatically assumes I'm doing it for that company. Can I change my "Enrolled as" status to something independent of any organization, do I need to create a completely separate account to do this, or how should I proceed? Any help would be appreciated. Thanks.
0
0
389
Dec ’24
Download and Store Custom Notification Sound for Playback in All App States (Foreground, Background, and Terminated)
I want to implement a feature where a custom notification sound file is downloaded from the server when the app is first launched and stored locally on the device. When a push notification arrives, the stored sound should be played in all app states, including foreground, background, and terminated (killed) state. Does anyone have an idea on how to implement this in iOS? Specifically, I am looking for guidance on: 1)Downloading and storing the sound file securely on the device. 2)Using the locally stored file for push notification sounds. 3)Ensuring the sound plays correctly in all states, including when the app is not running.
0
0
97
Apr ’25
How to request several models simultaneously
I am using HelloPhotogrammetry in Xcode I can make one model with something like HelloPhotogrammetry.main([path_to_folder_of images, path_to_output/model.usdz, "-d", "medium", "-o", "unordered", "-f", "high" ]) But how would I request several models simultaneously? I only want to vary the detail. [ ("/Users/you/Desktop/model_medium.usdz", detail: .medium), ("/Users/you/Desktop/model_full.usdz", detail: .full), ("/Users/you/Desktop/model_raw.usdz", detail: .raw ]
0
0
71
Apr ’25
Multiple IPSW for same version
Hi Team, I just want to know the reasoning behind why there are two IPSW with same version and different build IDs. Example: https://ipsw.me/iPhone12,3 Version: 18.3 BuildIDs: 22D64 and 22D63 Also, in future, on what devices this kind of two buildIDs will be created?
0
0
132
Feb ’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
62
Mar ’25
Beta Channel Setting Prevents Ventura Security Updates on Older Macs
I discovered an issue where older Intel Macs (like my 2017 MacBook) enrolled in the macOS Sequoia Public Beta do not receive Ventura security updates, even though Sequoia is not compatible with the hardware. My system said “macOS is up to date” while stuck on Ventura 13.7.1, but after switching to the Ventura Public Beta channel, it immediately showed a new update available. This seems like a serious flaw—Apple should warn users or fall back to compatible OS versions when an enrolled beta is unsupported. Has anyone else experienced this? Could be a widespread issue for Intel Mac users still relying on Ventura.
0
0
57
Mar ’25
App Latest version from the App Store
i am using this code public static bool CheckForForceUpdate() { try { Version latestVersion = new(GetLatestVersion()); Version currentVersion = new(AppInfo.VersionString); if (latestVersion != null && currentVersion < latestVersion) { NSUserDefaults.StandardUserDefaults.SetBool(true, StorageKey.IsForceUpdate); return true; } else { NSUserDefaults.StandardUserDefaults.SetBool(false, StorageKey.IsForceUpdate); return false; } } catch (Exception ex) { Console.WriteLine("CheckForForceUpdate....." + ex.Message); return false; } } public static string GetLatestVersion() { try { string appId = "1586153397"; // Replace with your App Store app ID string url = $"https://itunes.apple.com/lookup?id={appId}"; using (HttpClient client = new HttpClient()) { var response = client.GetStringAsync(url).GetAwaiter().GetResult(); var json = JObject.Parse(response); var latestVersion = json["results"]?[0]?["version"]?.ToString(); return latestVersion; } } catch (Exception ex) { Console.WriteLine("GetLatestVersion..." + ex.Message); return null; } } The value of latestVersion should 2.1 in my production app i am not able to get this hence i am not able to achieve Force Update functionality
0
0
59
Apr ’25
Question About CarPlay Certification When Using Custom Wiring Harness
Hello developers, My question isn't directly related to app or software development, but this seems to be the most appropriate channel to possibly find the information I need. Context I work for an automotive company and I'm currently looking for Apple CarPlay certification guidelines. We're in the process of installing a multimedia system in a vehicle. The most viable solution would be to use the multimedia unit and microphone provided by our supplier, but with a custom wiring harness developed by our company to simplify the installation process. The multimedia unit, microphone, and the supplier’s harness are already certified for CarPlay. Question Would using our company’s custom wiring harness affect the existing CarPlay certification of the supplier’s product? Any information, contact, or suggestion on where I could find official guidance on this matter would be greatly appreciated. Thank you in advance!
0
0
58
Jun ’25
iOS 26 0% Battery Health
Updated iPhone to 26 beta 2, everything is ok but battery, battery is changed, not original. My phone can't charge higher than 1% and turns off every 5 minutes, even connecting to wireless charger and cable at the same time don't work, restored iPhone thru iTunes.I hope I will be able to install new beta without any problems because loving the new design, hoping for the best. Thanks. My FB-FB18327769
0
1
172
Jun ’25
Developer Enrollment - Bug.
Hi everyone, We're hoping someone here can help us out. We've run into a consistent issue when trying to enroll a new Apple Developer account as an organisation using our DUNS number. Here's what we've experienced: Individual enrollment through the Developer app works perfectly with a new Apple ID. However, when using an existing Apple ID and selecting organization enrollment, the process gets stuck: The payment button is greyed out in the Developer app. We're then locked out of enrolling through the app entirely. 4. When trying to complete the enrollment via the Developer website, there’s no valid payment method available (e.g., VISA option missing CVV field), and any attempts to proceed just loop without success. We're essentially stuck in a limbo state where we can’t proceed. We’ve gone through all the support channels: The automated assistant (Gaby) is unable to resolve the issue or understand the full context. Live chat support for both individual and business accounts told us they can’t assist and referred us back to the developer support system—which leads us back to square one. All members of our team were able to enroll individually without issue, but organisation enrollment consistently failed. Business support and Commercial support (spoken to supervisors) are unable to assist. They really tried and made an effort. Has anyone experienced this before? Is there a way to get in touch with a real person at Apple who can actually resolve this? What are our next steps? Any advice would be greatly appreciated. Thanks!
0
0
82
Apr ’25
Mac App Store Unable to Install or Purchase Any New Applications
Since macOS 15.4 Beta 2, my App Store has been unable to install or download any new applications; it can only download applications I have previously purchased. It appears as follows: when I click 'Get,' the system spins to load and then returns to the initial state. Upon checking system error reports, it seems there's an issue with AMSUIPaymentViewService_macOS [2113]. This problem persists despite changing credit cards or even removing all credit cards. macOS 15.4 Beta 3 has not fixed this error.
0
0
267
Mar ’25
no internet connection
after updating to beta 4 the whole phone is not working anymore nothing is working only making calls and the camera no apps no internet even if it's connected to wifi or 5G ANd to get back to the old version you will lose your backup And now im stuck my data that i can't restore it cuz it have been made on the last IOS beta I don't want to lose my date and i don't know what to do Please help
0
1
236
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
279
Mar ’25
I can't register in to the Developer account.
I have tried everything. Different addresses, different credit cards, then it appears pending, but the credit card is never charged and then it "resets", meaning I can do the whole process again as if nothing had happened. I have already sent an email to Apple and I have not had a response either. How can I move forward? Some help. Greetings!
0
0
413
Feb ’25
lowQualityThumbnail in QLThumbnailGenerator stops working from 15.2
Our code is using .lowQualityThumbnail to generate a thumbnail, it stops working when users update to 15.2 . Test it with a regular jpg file for fileURL. The only way to make it work is to change it to .thumnail or remove it. It's not deprecated, is it a MacOS bug? customers don't want to keep updating the software. Everything works in MacOS 15.1 import QuickLookThumbnailing func generateThumbnail(for fileURL: URL, size: CGSize, scale: CGFloat) { let request = QLThumbnailGenerator.Request(fileAt: fileURL, size: size, scale: scale, representationTypes: .lowQualityThumbnail) QLThumbnailGenerator.shared.generateBestRepresentation(for: request) { thumbnail, error in if let error = error { print("Error generating thumbnail: \(error)") } else if let thumbnail = thumbnail { // Use the thumbnail let image = thumbnail.uiImage // Do something with the image } } }
0
0
194
Jan ’25