Post not yet marked as solved
Hi people!
Since awhile I am not able to open up my own built apps anymore from my device. When trying to open it I get the message: "My App Name" Is No Longer Available.
Xcode console gives the following: Attempted to launch an untrusted application scene sceneID:com.mycompany.myname
I think it has something to do with my just extended Apple Developer account and the certifications, but I'm not so familiar with it that I could tell what exactly....
I have a ton of apps and old builds on my device, so rebuilding them will be a huge task.
Hopefully you can help me out!
Post not yet marked as solved
Xcode 12.5 seemed to have removed the "View As" option for iPhones X, XS, 11. I have an iPhone X that I use as a test device for my apps and there is no equivalent preview size in Storyboards. This is so annoying! Anyone know a way to add an additional View size?
Post not yet marked as solved
We have a MacOS app that includes a system extension with A content filter using both socket and packet providers.
Our normal method for deployment will be by an MDM solution, for which we have created a profile intended to pre-approve the system extension and content filter.
This works correctly for the system extension but we are unable to get the content filter pre-approval to work. We have scoured this and other forums and docs but there is no clear reason why our web content filter profile doesn't work.
Our payload for the web content filter looks like this:
dict
keyFilterDataProviderBundleIdentifier/key
stringcom.example.ourapp.net/string
keyFilterDataProviderDesignatedRequirement/key
stringidentifier "com.example.ourapp.net" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = TEAMIDXXXX/string
keyFilterPacketProviderBundleIdentifier/key
stringcom.example.ourapp.net/string
keyFilterPacketProviderDesignatedRequirement/key
stringidentifier "com.example.ourapp.net" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = TEAMIDXXXX/string
keyFilterPackets/key
true/
keyFilterSockets/key
true/
keyFilterType/key
stringPlugin/string
keyFilterGrade/key
stringfirewall/string
keyPayloadDescription/key
stringWeb Content Filter Payload/string
keyPayloadDisplayName/key
stringWeb Content Filters/string
keyPayloadEnabled/key
true/
keyPayloadIdentifier/key
stringcom.apple.webcontent-filter.8237701A-4ED8-473A-AC86-4BEFF6662A62/string
keyPayloadType/key
stringcom.apple.webcontent-filter/string
keyPayloadUUID/key
string8237701A-4ED8-473A-AC86-4BEFF6662A62/string
keyPayloadVersion/key
integer1/integer
keyPluginBundleID/key
stringcom.example.ourapp/string
keyUserDefinedName/key
stringExample OurApp/string
/dict
For the filter Filter[Data|Packet]ProviderBundleIdentifier and the Filter[Data|PacketProvider]DesignatedRequirement fields, the values are derived from using codesign -dr- path to system extension bundle.
For the PluginBundleID the value is the identifier of the enclosing app. This requirement is mention in this post - https://developer.apple.com/forums/thread/667016.
The rest of the fields are derived from the various examples online.
Beyond this, I can't see any reason this should not work. There are reports from some users saying they have got their profiles to work but can't confirm that.
Is there something wrong in the payload above?
Are we missing some fields?
Are there any specific requirements for some of these fields I have missed?
I can't find detailed documentation for this payload for content filters.
We're testing on mainly on Catalina, is pre-approval of content filter actually working for Catalina? Big Sur?
Any pointers would be appreciated. Thanks.
Post not yet marked as solved
I suppose my iPhone XS Max had just updated to the 14.5.1 but I hadn’t noticed. It had done it overnight from the 9th to the 10th since my phone connection was working perfectly fine on both Data and WiFi. The next day on the 10th, my connection was garbage. Wifi and data, my phone was connected but kept showing no internet connection. I tried to get on many different apps and they never loaded I though there was something really wrong with my phone. I went ahead and I upgraded to the 12Pro Max and I started setting it up. It downloaded 14.5.1 as I was setting it up, well guess what? Now my new phone is doing the exact same thing. Only it’s not so bad on this new one but still pretty bad. I go to the settings and it shows that I’m connected to the wifi but the bars don’t show on the top, it shows the data bars, AND also both are very slow. At least this phone kinda loads a little better. Anyone have the same experience!??
Post not yet marked as solved
I wasn't sure how best to word the question but I can explain.
We are developing an application for a customer. This app is to be used by their staff and shouldn't be available to the public. We plan on using Apple Business Manager to distribute the app to them, from which they can use their MDM tool to push the app out to the required devices.
The bit I am unsure of is they also have a group of distributers (separate companies that sell their products) that require access to the app. As I said before, it cant be open to the general public and therefore rules out the App Store. The distributors are also separate businesses and so I doubt our customer can use their MDM to manage the distributer's devices.
What I'd like to know is can our customer re-distribute our app from their ABM to their distributors? I understand we could most likely distribute the app out to the distributors as well but if at all possible I'd like to avoid us managing who they want to give the app to.
Any thoughts would be appreciated or if you think I'm going about this all wrong to begin with, please say. This is new territory for me.
Post not yet marked as solved
Hi,
We are creating a Installer package which will be distributed to user through MDM with the InstallApp command.
Our distribution package use the Distribution.xml file and InstallerJS to check each flat package version and select the package for install only if there is no receipt or if the already installed package version is older.
The package is working fine when using the GUI Installer or through the command line installer.
When trying to install the package through MDM, all package which use InstallerJS javascript to decide if it will be install or not will not be selected and thus will not be installed.
Is this the expected behaviour?
Looking at the install log, I can see that the package selection seems to be done by appstored when installing through MDM.
Is appstored not able to understand the InstallerJS script?
The documentation specifies that InstallerJS is for the Installer application.
https://developer.apple.com/documentation/installer_js
If that's the case is there a way to select specific flat package for install when distributing through MDM?
Thanks in advance!
Post not yet marked as solved
I've created a test project in which I can successfully receive the FamilyControl authorization for the child device.
Then on the parent device(where the parent account is logged in as the iCloud account), I basically used the following test code as provided in the documentation FamilyActivityPicker
struct ExampleView: View {
@State var selection = FamilyActivitySelection()
@State var isPresented = false
var body: some View {
Button("Present FamilyActivityPicker") { isPresented = true }
.sheet(isPresented: $isPresented) {
FamilyActivityPicker(selection: $selection)
}
.onChange(of: selection) { newSelection in
let applications = selection.applications
let categories = selection.categories
let webDomains = selection.webDomains
}
}
}
I get the following error on the view :
The operation couldn't be completed. (FamilyControls.ActivityPickerRemoteViewError error 1)
For authorization errors I was able to look into the FamilyControlsError enum in the FamilyControls framework, but I can't find an enum for ActivityPickerRemoteViewError.
Any idea as to why it's failing to load?
I believe I am using the right setup in terms of the account that I am logged in to. I do have the FamilyControl capability, and I was able to successfully provide authorization for the child.
Is there any other prerequisite that needs to be done to load the FamilyActivityPicker?
Also, Do you know where I can find the error codes corresponding to ActivityPickerRemoteViewError ?
What does error 1 indicate?
I do see the following in the console logs :
2021-06-09 16:42:38.430112-0400 NN Family Control[849:38700] [lifecycle] [u 9F1F2B94-76F6-4D8F-ADE3-6D1C14EE5074:m (null)] [com.apple.FamilyControls.ActivityPickerExtension(1)] Connection to plugin interrupted while in use.
2021-06-09 16:42:38.476929-0400 NN Family Control[849:38704] [lifecycle] [u 9F1F2B94-76F6-4D8F-ADE3-6D1C14EE5074:m (null)] [com.apple.FamilyControls.ActivityPickerExtension(1)] Connection to plugin invalidated while in use.
Post not yet marked as solved
Apple introduces MDM to subscribe to certain events in Apple business manager Apps and Books through specifying the URL in "notificationUrl" filed during client context command.
What the best way to design it for a closed network MDM Server
How does it work for MDM with a self-signed certificate or enterprise certificate? Will it cause any SSL issues?
Post not yet marked as solved
Just wondering where we can download the new version of configurator for iphone? The WWDC keynote says it’ll be available for download in appleseed for IT. Just can’t seem to find it.
want to start testing using it to add some macbooks to apple business manager
Post not yet marked as solved
When reinstalling MacOS I run into issues in the Remote Management section during installation. After establishing a network connection, I proceed to the Remote Management section of the installation and the setup is failing with an error "Unable to connect to the MDM server for your organisation.". Is there any way how I can resolve this issue manually? Because there is no way how to bypass this step in the setup.
Post not yet marked as solved
I was able to start the device activity monitor. I was able to see the Device Activity Monitor Extension as a process, and was able to attach to it via Xcode.
Now I am trying block a specific 3rd party application, via the Shield.
I am using this piece of code for intervalDidStart :
override func intervalDidStart(for activity: DeviceActivityName) {
NSLog("Interval started for Device Activity")
let blockedApps : Set<Application> = [Application(bundleIdentifier: "com.facebook.Facebook")]
store.application.blockedApplications = blockedApps
super.intervalDidStart(for: activity)
}
I've declared store in the DeviceActivityMonitor class as follows :
let store = ManagedSettingsStore()
This is the error I see in the Console:
Error Domain=UsageTrackingErrorDomain Code=1 "Something without a application-identifier entitlement tried to manage usage budgets" UserInfo={NSLocalizedDescription=Something without a application-identifier entitlement tried to manage usage budgets}
The above use case should work right? I should be able to apply the settings inside DeviceActivityMonitorExtension?
What does the application-identifier entitlement look like?
How do I use it?
Post not yet marked as solved
I just installed iOS 15 Beta and macOS 12 Beta... I want to test out the new process to enroll Macs in ABM. Seems like I need the Apple Configurator App for iPhone. How can I find this? Thanks in advance!
Post not yet marked as solved
I’m trying to push a PPPC profile through our mdm to allow staff to grant the screen recording permission to Zoom and Webex. The profile generated by our mdm, as well as an identical one created using Jamf’s PPPC Utility, install to the device properly, but do not seem to actually apply any settings to my test device running macOS 11.4. Any help would be greatly appreciated.
The following is our profile.
<?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>PayloadContent</key>
<array>
<dict>
<key>PayloadDescription</key>
<string>ScreenRecordingTest</string>
<key>PayloadDisplayName</key>
<string>ScreenRecordingTest</string>
<key>PayloadIdentifier</key>
<string>608D5F4C-B2F4-49BF-BA36-46FDA7FDD321</string>
<key>PayloadOrganization</key>
<string>com</string>
<key>PayloadType</key>
<string>com.apple.TCC.configuration-profile-policy</string>
<key>PayloadUUID</key>
<string>BE3DADCB-1DA1-4378-99D7-46CBDEF361D1</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>Services</key>
<dict>
<key>AppleEvents</key>
<array>
<dict>
<key>AEReceiverCodeRequirement</key>
<string>identifier "us.zoom.xos" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = BJ4HAAB9B3</string>
<key>AEReceiverIdentifier</key>
<string>us.zoom.xos</string>
<key>AEReceiverIdentifierType</key>
<string>bundleID</string>
<key>Authorization</key>
<string>Allow</string>
<key>CodeRequirement</key>
<string>identifier "us.zoom.xos" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = BJ4HAAB9B3</string>
<key>Comment</key>
<string></string>
<key>Identifier</key>
<string>us.zoom.xos</string>
<key>IdentifierType</key>
<string>bundleID</string>
</dict>
<dict>
<key>AEReceiverCodeRequirement</key>
<string>identifier "com.cisco.webexmeetingsapp" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = DE8Y96K9QP</string>
<key>AEReceiverIdentifier</key>
<string>com.cisco.webexmeetingsapp</string>
<key>AEReceiverIdentifierType</key>
<string>bundleID</string>
<key>Authorization</key>
<string>Allow</string>
<key>CodeRequirement</key>
<string>identifier "com.cisco.webexmeetingsapp" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = DE8Y96K9QP</string>
<key>Comment</key>
<string></string>
<key>Identifier</key>
<string>com.cisco.webexmeetingsapp</string>
<key>IdentifierType</key>
<string>bundleID</string>
</dict>
</array>
<key>ScreenCapture</key>
<array>
<dict>
<key>Authorization</key>
<string>AllowStandardUserToSetSystemService</string>
<key>CodeRequirement</key>
<string>identifier "us.zoom.xos" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = BJ4HAAB9B3</string>
<key>Comment</key>
<string></string>
<key>Identifier</key>
<string>us.zoom.xos</string>
<key>IdentifierType</key>
<string>bundleID</string>
</dict>
<dict>
<key>Authorization</key>
<string>AllowStandardUserToSetSystemService</string>
<key>CodeRequirement</key>
<string>identifier "com.cisco.webexmeetingsapp" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = DE8Y96K9QP</string>
<key>Comment</key>
<string></string>
<key>Identifier</key>
<string>com.cisco.webexmeetingsapp</string>
<key>IdentifierType</key>
<string>bundleID</string>
</dict>
</array>
</dict>
</dict>
</array>
<key>PayloadDescription</key>
<string>ScreenRecordingTest</string>
<key>PayloadDisplayName</key>
<string>ScreenRecordingTest</string>
<key>PayloadIdentifier</key>
<string>608D5F4C-B2F4-49BF-BA36-46FDA7FDD321</string>
<key>PayloadOrganization</key>
<string>com</string>
<key>PayloadScope</key>
<string>System</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>E0F2EB42-88E7-4B91-A0B1-AE036E790E15</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
Post not yet marked as solved
What is the NSExtensionPointIdentifier for this type of extension?
Thanks.
Post not yet marked as solved
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.
Post not yet marked as solved
we are getting error in selection.
Post not yet marked as solved
GSTECH Excel password recovery software program is the appropriate manner of theremove password excel file with out harm your excel report statistics. This software has virus loose application and programs has help the most version of excel report. Software program so that you can get better lost and forgotten Excel record password and liberate excel report by using making use of three method inclusive of- dictionary attacks, brute force assaults and mask attacks. . This clean GUI based Excel password recovery device gives you higher opportunity the way to get better password from excel document with none mistake.
Post not yet marked as solved
I try it with standalone-profiles, Profilemanager (Privacy and Custom Profile), Preferences, Scripts, and i don´t find a way to achive that.
I can´t understand why it muss to be so hard. Users can accept sharing Camera or Microphone, but not ScreenRecording. Don´t run Apple some Videoconference with a simple PP-Prasentation?. It is not posible that Apple think that the Administrators mussen login in each Mac in a large organization, starten the apps, go to Setting, go to Security, go to Privacy, click on the look, give the password and scroll to hack for each app. That is crazy!.
Have somebody a solution? Thanks!
Post not yet marked as solved
Hi all, I have a sample app which I created in my local development env. I added the Family Controls capability and the simulator is logged-in to a child account on iCloud that is part of a family group. When I request authorization I keep getting Error Domain=FamilyControls.FamilyControlsError Code=3 "(null)" in the error object returned with the failure result. I am thinking Code 3 represents the enum case for FamilyControlsError which would be invalidArgument. What does that mean and how do I fix it? Also is there a way to map the error object into an FamilyControlsError rather than guess which enum case it is?
Here is my code:
import SwiftUI
import FamilyControls
@main
struct TestScreentimeAPIApp: App {
@UIApplicationDelegateAdaptor private var appDelegate: AppDelegate
var body: some Scene {
WindowGroup {
ContentView()
}
}
}
class AppDelegate: NSObject, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
if #available(iOS 15.0, *) {
let center = AuthorizationCenter.shared
center.requestAuthorization { result in
switch result {
case .success():
break
case .failure(let error):
print("error for screentime is \(error)")
}
}
}
}
Post not yet marked as solved
We tried installing ipa file in m1 Mac ( tried both mac11 and mac12 silicon mac), but it failed with error informing - Error Domain=ASDErrorDomain Code=660 "Could not create PKProduct".
Attaching the log and plist details
ipa-failure-devicelog.txt
the plist - install application command