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

Screen Time Guardian App Questions
WWDC21 session 10123 shows a screen that implies the guardian instance of your app is able to select apps on your child's device to encourage or to control. In my experience with the API so far I can't see a way to do this. The API only seems to work on the child's phone. Here are my questions: Is there a suggested way to determine whether the app is running on a guardian device? The only way I can see is to attempt AuthorizationCenter.shared.requestAuthorization and check for an error value of .invalidAccountType. But it seems you could get that error for other reasons too. Is there a way to present FamilyActivityPicker on the guardian device but have it show apps on the child's phone? I don't see any thing in the API for selecting a child account to access with `FamilyActivityPicker', it seems to only show the phone's user's apps (or no apps if it's the guardian's phone). After retrieving app tokens from 'FamilyActivityPicker' is there a recommended way to present to the user in the UI? The WWDC session shows an app icon and app name (i.e. "Books" and "Solar System"), but my understanding is that info is hidden from the developer for privacy reasons. So I'm wondering if the example in the session is really feasible.
7
0
3.2k
Jul ’21
Webclip icon cannot be deleted
The iphone info: OsVersion: iOS 15 Device model: iphone 12 Steps: Install the MDM profile on the iphone. The server pushes the command to install the webclip profile through MDM (the profile is set to not be manually removable). After installing the webclip profile, the webclip icon will appear on the Home Screen of the phone screen. When the webclip is no longer used, remove the webclip profile through MDM. The problem occurs in step 4, the webclip profile is deleted, but the webclip icon still exists on the home screen of the mobile phone, and cannot be removed by tools such as Apple Configurator2. So what causes this phenomenon and how to fix?
4
3
1.8k
Jan ’23
Apple Business Manager Azure app stopped syncing
Since a few days my Apple Business Manager Enterprise App in Azure was quarantined. I had no configuration changes, it just suddenly stopped. I have two groups which contain the users I want to sync. It seems it cannot use groups at all anymore. If I assign users directly it will work. But that's very inconvenient for us. Was there any change lately to explain why this does not work anymore? Group User
0
0
377
Jul ’23
Clarification regarding Not Now Option in ABM enrollment using which user can skip ABM enrollment for 8 hours
During the "What’s new in managing Apple devices" session, you provided information about the "Not Now" option during Mac ABM Enrollment. We observed that this option was functional when enrolling a Mac through ABM using the "profiles renew -type enrollment" command. However, when attempting to enroll a Mac by erasing it through ABM, we couldn't find the "Not Now" option. Could you please confirm whether the "Not Now" option is intended to be available when enrolling a Mac by erasing it through ABM? Your clarification on this matter would be greatly appreciated.
0
0
553
Jul ’23
ScheduleOSUpdate command fails
When pushing the “ScheduleOSUpdate” command to a Supervised MDM enrolled iPad device, command fails with the following error. Available OS Update response <key>AvailableOSUpdates</key> <array> <dict> <key>AllowsInstallLater</key> <false/> <key>Build</key> <string>20G75</string> <key>DownloadSize</key> <integer>4456890240</integer> <key>HumanReadableName</key> <string>iOS 16</string> <key>InstallSize</key> <integer>467664896</integer> <key>IsCritical</key> <false/> <key>ProductKey</key> <string>iOSUpdate20G75</string> <key>ProductName</key> <string>iOS</string> <key>RestartRequired</key> <true/> <key>Version</key> <string>16.6</string> </dict> </array> <key>CommandUUID</key> <string>AvailableOSUpdates</string> <key>Status</key> <string>Acknowledged</string> ScheduleOSUpdate command <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CommandUUID</key> <string>ScheduleOSUpdate</string> <key>Command</key> <dict> <key>RequestType</key> <string>ScheduleOSUpdate</string> <key>Updates</key> <array> <dict> <key>ProductKey</key> <string>iOSUpdate20G75</string> <key>InstallAction</key> <string>Default</string> <key>ProductVersion</key> <string>16.6</string> </dict> </array> </dict> </dict> </plist> ScheduleOSUpdate command response <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CommandUUID</key> <string>AttemptOSUpdate</string> <key>Status</key> <string>Acknowledged</string> <key>UDID</key> <string>****</string> <key>UpdateResults</key> <array> <dict> <key>ErrorChain</key> <array> <dict> <key>ErrorCode</key> <integer>12057</integer> <key>ErrorDomain</key> <string>MCMDMErrorDomain</string> <key>LocalizedDescription</key> <string>The update failed to download.</string> <key>USEnglishDescription</key> <string>The update failed to download.</string> </dict> <dict> <key>ErrorCode</key> <integer>2202</integer> <key>ErrorDomain</key> <string>DeviceManagement.error</string> <key>LocalizedDescription</key> <string>A download failed.</string> </dict> <dict> <key>ErrorCode</key> <integer>31</integer> <key>ErrorDomain</key> <string>com.apple.softwareupdateservices.errors</string> <key>LocalizedDescription</key> <string>The operation couldn’t be completed. (com.apple.softwareupdateservices.errors error 31.)</string> </dict> </array> <key>InstallAction</key> <string>Error</string> <key>ProductKey</key> <string>iOSUpdate20G75</string> <key>Status</key> <string>DownloadFailed</string> </dict> </array> </dict> </plist> As seen in the AvailableOSUpdate response, this device is applicable for iOS 16 update but unable to update manually as well as via MDM. The device has the following message showing up, is there any relation between the MDM command failing and this message. This iPad device is currently running "12.1.4" OS version Kindly confirm the reason for this message and the reason for this failure via MDM. And also confirm if there are any restrictions to update to certain major OS versions from lower OS versions, if so kindly share any documentation available regarding this. 
0
0
697
Aug ’23
new classes .h .cpp Xcode, translate from Visual Studio
Good morning, I am very beginners student of openFrameworks. I'm following a tutorial trying to create a new class with openFrameworks but I cannot compile it in the right way. This because the tutorial I found in on Visual Studio and i'm working on a Mac with Xcode. This problem is blocking me and I cannot go on with the course. Can someone help me translate the code to create a new class from Visual Studio to Xcode? The language is the same, but the programme in this case is slightly different. On Visual Studio the files are Class.H and Class.Cpp THIS IS CLASS.H VISUAL STUDIO #pragma once #include "ofMain.h" class ball { public: ball(); void setup (ofVec2f initialPos, ofVec2f initialVel, float rad); void update (); void draw(); ofVec2f pos; ofVec2f vel; ofVec2f radius; }; CLASS.CPP VISUAL STUDIO #include "ball.h" ball :: ball();{ } void ball :: setup(ofVec2f initialPos, ofVec2f initialVel, float rad); { ofVec2f initialPos; ofVec2f initialVel; float rad; } //-------------------------------------------------------------- void ball::update() { pos += vel; if ((pos.x > ofGetWidth ()) || (pos.x < 0)){ vel.x *= -1; } if ((pos.y > ofGetWidth ()) || (pos.y < 0)){ vel.y *= -1; } //-------------------------------------------------------------- void ball::draw(){ ofDrawCircle (pos.x, pos.y, radius); } On Xcode it is slightly different and I don't know how to translate it. Here is the setting for the two XCode pages CLASS.H and CLASS.M CLASS.H // // Default Classes.h // default classes // // Created by Valerie Tameu on 23/08/23. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface Default_Classes : NSObject @end NS_ASSUME_NONNULL_END and CLASS.m // // Default Classes.m // default classes // // Created by Valerie Tameu on 23/08/23. // #import "Default Classes.h" @implementation Default_Classes @end Somebody can help me to traslate the code of Visual Studio here in XCode? Thank you for the help!
1
0
509
Aug ’23
Getting "Internal error - 9603" for manageVPPLicensesByAdamIdSrv API when assigning license for a particular app
Problem Description: We are using manageVPPLicensesByAdamIdSrv API for assigning licenses for serial numbers. We get "Internal error - 9603" response for this API when assigning the API for valid adamID of an app. When using the same API other apps, this issue doesn't occur. AdamID: 720111835. The license is assigning properly for the same app in VPP License Management 2.0.0 + - Associate Assets API. Currently, we will not able to the new API. We overcame this issue by creating a new location token in the same organization and purchasing the same app in it and using it to assign the license to device for the same app which is successful. Kindly help us with this issue. Request: {"pricingParam":"STDQ","disassociateSerialNumbers":["SAMPLESERIAL"],"adamIdStr":"720111835","sToken":"********************","notifyDisassociation":false} Response: {"errorMessage":"Internal error.","errorNumber":9603,"status":-1}
0
0
648
Sep ’23
InstalledApplicationList(MDM command) response is Incorrect.
When I execute the InstalledApplicationList(MDM command), A part of the response is Incorrect. TikTokLite is not a managed app according to the later methods. This is the request and response. ■Request <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"[]> <plist version="1.0"> <dict> <key>Command</key> <dict> <key>ManagedAppsOnly</key> <true /> <key>RequestType</key> <string>InstalledApplicationList</string> </dict> <key>CommandUUID</key> <string>8dffac1f-55df-40b1-8c69-414dfb8aedac</string> </dict> </plist> ■Response <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"[]> <plist version="1.0"> <dict> <key>CommandUUID</key> <string>8dffac1f-55df-40b1-8c69-414dfb8aedac</string> <key>InstalledApplicationList</key> <array> <dict> <key>AdHocCodeSigned</key> <false /> <key>AppStoreVendable</key> <true /> <key>BetaApp</key> <false /> <key>BundleSize</key> <integer>12525568</integer> <key>DeviceBasedVPP</key> <false /> <key>DynamicSize</key> <integer>12288</integer> <key>ExternalVersionIdentifier</key> <integer>858324287</integer> <key>HasUpdateAvailable</key> <false /> <key>Identifier</key> <string>net.skyseaclientview.mdm</string> <key>Installing</key> <false /> <key>IsAppClip</key> <false /> <key>IsValidated</key> <true /> <key>Name</key> <string>SKYSEA MDM</string> <key>ShortVersion</key> <string>1.1.182200</string> <key>Version</key> <string>36</string> </dict> <dict> <key>AdHocCodeSigned</key> <false /> <key>AppStoreVendable</key> <true /> <key>BetaApp</key> <false /> <key>BundleSize</key> <integer>266919936</integer> <key>DeviceBasedVPP</key> <false /> <key>DynamicSize</key> <integer>15335424</integer> <key>ExternalVersionIdentifier</key> <integer>858769767</integer> <key>HasUpdateAvailable</key> <false /> <key>Identifier</key> <string>com.ss.iphone.ugc.tiktok.lite</string> <key>Installing</key> <false /> <key>IsAppClip</key> <false /> <key>IsValidated</key> <true /> <key>Name</key> <string>TikTokLite</string> <key>ShortVersion</key> <string>29.3.16</string> <key>Version</key> <string>2931603</string> </dict> </array> <key>Status</key> <string>Acknowledged</string> <key>UDID</key> <string>00008120-000C28DC0AB8C01E</string> </dict> </plist> ・TikTokLite does not appear in the "Mobile Device Management App" in the iPhone's Settings app. Is this right? If this is expected response, Is there a way to judge that the app is a managed app? This is the Device information. <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"[]> <plist version="1.0"> <dict> <key>CommandUUID</key> <string>31317d47-355c-40cb-ad72-3bff6c57989b</string> <key>QueryResponses</key> <dict> <key>AvailableDeviceCapacity</key> <real>112.608231424</real> <key>BatteryLevel</key> <real>0.97999999999999998</real> <key>BluetoothMAC</key> <string>***</string> <key>BuildVersion</key> <string>20F66</string> <key>CellularTechnology</key> <integer>1</integer> <key>DataRoamingEnabled</key> <false /> <key>DeviceCapacity</key> <real>128</real> <key>DeviceName</key> <string>***</string> <key>EASDeviceIdentifier</key> <string>***</string> <key>IMEI</key> <string>***</string> <key>IsActivationLockEnabled</key> <true /> <key>IsCloudBackupEnabled</key> <true /> <key>IsDeviceLocatorServiceEnabled</key> <true /> <key>IsDoNotDisturbInEffect</key> <false /> <key>IsMDMLostModeEnabled</key> <false /> <key>IsRoaming</key> <false /> <key>IsSupervised</key> <false /> <key>Model</key> <string>MQ983J</string> <key>ModelName</key> <string>iPhone</string> <key>ModemFirmwareVersion</key> <string>1.70.02</string> <key>OSVersion</key> <string>16.5</string> <key>PersonalHotspotEnabled</key> <false /> <key>ProductName</key> <string>iPhone15,3</string> <key>SerialNumber</key> <string>***</string> <key>SubscriberMCC</key> <string></string> <key>SubscriberMNC</key> <string></string> <key>UDID</key> <string>00008120-000C28DC0AB8C01E</string> <key>VoiceRoamingEnabled</key> <false /> <key>WiFiMAC</key> <string>***</string> <key>iTunesStoreAccountHash</key> <string>***</string> <key>iTunesStoreAccountIsActive</key> <true /> </dict> <key>Status</key> <string>Acknowledged</string> <key>UDID</key> <string>00008120-000C28DC0AB8C01E</string> </dict> </plist>
1
0
569
Sep ’23
"Unlisted app" can not install by using InstallApplication(MDM command).
When we specified a "Unlisted app" by InstallApplication(MDM command), the response state is NeedsRedemption. This is the request and response. ■Request <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"[]> <plist version="1.0"> <dict> <key>CommandUUID</key> <string>dd3fe1a1-a1a7-4987-8201-447e815bd6f9</string> <key>Command</key> <dict> <key>RequestType</key> <string>InstallApplication</string> <key>Attributes</key> <dict> <key>Removable</key> <false /> </dict> <key>Identifier</key> <string>******</string> <key>ChangeManagementState</key> <string>Managed</string> <key>InstallAsManaged</key> <true /> <key>ManagementFlags</key> <integer>4</integer> </dict> </dict> </plist> ■Response <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"[]> <plist version="1.0"> <dict> <key>CommandUUID</key> <string>dd3fe1a1-a1a7-4987-8201-447e815bd6f9</string> <key>Identifier</key> <string>******</string> <key>State</key> <string>NeedsRedemption</string> <key>Status</key> <string>Acknowledged</string> <key>UDID</key> <string>00008110-001E74C814EA401E</string> </dict> </plist> I think non-VPP apps don't need redemption codes. Is there a way to install "Unlisted app" without using a redemption code?
0
0
487
Sep ’23
Working with DeviceAcivityMonitor API
I am trying to recreate the following example. However, when i create a Singleton class MyModel and bind the familyActivityPicker like this @ObservedObject var model = MyModel.shared .... .... Button("Present FamilyActivityPicker") { isPresented = true } .familyActivityPicker(isPresented: $isPresented, selection: $model.discouragedApps) Then in my DeviceActivityExtension I try to access the discouraged applications, this way let model = MyModel() let applications = model.discouragedApps But the model.discouragedApps is always empty. How do I pass the selected applications into my extension. In all of the documentation this part is very conveniently left unexplained. Can I use the local storage to save the user selection and then read it from there instead of having to use the Singleton pattern ?
0
0
477
Sep ’23
API for Apple Business Manager
Hi, I'm trying to confirm if there is an API that can be used to interrogate ABM for device info? It holds our enterprise devices and so want to regularly extract a list of all devices along with associated information, and import these into a corporate system. It's unclear from the documentation if this can be done. This is the closest I can find but implies it must be done from within another (developed) app...? TIA.
1
0
2k
Sep ’23
Bussiness distribution not working
Hi everyone, We have developed an application for a large company and are distributing it using a business account. We have codes that we give to users. The problem is that we released an update for the same app, but users aren't receiving the update automatically as it should be. It's not working. So, we are giving new codes to users as if they are installing a fresh version. We have contacted Apple, but we haven't received any answers (the suppport its a nightmare mostly people just saying they dont have acess to our ticket case) Has anyone else experienced this problem? And does anyone have a solution for this? Thanks.
0
0
289
Oct ’23
MDM Server Token Installing in Our Server
We are creating our own server for MDM, we followed apple suggested approach with following link [https://it-training.apple.com/tutorials/deployment/dm055] After uploading .pem file in ABM portal, new server token is generating but my question is where we need keep that server token(.P7M) in our servers...is there any specific path we have...if we gone through apple documents they are suggesting to follow vendor documentation but in my case we did't take any third party server's...so we don't have any vendor document. Can you please help me to achieve this scenario.
4
0
646
Oct ’23