Search results for

“offloading”

183 results found

Post

Replies

Boosts

Views

Activity

EndpointSecurity: es_new_client freezes all operations until other clients decide pending messages?
I have 2 EndpointSecurity apps. App1 is doing the heavy lifting and processes multiple events(ES_EVENT_TYPE_AUTH_EXEC, ES_EVENT_TYPE_AUTH_OPEN, ES_EVENT_TYPE_AUTH_RENAME, ES_EVENT_TYPE_AUTH_UNLINK, ES_EVENT_TYPE_NOTIFY_CLOSE, ES_EVENT_TYPE_NOTIFY_CREATE ). App2 is responsible for checking whether Full Disk Access is granted or not: int main(int argc, char * argv[]) { ttes_client_t *client; auto res = es_new_client(&client, ^(es_client_t *clt, const es_message_t *msg) { }); tt_exit(res == ES_NEW_CLIENT_RESULT_ERR_NOT_PERMITTED ? 0 : 1); } (please note that none of the apps is a System Extension). Sometimes when App1 is runing and App2 executes, the system hangs. After few days of investigation, it seems that starting a new es client (even without registering any messages) causes the system to block all operations until all the currently pending auth requests from other clients are answered. This makes it very hard to reason about the application. It also requires to basically offload everything to
0
0
466
Jul ’20
Reply to Data flow and managed objects in SwiftUI
Okay I've cracked it open and tried out the method of passing in the data rather than the object itself by offloading to a struct. That definitely solves the issue, optically, but I need to refactor editing of deleting the item from the modal. I'm sure i'll figure it out tonight. If I get stuck again or have further questions I'll be back! Regardless, thanks DMG for the help and great ShoppingList project as a resource!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’20
Reply to How might I reset "maximum number of apps for free development profiles has been reached"?
To clarify, this is a bug: Any iCloud offloaded apps installed on the phone are counted as developer installed apps until reinstalled or deleted. You can confirm this in the console when looking at the MIFreeProfileValidatedAppTracker error message. Once these have been either reinstalled or deleted, then the list of offending apps will disappear.
Jun ’20
Reply to Xcode 11 install to device fails, code -402620415
Hello guys.. I finally got the solution to this problem; Unable to install MyAppDomain: com.apple.dt.MobileDeviceErrorDomainCode: -402620383--The maximum number of apps for free development profiles has been reached.Domain: com.apple.dt.MobileDeviceErrorDomain Go to the Console app can be found in the Window >> Devices and Simulators >> click the 'Open Console' button in your phone's tab. In the Console app, type MIFreeProfileValidatedAppTracker in the upper right corner's search box will help you find the detail of this message after failed running your app. I have also found that most of the bundle IDs shown in the error message are auto offload apps. Turns out the Xcode misclassified all the auto offloaded apps (apps you have not used for a while) as your free developer account's test apps. If you encounter the same problem, the solution is to re-download all the offload apps. Then, turn off the auto offload in the iPhone Settings - iTunes & App Store - Offload
Jun ’20
Turi Create resource utilization
I'm looking into utilizing a cloud Linux machine to create and train my machine learning drawing classifier model with Turi Create. If I use my MacBook Pro it'll take at least 55 hours, so I want to offload that work and speed it up dramatically allowing me to iterate on the model to get the best result. Now there's a lot of options for RAM, CPU, and GPU capabilities. What will Turi Create take advantage of? For example, if I run it on a machine with 96 CPU cores will it utilize them all and possibly speed it up to minutes rather than days, or would a better GPU be preferred? How much RAM would be good? I'll be training it to recognize 6500 classes with 20 images of each. Thanks!
0
0
665
Jun ’20
Reply to iOS Development: Create file failed(return domain:NSCocoaErrorDomain,code:512)
Having the exact same problem.@logicat Did you ever find a root cause or fix besides deleting & reinstalling your app?Can't create any new files.The error message is The file couldn't be saved. and there is no underlying error in the NSError instance.errno == 17 after the write failure.The file does not actually exist, nor are there any *.tmp.****** files present in the same parent directory.Affects a very small segment of my user base, but that number is growing.In my case, I only have reports for iOS 13+.Offloading the app *does not* fix the problemDeleting & reinstalling the app fixes the problem, but is obviously undesirable.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’20
Reply to Installer plugin hangs in Catalina
Yes, we have a similar problem: We have two installer plugins, and they have worked fine for 12 years (well, every few years, Apple makes a silent change and we have to adjust). Starting in OSX 10.14 or 10.15, the Installer is not working right for us: does not totally hang, but the GUI is non-responsive. Fortunately, in our design, the installation more-or-less finishes.It definitely looks like Apple changed the Installer app to offload any plugin software into other processes: the com.Apple.InstallerRemotePluginService ... it gets its own PID. In our case, a single Installer has three processes are running: Installer and two InstallerRemotePluginService processes.Our issue is that the plugins are not able to dynamically update controls/widgets on the installer GUI. They are updating a progress bar: but the main/GUI thread in the Installer process is not responding. I guess that software in the InstallerRemotePluginService cannot update widgets drawn by the main Installer process??Have not figured o
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’20
Reply to Splash screen not updated (tried different methods available on the internet)
Problem is that launchscreen (splash screen) is stored in cache and not cleared when you upload without deinstalling first.There may be some trick, like renamin the image iused and removing the old one from xcassetshttps://stackoverflow.com/questions/33002829/ios-keeping-old-launch-screen-and-app-icon-after-updateAnother way is to propose users to offload (not remove) the app. So they will not loose their user data.h ttps://www.howtogeek.com/344944/how-to-delete-or-offload-an-app-on-iphone-or-ipad/
Topic: UI Frameworks SubTopic: UIKit Tags:
May ’20
Reply to VPN (Packet Tunnel Provider) over SMB
Thanks again @meaton for all the helpful replies!As I said I would do, I tried to reproduce it a lot of times, including uploading big files (3GB, 5GB) and it didn't reproduce on my Mac.However, at the customer, it reproduced easily, even with small files - she tries to upload 3 files of ~10mb each, and it happens.I checked again her Console logs, and no sign for utun_output or ctl_enqueuembuf, but those line seems related:default 17:27:22.110479 -0400 symptomsd NWPath: kNetworkPrimary NWPathStatusSatisfied interface en1 index 6 default 17:27:22.110535 -0400 symptomsd primary interface change to en1, type 1 default 17:27:22.110692 -0400 symptomsd Primary change default 17:27:22.110754 -0400 symptomsd noi: NOI: v:0 type:Wifi, isAny:yes, isBuiltin:no, loi:-1, flags:0, event: kNotificationNewPrimaryInterface, oldLoadedLqm: 100, rawLoadedLqm: 100, newLoadedLqm: 100, not posting default 17:27:22.118243 -0400 apsd Looking up connection on peer: d573aec0 found default 17:27:22.118320 -0400 apsd Looking up connection
Apr ’20
VPN (Packet Tunnel Provider) over SMB
Some users at a certain company reported they are having problems when using my VPN app for Mac (Packet Tunnel Povider), with SMB:Initiating an SMB upload will fail and then their VPN client will disconnect, in some cases the computer needs to be reboot.I've collected logs for my client (nothing suspicious there), and I also got the logs from thier Console.Those are some relevant lines from the Console, but again I don't see anything suspicious:default 17:27:16.194234 -0400 secd Microsoft Outloo[303]/1#16 LF=0 copy_matching Error Domain=NSOSStatusErrorDomain Code=-34018 Client has neither com.apple.application-identifier, com.apple.security.application-groups nor keychain-access-groups entitlements UserInfo={NSDescription=Client has neither com.apple.application-identifier, com.apple.security.application-groups nor keychain-access-groups entitlements} default 17:27:16.252627 -0400 com.apple.WebKit.WebContent Current memory footprint: 14 MB default 17:27:18.079823 -0400 symptomsd rssi (-53) or transmitRate (58
10
0
1.5k
Mar ’20
Reply to Background pull requests.
OK, this specific goal:I need to do a background pull request every 10 seconds using Swift.is not achievable on iOS. Once your app is moved to the background, it is typically suspended, and it can’t make network requests while it’s suspended. There are things you can do to hold off that suspension, and also get resumed in the background, but nothing will give you regular background executable time every 10 seconds.Even if you could, you’d quick run through the user’s battery.You need to rethink your approach. I specifically recommend that you reconsider using push notifications. There’s a reason Apple puts so much emphasis on push notifications. In a push model, you offload this work to a server that doesn’t have to worry about all day battery life.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’19
EndpointSecurity: es_new_client freezes all operations until other clients decide pending messages?
I have 2 EndpointSecurity apps. App1 is doing the heavy lifting and processes multiple events(ES_EVENT_TYPE_AUTH_EXEC, ES_EVENT_TYPE_AUTH_OPEN, ES_EVENT_TYPE_AUTH_RENAME, ES_EVENT_TYPE_AUTH_UNLINK, ES_EVENT_TYPE_NOTIFY_CLOSE, ES_EVENT_TYPE_NOTIFY_CREATE ). App2 is responsible for checking whether Full Disk Access is granted or not: int main(int argc, char * argv[]) { ttes_client_t *client; auto res = es_new_client(&client, ^(es_client_t *clt, const es_message_t *msg) { }); tt_exit(res == ES_NEW_CLIENT_RESULT_ERR_NOT_PERMITTED ? 0 : 1); } (please note that none of the apps is a System Extension). Sometimes when App1 is runing and App2 executes, the system hangs. After few days of investigation, it seems that starting a new es client (even without registering any messages) causes the system to block all operations until all the currently pending auth requests from other clients are answered. This makes it very hard to reason about the application. It also requires to basically offload everything to
Replies
0
Boosts
0
Views
466
Activity
Jul ’20
Storage being taken by iOS 14 beta 2?
I just updated my iPhone SE 2020 64 GB to iOS 14 beta 2 and now I have no storage left. I have found that the category “Other” is taking about 26 gigabytes of space. I have 63.2 gigabytes of space taken up of my 64 and I have offloaded as many apps as I can. Anyone have any idea what could be causing this? Thanks!
Replies
0
Boosts
0
Views
477
Activity
Jul ’20
Reply to Data flow and managed objects in SwiftUI
Okay I've cracked it open and tried out the method of passing in the data rather than the object itself by offloading to a struct. That definitely solves the issue, optically, but I need to refactor editing of deleting the item from the modal. I'm sure i'll figure it out tonight. If I get stuck again or have further questions I'll be back! Regardless, thanks DMG for the help and great ShoppingList project as a resource!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’20
Reply to How might I reset "maximum number of apps for free development profiles has been reached"?
To clarify, this is a bug: Any iCloud offloaded apps installed on the phone are counted as developer installed apps until reinstalled or deleted. You can confirm this in the console when looking at the MIFreeProfileValidatedAppTracker error message. Once these have been either reinstalled or deleted, then the list of offending apps will disappear.
Replies
Boosts
Views
Activity
Jun ’20
Reply to "The maximum number of apps for free development profiles has been reached"
And yet, after clearing out all of those settings, offloaded apps and provisioned certs the error message persists. 99$ “protection money” to, ya know, actually use your ~1000EU devices.
Replies
Boosts
Views
Activity
Jun ’20
Reply to Xcode 11 install to device fails, code -402620415
Hello guys.. I finally got the solution to this problem; Unable to install MyAppDomain: com.apple.dt.MobileDeviceErrorDomainCode: -402620383--The maximum number of apps for free development profiles has been reached.Domain: com.apple.dt.MobileDeviceErrorDomain Go to the Console app can be found in the Window >> Devices and Simulators >> click the 'Open Console' button in your phone's tab. In the Console app, type MIFreeProfileValidatedAppTracker in the upper right corner's search box will help you find the detail of this message after failed running your app. I have also found that most of the bundle IDs shown in the error message are auto offload apps. Turns out the Xcode misclassified all the auto offloaded apps (apps you have not used for a while) as your free developer account's test apps. If you encounter the same problem, the solution is to re-download all the offload apps. Then, turn off the auto offload in the iPhone Settings - iTunes & App Store - Offload
Replies
Boosts
Views
Activity
Jun ’20
Turi Create resource utilization
I'm looking into utilizing a cloud Linux machine to create and train my machine learning drawing classifier model with Turi Create. If I use my MacBook Pro it'll take at least 55 hours, so I want to offload that work and speed it up dramatically allowing me to iterate on the model to get the best result. Now there's a lot of options for RAM, CPU, and GPU capabilities. What will Turi Create take advantage of? For example, if I run it on a machine with 96 CPU cores will it utilize them all and possibly speed it up to minutes rather than days, or would a better GPU be preferred? How much RAM would be good? I'll be training it to recognize 6500 classes with 20 images of each. Thanks!
Replies
0
Boosts
0
Views
665
Activity
Jun ’20
Reply to "The maximum number of apps for free development profiles has been reached"
Found the answer in this thread. https://discussions.apple.com/thread/251383929 Turns out, you can't have any offloaded apps from ANY vendor, including Apple, installed on the device.
Replies
Boosts
Views
Activity
Jun ’20
Reply to iOS Development: Create file failed(return domain:NSCocoaErrorDomain,code:512)
Having the exact same problem.@logicat Did you ever find a root cause or fix besides deleting & reinstalling your app?Can't create any new files.The error message is The file couldn't be saved. and there is no underlying error in the NSError instance.errno == 17 after the write failure.The file does not actually exist, nor are there any *.tmp.****** files present in the same parent directory.Affects a very small segment of my user base, but that number is growing.In my case, I only have reports for iOS 13+.Offloading the app *does not* fix the problemDeleting & reinstalling the app fixes the problem, but is obviously undesirable.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’20
Reply to Installer plugin hangs in Catalina
Yes, we have a similar problem: We have two installer plugins, and they have worked fine for 12 years (well, every few years, Apple makes a silent change and we have to adjust). Starting in OSX 10.14 or 10.15, the Installer is not working right for us: does not totally hang, but the GUI is non-responsive. Fortunately, in our design, the installation more-or-less finishes.It definitely looks like Apple changed the Installer app to offload any plugin software into other processes: the com.Apple.InstallerRemotePluginService ... it gets its own PID. In our case, a single Installer has three processes are running: Installer and two InstallerRemotePluginService processes.Our issue is that the plugins are not able to dynamically update controls/widgets on the installer GUI. They are updating a progress bar: but the main/GUI thread in the Installer process is not responding. I guess that software in the InstallerRemotePluginService cannot update widgets drawn by the main Installer process??Have not figured o
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’20
Reply to Splash screen not updated (tried different methods available on the internet)
Problem is that launchscreen (splash screen) is stored in cache and not cleared when you upload without deinstalling first.There may be some trick, like renamin the image iused and removing the old one from xcassetshttps://stackoverflow.com/questions/33002829/ios-keeping-old-launch-screen-and-app-icon-after-updateAnother way is to propose users to offload (not remove) the app. So they will not loose their user data.h ttps://www.howtogeek.com/344944/how-to-delete-or-offload-an-app-on-iphone-or-ipad/
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’20
Reply to Upgraded application showing the old launch-screen/image before show the new animated launch-screen
The next steps seem to me fine for keeping user data and clearing launch screen cache.1. Launch Settings and select General -> iPad/iPhone Storage -> your application -> Offload App2. After cloud icon shown, select Reinstall App
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’20
Reply to VPN (Packet Tunnel Provider) over SMB
Thanks again @meaton for all the helpful replies!As I said I would do, I tried to reproduce it a lot of times, including uploading big files (3GB, 5GB) and it didn't reproduce on my Mac.However, at the customer, it reproduced easily, even with small files - she tries to upload 3 files of ~10mb each, and it happens.I checked again her Console logs, and no sign for utun_output or ctl_enqueuembuf, but those line seems related:default 17:27:22.110479 -0400 symptomsd NWPath: kNetworkPrimary NWPathStatusSatisfied interface en1 index 6 default 17:27:22.110535 -0400 symptomsd primary interface change to en1, type 1 default 17:27:22.110692 -0400 symptomsd Primary change default 17:27:22.110754 -0400 symptomsd noi: NOI: v:0 type:Wifi, isAny:yes, isBuiltin:no, loi:-1, flags:0, event: kNotificationNewPrimaryInterface, oldLoadedLqm: 100, rawLoadedLqm: 100, newLoadedLqm: 100, not posting default 17:27:22.118243 -0400 apsd Looking up connection on peer: d573aec0 found default 17:27:22.118320 -0400 apsd Looking up connection
Replies
Boosts
Views
Activity
Apr ’20
VPN (Packet Tunnel Provider) over SMB
Some users at a certain company reported they are having problems when using my VPN app for Mac (Packet Tunnel Povider), with SMB:Initiating an SMB upload will fail and then their VPN client will disconnect, in some cases the computer needs to be reboot.I've collected logs for my client (nothing suspicious there), and I also got the logs from thier Console.Those are some relevant lines from the Console, but again I don't see anything suspicious:default 17:27:16.194234 -0400 secd Microsoft Outloo[303]/1#16 LF=0 copy_matching Error Domain=NSOSStatusErrorDomain Code=-34018 Client has neither com.apple.application-identifier, com.apple.security.application-groups nor keychain-access-groups entitlements UserInfo={NSDescription=Client has neither com.apple.application-identifier, com.apple.security.application-groups nor keychain-access-groups entitlements} default 17:27:16.252627 -0400 com.apple.WebKit.WebContent Current memory footprint: 14 MB default 17:27:18.079823 -0400 symptomsd rssi (-53) or transmitRate (58
Replies
10
Boosts
0
Views
1.5k
Activity
Mar ’20
Reply to Background pull requests.
OK, this specific goal:I need to do a background pull request every 10 seconds using Swift.is not achievable on iOS. Once your app is moved to the background, it is typically suspended, and it can’t make network requests while it’s suspended. There are things you can do to hold off that suspension, and also get resumed in the background, but nothing will give you regular background executable time every 10 seconds.Even if you could, you’d quick run through the user’s battery.You need to rethink your approach. I specifically recommend that you reconsider using push notifications. There’s a reason Apple puts so much emphasis on push notifications. In a push model, you offload this work to a server that doesn’t have to worry about all day battery life.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’19