Delve into the world of built-in app and system services available to developers. Discuss leveraging these services to enhance your app's functionality and user experience.

Post

Replies

Boosts

Views

Activity

Apple-app-site association file is not fetching from the server
Hi Team, The apple-app-site association file is not fetching from the server. We have waited for more than 10 days. Please find below, the details for the same. URL - https://app-site-association.cdn-apple.com/a/v1/mobile.plymouthrock.com Well Known file - https://mobile.plymouthrock.com/.well-known/apple-app-site-association Please help us by letting us know the reason for this. Thanks and Regards, Ibrahim Sulaiman
0
0
10
8h
Apps of the same family being blocked inadvertently
My app allows users to select apps and websites to block using the Screen Time API. Lately I have gotten a bunch of emails from users who say that selecting one app also results in other apps of that family being blocked, even if they aren't selected in the FamilyActivityPicker. The most common example is Facebook. A handful of users have said that they selected Facebook to be blocked, but Messenger will be blocked as well (even though Messenger isn't selected, and they don't want it to be blocked). Does anyone know why this might be happening? It seemed to begin happening awhile ago after allowing users to block websites in addition to apps - not sure if that could have something to do with it.
1
1
44
11h
App Clips Domain Status Issues
Hello, I am trying to set up my app clip experience but am having issues with the associated domain. I have added the domain to my app clip's associated domains and updated my apple-app-site-association file on my website. On app store connect under my build I see "Bad HTTP Response" for domain url status. This is what my apple-app-site-association file looks like: { "appclips": { "apps" : [ "123ABC.com.NESVB.North-End-Shuttle.Clip" ] } } My associated domains looks like:
0
0
48
12h
Predicitive Text is presenting suggestions in incorrect language when 3rd party keyboard is installed
I'm the developer of a third-party keyboard app, Snippety - Snippets Manager, which is designed for using snippets rather than regular typing. One of my users has encountered a strange issue: after installing my keyboard (even when it is not actively in use), the predictive text bar starts showing suggestions in Polish. This happens despite the Polish language not being installed on the device. The issue resolves as soon as my keyboard is uninstalled from the system settings. Interestingly, my application (including the keyboard) does not support the Polish language, nor is Polish specified anywhere in the app. The app was developed and published from macOS in English. This seems to be an iOS bug. The only language-related configuration in my keyboard is the PrimaryLanguage key in the Info.plist file, which I set to "mul" because the keyboard is not intended for typing. I also tried setting it to "mis", but the issue persists. The video presenting this issue on an iPhone 15 simulator running iOS 17.5: https://www.dropbox.com/scl/fi/xjdyucxpmv1cv0mnmwzvd/prdictive-text-issue.mp4?rlkey=aphznpdti08pz8xl84ojbyxz3&dl=0 Info.plist for my keyboard: My project settings: Steps to reproduce: Configure iOS to use English language only, with English keyboard Enable predictive text feature in the system Install Snippety keyboard Use the regular keyboard & start typing "dzie" Actual result: Polish predictions appear even though the Polish language is not installed or declared by the keyboard. Expected result: The predictive text should present predictions based on system settings. What is even more weird, I discovered that when I add the keyboard in system settings, it automatically installs Polish language in the system settings. I even changed PrimaryLanguage to "de" (German) in Info.plist but it still installs Polish. See: https://www.dropbox.com/scl/fi/aiv5g4z331zwy827zj47v/incorrect-language-installed.mp4?rlkey=16v5gqmb6mj8yuyyd7jwmjnsw&dl=0 Any ideas what could be wrong? I also created a ticket: #FB13949087 I also found a similar issue from 2018 (O_O) reported here: https://stackoverflow.com/questions/53069262/ios-adds-new-preferred-language-when-installing-my-3rd-party-keyboard
2
0
54
13h
CSUserQuery Generating Model Load Failure - No Results
I'm trying CoreSpotlight on the 18b1 seed on iOS and after submitting my query, I'm getting multiple errors about what looks like missing models: [Model loading] model loading failed with err -1000 for model path /Users/hunter/Library/Developer/CoreSimulator/Devices/0AF4F46E-5510-4458-B61C-F8A153155809/data/Containers/Data/Application/1D8580C0-AC80-4949-9FDA-31DB463BDA5C/Library/Spotlight/Resources_V3/Default/models/spotlight_l2.mlmodelc and directives path /Users/hunter/Library/Developer/CoreSimulator/Devices/0AF4F46E-5510-4458-B61C-F8A153155809/data/Containers/Data/Application/1D8580C0-AC80-4949-9FDA-31DB463BDA5C/Library/Spotlight/Resources_V3/Default/directives/directives_l2.mdplist I am calling CSUserQuery.prepare() but that doesn't seem to make a difference. Is there more to this than what is on this page? https://developer.apple.com/documentation/corespotlight/building-a-search-interface-for-your-app?changes=latest_minor
0
0
37
15h
Screen Time Crash. IOS 18 Dev Beta 1
I have experienced a consistent bug with screen time in IOS 18 DB1. It just doesn’t work, but the limits still function. I cannot access screen time settings (it just crashes) nor can I disable screen time from within a blocked app itself. Have not found any workaround. I have logged a feedback report, FB13932765 (Unable to open screen time settings, it just crashes) I Hope this can be looked at and resolved by the next update. Thanks, Felix
0
1
85
19h
JSON Encoder Crashing
Hi For some of the user the JSON Encoder is giving crash while converting array of Models into the dictionary its not reproducible at our end. Below is the stack trace of the issue 2024-06-14_21-18-38.4054_-0500-90aad9908d4fb2c7b8e49ce4b3025fab79674e31.crash Please help with above crash how can we reproduce and what should be the solution for this. Thanks
1
0
61
1d
AASA file not being downloaded, returning error
Hi Apple, We have been using Associated Domains and Universal Linking for years now, without any problem. Recently, users began having problems accessing the app through Universal Links. A quick look in the swcutil_show.txt file (through Analytics gathering in the sysdiagnose) at what the system tried to download revealed that the Apple Server had issues downloading our AASA file: Error Domain=SWCErrorDomain Code=7 "SWCERR00101 Bad HTTP Response: 502 Bad Gateway -- {"status":"502 Bad Gateway"}" UserInfo={Line=275, Function=-[SWCDownloader URLSession:dataTask:didReceiveResponse:completionHandler:], NSDebugDescription=SWCERR00101 Bad HTTP Response: 502 Bad Gateway -- {"status":"502 Bad Gateway"}, UnderlyingError=Error Domain=HTTP Code=404 "(null)" UserInfo={Line=275, Function=-[SWCDownloader URLSession:dataTask:didReceiveResponse:completionHandler:]}} I was wondering if there was ANY way of knowing what cause the 404? Thanks!
0
0
26
1d
Cannot Access the TestFligh due to invitaion code is not diplaying in the email
I have been trying to access the test flight since yesterday but was not able to access instead it displayed the below message. "Before you can start testing, a developer has to invite you to test one of their TestFlight apps.To accept an invite, click on the link in the email or enter invitation redeem code" - Attached the scrrenshot Once I clicked on redeem there is a pop-up displayed that asked me to enter the Test flight invitation code which I did not get. - Attached the screenshot This is purely to test the Chrome beta version to test the compatibility and not any personal apps. Can someone help me out to solve this issue?
0
0
20
1d
I have problem on App Clip to go back to safari.
Hi, could you help me? I have problem on App Clip. We are opening our app clip from safari and we need to go back. From full application there is back button to go back to safari, from there, but from app clip there is not any functionality to go back to safari. Could you please suggest solution for my problem? We tried to use solution using schema for safari, schema: com-apple-mobilesafari-tab, but this solution also is not working. func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) { completionHandler( [.banner, .badge, .sound]) } func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) { if let url = URL(string: "com-apple-mobilesafari-tab://"), UIApplication.shared.canOpenURL(url) { UIApplication.shared.open(url, options: [: ], completionHandler: nil) } completionHandler() }
0
0
13
1d
I have problem on App Clip.
Hi, could you help me? I have problem on App Clip. We are opening our app clip from safari and we need to go back. From full application there is a back button to go back to safari, from there, but from app clip there is not any functionality for going back to safari. Could you suggest some solution for my problem? We have tried to use solution using schema for safari, schema: com-apple-mobilesafari-tab, but this solution is also not working. func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) { completionHandler( [.banner, .badge, .sound]) } func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) { if let url = URL(string: "com-apple-mobilesafari-tab://"), UIApplication.shared.canOpenURL(url) { UIApplication.shared.open(url, options: [: ], completionHandler: nil) } completionHandler() }
0
0
14
1d
Screen Time App crashing on ios18
I have screen time set on my device. Post the ios18 update, screen time app is not opening and it is crashing directly on the Home page. On some other phone, I found that Screen Time opens okay if you don't have it setup for the time limit. I am using IPhone 12.
0
1
61
1d
Home app unreliable across network with iOS 18 beta and Sequoia beta
I have installed iOS 18 beta on one iPhone and Sequoia beta on one computer. Other phones and computers are running iOS 17 and Sonoma. Siri now frequently responds with "I'm having trouble... " or "Some accessories are not responding . ". I have the Home app's Home page open on my Mac. It alternates between two versions of my HomeKit setup. In one version I have several scenes (Good Morning, Goodnight, Go to work) configured and it shows correctly that some lights are on. In the other version there are no scenes and everything thing is reported as "No Response". The display switches between versions very few minutes. It seems to me that Home is referencing two versions of truth in my network. I have tried turning off the two devices running beta OSs
0
0
65
2d
Ios18 Hourglass next to my apps
After the upgrade , for some reason now my apps have that hourglass icon next to the app icon and I don’t know how to remove them , the thing is that my limit time list on the settings is empty , did you guys deal with something like that after the upgrade or is any fix to solve it please ? thank you
0
0
58
2d
Screen tome big on ios 18 beta
I recently was allowed to leave family sharing due to age and my parents disabled the screen time function, yet i still have screen time limits on my device, and i am kicked out pf settings whenever attempting to go into tje screen time settings, does anyone know a fix/workaround? (Reseting my phone requires the screen time passcode of which i don’t have.)
2
0
65
3d
Share number from contact/call logs
Hi, I'm trying to implement a way to share a phone number from call logs with my app. I would select the call log entry, then "share contact" and share to my app. I implemented a Share Extension and my application appears in the list of application to share with. How can I list my application in the list of actions below the app icons? When I share with my app, the Share Extension view shows up, but no action is possible: I implemented a button to be able to send the number to my application but the action never fires, is it the correct implementation? How would I implement the sharing of the number with my main app? I tried with a custom url binding but I'm not sure if it is the correct way. My ideal implementation would be that no view show up and my application is immediately launched and the number is pasted. struct ShareView: View { var extensionContext: NSExtensionContext? @State private var contact: CNContact? = nil @State private var error: Error? = nil @State private var multiSelection = Set<String>() @State private var selectedPhoneNumber: String? = nil var body: some View { NavigationStack { VStack() { if let contact = contact { Button(action: submitPhoneNumber) { Text("Submit") .padding() .background(Color.green) .cornerRadius(8) .foregroundColor(.white) } List(contact.phoneNumbers, id: \.self) { phoneNumber in Button(action: { print("Phone number selected: \(phoneNumber.value.stringValue)") self.selectedPhoneNumber = phoneNumber.value.stringValue }) { Text(phoneNumber.value.stringValue) //.padding() .background(self.selectedPhoneNumber == phoneNumber.value.stringValue ? Color.blue : Color.clear) //.cornerRadius(8) .foregroundColor(.black) } } } else if let error = error { Text("Error: \(error.localizedDescription)") } else { Text("Loading...") .onAppear { loadContact() } } } } .padding() .navigationTitle("Number") .toolbar() { Button("Close") { close() } } } func close() { NotificationCenter.default.post(name: NSNotification.Name("close"), object: nil) } private func isButtonActive() -> Bool { return selectedPhoneNumber != nil } private func submitPhoneNumber() { print("Selected phone number: \(self.selectedPhoneNumber ?? "Nothing")") guard let phoneNumber = self.selectedPhoneNumber else { return } guard let extensionContext = self.extensionContext else { return } print("PhoneNumber: \(phoneNumber)") let urlScheme = "callclean://" if let url = URL(string: "\(urlScheme)?phone=\(phoneNumber)") { print(url.absoluteString) extensionContext.open(url, completionHandler: nil) } close() } private func loadContact() { guard let extensionContext = extensionContext else { return } for item in extensionContext.inputItems { if let inputItem = item as? NSExtensionItem { if let attachments = inputItem.attachments { for provider in attachments { if provider.hasItemConformingToTypeIdentifier("public.vcard") { provider.loadItem(forTypeIdentifier: "public.vcard", options: nil) { (data, error) in if let error = error { DispatchQueue.main.async { self.error = error } return } if let data = data as? Data { do { //let contactStore = CNContactStore() let contacts = try CNContactVCardSerialization.contacts(with: data) DispatchQueue.main.async { self.contact = contacts.first } } catch { DispatchQueue.main.async { self.error = error } } } } } } } } } } } Thanks for your guidance.
0
0
25
3d
Ios 18 beta time limit not working properly
i’ve recently updated to ios 18. I previously had a time limits set for instagram on my phone , so if i am past my time limit i could just ignore the time limit and continue using the app, but after upgrading to ios 18, i simply cannot use the app after the 1 hour limit set by me. Sometimes it would open, but without sound. I have tried all the things like turning off downtime ,turning off app and webtime activity , adding the app to always allowed list and so on. still no better. I use an 11 pro max.
0
1
94
3d
Apps Shutting Down
I recently installed IOS 18.0 Beta on my Iphone 14 Pro. Now more and more apps shutting down due to “Critical threat detected…” Apdo notification not working wven though notification is enabled in the settings.
0
0
20
3d