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

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
119
Apr ’25
Missing App Crash Data in Analytics Report Downloads via API
I'm encountering an issue with the App Store Connect Analytics API. to download analytics reports, the app crash data is missing for both ONGOING and ONE_TIME_SNAPSHOT reports. The crash data does appear in the Dashboard, with the numbers greater than 5, so this doesn’t seem to be related to privacy restrictions. Has anyone else experienced this issue? Any insights or suggestions on how to resolve this would be greatly appreciated! Thanks in advance!
1
1
91
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
79
Apr ’25
FamilyActivityPicker will have a problem closing the parent element fullScreenCover in the 18.4 official version
.fullScreenCover(isPresented: $isShow) { Button(action : { isPresented.toggle() }){ Text("Choose") } .familyActivityPicker( isPresented: $isPresented, selection: $selection) .onChange(of: selection){ value in } } In the official version of iOS 18, when I click the Done button of familyActivityPicker, the fullScreenCover pop-up box will disappear.
2
2
189
Apr ’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
66
Apr ’25
iOS RN app crashing with NSInvalidArgumentException
I am facing iOS app crash on app start, below is stack trace of crashed thread OS Version: iOS 18.3.2 (22D82) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Crashed Thread: 28 Application Specific Information: *** -[__NSDictionaryM setObject:forKey:]: key cannot be nil Thread 28 Crashed: 0 CoreFoundation 0x323b575fc 1 libobjc.A.dylib 0x31e649244 objc_exception_throw 2 CoreFoundation 0x323b3f224 3 libloader 0x10651eba4 4 libloader 0x10653f3b4 5 libdispatch.dylib 0x3336a8248 6 libdispatch.dylib 0x3336a9fa8 7 libdispatch.dylib 0x3336b15cc 8 libdispatch.dylib 0x3336b2124 9 libdispatch.dylib 0x3336bd38c 10 libdispatch.dylib 0x3336bcbd8 11 libsystem_pthread.dylib 0x43965d680 _pthread_wqthread 12 libsystem_pthread.dylib 0x43965b474 start_wqthread
1
0
90
Apr ’25
Skip the "Do you want to open ?" Modal
We have an Angular web application which gets installed as a webclip on client iPads. The web application has buttons that will take the user directly to our native iOS application. We also would like a way for our webclip application when opened to perform some data lookups and if certain conditions are met, then take the user directly to our native iOS app. We're using vanilla JS window.open. This works well when the user manually taps button. However, this does not work when the webclip application tries to open the native iOS app without user interaction. In that case the window.open does nothing. The window.open target URL is the exact same in both cases. We tried using URL Schemes instead of Universal Links but with this the iPad displays a modal asking "Do you want to open ?". For our use case, this is unacceptable. Is there any way for us to skip this prompt? We'd like there to be no additional action needed from the user to be able to get from webclip to native iOS app beyond simply opening the webclip.
1
0
94
Apr ’25
Urgent: Locked Account Holder – Need Help Accessing Developer Account
Hello Apple Developer Community, I'm hoping someone can advise me on a serious issue. Our organization's Apple Developer Program account has been effectively locked because our Account Holder's Apple ID is inaccessible. I need to unlock that Apple ID so we can manage our apps. I've already reached out to Apple Developer Support, but so far, I haven't received a response. This situation is critical because our clients rely on us to maintain and update our apps. Key details (some info is masked for privacy): • We're enrolled as an Organization/Company. • The current Account Holder's Apple ID is locked and cannot perform any actions. • No other accounts have admin access. If anyone has encountered a similar issue or knows a more efficient route to escalate, I'd be extremely grateful for your insights. Thanks in advance for any advice you can share. This is critical to our organization, and we'd appreciate any pointers on how to navigate or expedite the support process.
1
2
124
Apr ’25
Battery health dropping fast.
Hi!I‘ve bought my iphone in june 2024 and battery health was at 100% untill March this year.Now its April its at 94%.I’ve been always charging my phone to 80% and would never let it drop below 20%. Is this good or bad?
1
0
49
Apr ’25
Invalid Binary uploading app in TestFlight
Hello, While we are uploading our App in TestFlight for external testing then after 1 minute we are getting invalid binary issue. Issues have been mentioned below. ITMS-91061: Missing privacy manifest - Your app includes “Frameworks/Capacitor.framework/Capacitor”, which includes Capacitor, an SDK that was identified in the documentation as a commonly used third-party SDK. If a new app includes a commonly used third-party SDK, or an app update adds a new commonly used third-party SDK, the SDK must include a privacy manifest file. Please contact the provider of the SDK that includes this file to get an updated SDK version with a privacy manifest. For more details about this policy, including a list of SDKs that are required to include signatures and manifests, visit: https://developer.apple.com/support/third-party-SDK-requirements. ITMS-91061: Missing privacy manifest - Your app includes “Frameworks/Cordova.framework/Cordova”, which includes Cordova, an SDK that was identified in the documentation as a commonly used third-party SDK. If a new app includes a commonly used third-party SDK, or an app update adds a new commonly used third-party SDK, the SDK must include a privacy manifest file. Please contact the provider of the SDK that includes this file to get an updated SDK version with a privacy manifest. For more details about this policy, including a list of SDKs that are required to include signatures and manifests, visit: https://developer.apple.com/support/third-party-SDK-requirements. we are using ionic6 with capacitor 4. We are using camera , location, calendar , push notification with firebase. How to resolve it?
1
0
84
Apr ’25
Problems With Car Connectivity
The latest Beta update 18.5.4 has caused connectivity problems with my car (Skoda Enyaq) whereby there is no connection via Bluetooth or the cars internal WiFi. Also contacts will not download to the care which is very frustrating.
3
0
80
Apr ’25
Urgent: Locked Account Holder – Need Help
Hello Apple Developer Community, I need some assistance with my account. I created a new developer account for a new project I am working on, and paid the apple developer fee. Everything was working fine for a few weeks, I was able to get my app on TestFlight and invite testers to it, as well as push updates and get feedback. The testers were family/business partners. As of a few days ago, I was locked out of my account. I first tried resetting my password, and was then met with an email claiming my account was locked with no additional information. I am trying to understand how I can either unlock my account, or transfer my existing app to a new account, so that I do not have to bother my users with downloading a new app. Additionally, I would like some help in understanding how I can safeguard myself from this issue in the future, especially given this would not be fun if my app were published. Could anyone please assist me, provide me with any advice, or point me to a place where I could get support? I spent 25 minutes on the phone with apple support, and was treated excellently as I've come to expect of Apple, but unfortunately was not given any help as the support did not have additional information. I'm hoping I'm asking in the right place, and can get some help! Thanks in advance, Fritz
2
2
330
Apr ’25
ArAnchor shifts
I encountered some issues while developing a Vision Pro program using Unity. After binding an ARAnchor to a game object, I overlapped the virtual game object with a real-world cup. However, when I moved around with the Vision Pro on, the virtual game object shifted, causing the real-world cup and the virtual object to no longer coincide. Is there a way to solve this?
1
0
92
Apr ’25
Alternate App Icon Change Does Not Reflect in Notification Center on iOS 18.1+
When changing the app's alternate icon using UIApplication.setAlternateIconName(_:completionHandler:), the icon is updated correctly on the Home Screen and App Switcher. However, in Notification Center, the old app icon is still shown for notifications, even after the change has completed. Rebooting or change the device's language causes the correct icon to appear. This issue only occurs on iOS 18.1 and later. In iOS 18.0 and earlier, Notification Center correctly reflects the updated icon. Could you provide insights into how iOS caches notification icons and how we can force a refresh for all users?
1
0
173
Apr ’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
95
Apr ’25