Explore the intersection of business and app development. Discuss topics like device management, education, and resources for aspiring app developers.

Post

Replies

Boosts

Views

Activity

Content Filter Extension on Shared iPads
We're trying to make our Content Filter solution work on Shared iPads. We leverage the Network Extension framework, more specifically the Content Filter Providers. On regular, 1:1 iPads, this works perfectly fine. However, on Shared iPads we see some weird behaviour. Upon logging in with a MAID everything initially seems fine. However, in about 5 to 10 seconds the user is automatically logged out and an error indicating "a connection to iCloud could not be made" is presented to the user. After investigating the logs it turns out this is caused by the fact that the network is unreachable. For example: Jan 19 00:33:04 cloudd(CFNetwork)[5867] <Error>: Task <F5DC7C46-422D-4265-A364-B3C859BF6291>.<1> finished with error [-1009] Error Domain=NSURLErrorDomain Code=-1009 UserInfo={_kCFStreamErrorCodeKey=50, NSUnderlyingError=0xefe89ffc0 {Error Domain=kCFErrorDomainCFNetwork Code=-1009 UserInfo={_NSURLErrorNWPathKey=unsatisfied (Path was denied by NECP policy), interface: en0[802.11], ipv4, dns, uses wifi, _kCFStreamErrorCodeKey=50, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=<private>, _NSURLErrorRelatedURLSessionTaskErrorKey=<private>, NSLocalizedDescription=<private>, NSErrorFailingURLStringKey=<private>, NSErrorFailingURLKey=<private>, _kCFStreamErrorDomainKey=1} Test device: iPad Pro (11-inch) running iPadOS 17.2 (21C62) My assumption: It looks like the filter providers start "too late". In the meantime the device is trying to reach the network, but since there is a Content Filter configuration in place all traffic is denied until the extension is started (and the completionHandler has been called with a nil error). I can see in the logs that, about 5 seconds after the home screen is visible, the Content Filter Providers are starting: ... Jan 19 00:52:54 neagent(NetworkExtension)[7086] <Notice>: Extension request with data extension <our filterData bundle ID> started with identifier 63576D2C-A484-4D07-9753-ADC99BFDB7A6 ... Jan 19 00:52:55 neagent(NetworkExtension)[7086] <Notice>: Extension request with control extension <our filterControl bundle ID> started with identifier 51D19516-C860-48B8-AB83-0F43D5F613CB ... Is my assumption correct? Are the Content Filter provider even officially supported by Apple on Shared iPads? Is there anything we can do to fix this issue?
4
0
953
Jan ’24
Guideline 3.2 - Business
We continue to find in our review that your app is intended to be used by a specific business or organization, including partners, clients, or employees, but you've selected public distribution on the App Store in App Store Connect. Since the App Store is intended for apps with a public audience, we recommend reviewing the other distribution options available to you through your Apple Developer Program Account. Next Steps To resolve this issue, review the other distribution options available for apps designed for specific businesses or organizations and choose a distribution option that works for your app and users. You can review these I am not able to resolve the above issue kindly help.
0
0
828
Jan ’24
Disabling the extra buttons on UIReferenceLibraryViewController
Hi! I am developing a word game for children. It is intended to be educational and help children pass the time by playing. I use UIReferenceLibraryViewController ( I use a UIViewControllerRepresentable as the app is essentially in SwiftUI) to show a definition of a word that the child comes across during play. This part works fine - except that the view contains a button to look on the web, and another to manage dictionaries - both of which I do not want children to be able to do. How do I disable these buttons? Alternatively, is there a way to just get the dictionary definition text and show that in a custom view?
2
0
610
Jan ’24
Apple App Publish - Distribution Method Issue
Guideline 3.2 - Business We found in our review that your app is intended to be used by a specific business or organization, including partners, clients, or employees, but you've selected public distribution on the App Store in App Store Connect. Since the App Store is intended for apps with a public audience, we recommend reviewing the other distribution options available to you through your Apple Developer Program Account. Next Steps To resolve this issue, review the other distribution options available for apps designed for specific businesses or organizations and choose a distribution option that works for your app and users. You can review these app distribution options on Apple Developer. How to resolve this issue - when my App's Business Model is - Business - to - Business Model and my app doesn't involve Registration Technique. If somebody has any information on this issue, Please Guide us.
0
1
700
Dec ’23
Version Number Conflicts
We are the client of a vendor who built a custom app for us. We use mobile device management to automate application updates. We push 45 apps and 44 work flawlessly. The 45th is this app and we always have to manually force it to update which causes drastic issues when the app is updated. After troubleshooting, it appears there is some type of mismatch between the store version number and what the device sees. The store will show the app as 1.2.3.4 but the device shows 1.2.3 when I force it to update. The vendor shows that they fill out the version as 1.2.3 and the build number as 4 which then produces 1.2.3.4. Are they filling this information out correctly? Are there other fields that are required for them to fill out elsewhere with the version number? Thank you
0
0
572
Dec ’23
Mac Assessment Mode in Electron App
I am implementing the Mac Assessment Mode feature on an Electron application. I have successfully activated it (verified through the assessmentSessionDidBegin function), but the application hangs on a gray screen. Additionally, I tried adding the Calculator app and VS Code (which is built with Electron) to the whitelist. The Calculator app can display, but VS Code cannot. I suspect that helper processes (Render, GPU, ...) may be blocked by this mode, preventing the application from displaying content. Therefore, I would like to ask if The Mac Assessment Mode supports Electron applications. Thank you for reviewing.
0
0
472
Dec ’23
How to generate developer token for api.ent.apple.com?
We are an MDM and are trying to migrate to the new App and Book Management APIs. In this doc mentioned below it asking us to send the public key generated to my Apple contact in a plain-text file. https://developer.apple.com/documentation/devicemanagement/app_and_book_management/apps_and_books_for_organizations/generating_developer_tokens?language=objc I'm not sure who my Apple contact is? I already understand how to generate JWT token for the api.ent.apple.com. I would like to know who can authorize the public key for the organization. Thank you
1
0
636
Nov ’23
How to get developer token for api.ent.apple.com?
We are working with MDM service using VPP API, and trying to migrate Legacy APIs to new App and Book Management APIs. This document says Send the public key you generate to your Apple contact in a plain-text file. Do not share the private key. Also provide a brief description of your use case and product. I generated a key-pair and sent the public key to Apple Developer Program support, however they didn't know how to handle it. What means "your Apple contact" here? I already understand how to generate JWT token for the api.ent.apple.com. I want to know who authorize the public key for the organization. Thank you,
3
0
842
Nov ’23