Search results for

“offloading”

183 results found

Post

Replies

Boosts

Views

Activity

Low level API to take control of Neural Engine
Hi, I would love to code with the Neural Engine on my macbook pro M1 2020. Is there any low-level API to create my very own work-loads? I am working with audio and MIDI. As well sound synthesis and mixing. Can I use the Neural Engine to offload the CPU? I am especially interested in parallelism using threads. My programming lanuage of choice is ANSI C and Objective C.
4
0
12k
Feb ’21
Reply to macOS Big Sur Not Enough Free Space
I have a 128 Gig Mac Mini. I was ready to give up on Big Sur after seeing how much free space I needed to free up. Here's how I made the space available. Copy the Big Sur installer to a removable drive and remove it from your startup drive. Run the installer to see how much more space you need. Follow Apple instructions to offload Music and Photos libraries to a removable drive. If you are a developer, you probably have a huge Developer folder in your user library. Copy it to a removable drive and remove it temporarily. These steps worked for me and I was able to upgrade to Big Sur. The installer seemed to do a very good job of cleaning up OS X folders because I had 50 GB available after the install. Plenty of space to copy the Developer folder back to the startup drive.
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’20
Reply to Unterstanding MacOS wifi logs
hi, I don't hope setting your network to less secure is the answer. Although this would fix a lot of problems ;) I think the culprit is: Wed Dect2 10:04:29.904 Driver Event: _bsd_80211_event_callback: APPLE80211_M_ROAM_START (en0) I have the same issue, which is very annoying for video calls. (MBPro 2015/Big Sur and Fritzbox 7580 with Mesh using FB-Extender 3000) No other devices seem to experience this issue. My current knowledge is: Running a ping --apple-time 192.168.188.110 -i 0.1 13:21:12.730147 64 bytes from 192.168.188.110: icmp_seq=3750 ttl=64 time=1.214 ms 13:21:12.836592 64 bytes from 192.168.188.110: icmp_seq=3751 ttl=64 time=3.009 ms Request timeout for icmp_seq 3753snip- Request timeout for icmp_seq 3787 13:21:16.694166 64 bytes from 192.168.188.110: icmp_seq=3788 ttl=64 time=3.420 ms 13:21:16.805075 64 bytes from 192.168.188.110: icmp_seq=3789 ttl=64 time=4.709 ms and a tail -f /var/log/wifi.log Tue Dec 15 13:21:12.857 Driver Event: _bsd_80211_event_callback: APPLE80211_M_ROAM_START (en0) Tue
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’20
Reply to What does this error log message mean?
And another found is that on the home Wifi network(which has PPPoE router provided by carrier) with an iOS 14 iPhone the message will be like udp_validate_cksum_internal * udp incorrect IPv4-UDP non-offload checksum * ulen 1506 And the pppoe header length is 6. Compared with previous network with Vlan the error message showed ulen is 1502. I believe there most probably a bug exists somewhere in iOS 14 kernel or in network extension. Since I didn't found such issue under the same condition on iOS 12, this issue may only exists in iOS 14. The reproduce condition is with NEPacketTunnelProvider set the MTU of the UTUN to be a value bigger or equal than 1480(Theoretically we should be able to set this value to a very big size like 65535 and without any problem) or overhead size to be 0, and run it on an iOS 14 iPhone, on a Wifi network which has a Vlan setting or PPPoE, on inbound packets there will be such problem.
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’20
Reply to System Storage Full
It is November 2020, and my Iphone 6s has just been reset to factory settings because of this. So, no, we cannot assume that Apple has fixed anything in the new updates, nor will they. I've been experience a slow decay of storage space on my, already too compact, 16gb phone. 6gb taken by the storage, so this phone is actually a 9gb phone, sold as a 16gb phone. Over the past 2 months my phone went from the occasional offloading of an app, to having almost 0gb of space. I was so confused, as apple does little to nothing to explain to their customers how to handle the defuncts in the system. I started using icloud, uploading everything possible to it. It did absolutely nothing, nothing at all. You have to go through absurd hoops and hurdles to export your iphone photo library into your computer and separate them from icloud, so that they won't disappear when you delete them off your phone. Learned that lesson before, should out to apple iCloud for losing 500-1000 of my pictures to iCloud in 2018. So, ev
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’20
App quits right after launching
Since iOS 14, more and more users experience a severe problem: When they launch our app, it quits right after showing the launch screen, obviously even before executing one line of code. In some cases, offloading and re-loading the app can help in this situation, but not always. In iOS 13, the problem occurred in the same way, but offloading and re-loading always helped. This seems to be a licence problem and reinstalling is no option, because our app holds critical personal data that the user often did not backup. So what can we do in this situation?
0
0
627
Nov ’20
Reply to App quits right after it is launched from home screen
Similar here, but even worse! We are having more and more users who have the same issue after any kind of updates (os updates as well as app updates). The app shows the launch screen and then quits, no even calling didFinishLaunching. In same cases, the workaround is to send the app to icloud (offload) and then restart it, restoring all data from the cloud. Unfortunately, this worked fine in iOS 13 but does not always work in iOS 14.0. Currently, the only way to make the app work again is to delete and reinstall it, letting the user lose all of the data assign to the app. THIS IS A DESASTER for most of our users. We URGENTLY need a solution.
Nov ’20
What does this error log message mean?
When I'm debugging my VPN tunnel provider application on the iPhone device I found some error logs in the console: udp_validate_cksum_internal [C8.1:1] udp incorrect IPv4-UDP non-offload checksum 0xeaff ulen 1502 It only appears when I'm tuning the MTU to a bigger value for the NEPacketTunnelNetworkSettings. What does this message mean? Does it mean the inbound udp packet has a bad checksum and will it be dropped by iOS?
3
0
1.4k
Nov ’20
TTS Alex voice is treated like available when it's actually not
Hello everybody! In my app I allow the user to change TTS voices and English Alex voice is one of possible options. However, there are some cases when it's treated as available when it's actually not. It results in pronouncing the TTS utterance with another voice. To prepare the list of available voices I use next code: NSMutableArray *voices = [NSMutableArray new]; for (AVSpeechSynthesisVoice *voice in [AVSpeechSynthesisVoice speechVoices]) { tt[voices addObject:@{ tttt@id: voice.identifier, tttt@name: voice.name, tttt@language: voice.language, tttt@quality: (voice.quality == AVSpeechSynthesisVoiceQualityEnhanced) ? @500 : @300 tt}]; } To start the playback I use the next code (here it's simplified a bit): AVSpeechUtterance *utterance = [[AVSpeechUtterance alloc] initWithString:text]; utterance.voice = [AVSpeechSynthesisVoice voiceWithIdentifier:voice]; [AVSpeechSynthesizer speakUtterance:utterance]; Cases when AVSpeechSynthesisVoice returns Alex as available when it's not: The easiest way to reproduce it is
3
0
2.7k
Oct ’20
Reply to iOS 14 bluetooth problem
same with me, I installed iOS 14 beta on my iPhone 11 Pro Max and after that it just started kicking me out of apps and randomly disconnecting bluetooth. My AirPods 2 and the Pros. I then downloaded iOS 14 and now 14.0.1 and offloaded the beta. But nothing helped. It’s really getting frustrating, especially when your on a phone call. I hope this gets resolved asap.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’20
How to avoid/prevent offloading of emergency response app
I’m with a major Canadian university, developing an app to help users plan for and respond to local hazards, like earthquakes and flooding. Since this is the kind of app you set and forget until an emergency occurs, and there’s a good chance internet access won’t be available to re-download the app once a disaster occurs, what can we do to help our users avoid or prevent offloading of the app? Encouraging users to disable offloading seems like overkill. What other options would you suggest to help avoid offloading in the first place? Thanks!
0
0
334
Aug ’20
Reply to Update SwiftUI View on NSManagedObject edit
hi, one correction to my last reply: point number (3) wasn't quite right (i had it backwards; sorry, it was the last thing i wrote before heading off to bed). it should have been: (3) instead, if you write something like ExerciceHistoryRow(name: exerciceHistory.name!) and you use var name: String for the View, that will be updated properly. be sure to NOT define this variable using @State, because that gives ownership of the View to SwiftUI. and in general, you'll obviously want to pass along more than just date for a single field in the object ... my conclusions about this whole display not updating situation, especially with Core Data objects (one i've been struggling with for some time): passing a reference to an object to a RowView works fine if it is an @ObservedObject -- and if the RowView makes any changes to the object, you'll know about it. however, deleting that object will crash if the RowView is still held onto by SwiftUI when the deletion occurs. (i think the situation is even more murky when usi
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’20
Reply to Passing ObservableObject to View within NavigationView and editing it
hi, i'll offer three suggestions. there's no need (or there may be, but not in this example) for User to be a class. make it a struct and kill the ObservableObject protocol. struct User: Identifiable { let id = UUID() var name: String init(name: String) { self.name = name } } treat the Users object as a viewModel, and when a change is made to a user's name, provide a method for the Users object to do that. class Users: ObservableObject { @Published var users: [User] init() { self.users = [ User(name: John Doe), User(name: Jane Doe) ] } func updateUsername(for user: User, to newName: String) { if let index = users.firstIndex(where: { $0.id == user.id }) { users[index].name = newName } } } and treat the UserDetailView to not be a live edit, but one where you have parameters users and user coming in; you offload the name you want to edit when the view comes on screen; and when you save the edit, ask the Users object to make that change for you. something like this (with the Save button now also dismissi
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’20
Low level API to take control of Neural Engine
Hi, I would love to code with the Neural Engine on my macbook pro M1 2020. Is there any low-level API to create my very own work-loads? I am working with audio and MIDI. As well sound synthesis and mixing. Can I use the Neural Engine to offload the CPU? I am especially interested in parallelism using threads. My programming lanuage of choice is ANSI C and Objective C.
Replies
4
Boosts
0
Views
12k
Activity
Feb ’21
Reply to macOS Big Sur Not Enough Free Space
I have a 128 Gig Mac Mini. I was ready to give up on Big Sur after seeing how much free space I needed to free up. Here's how I made the space available. Copy the Big Sur installer to a removable drive and remove it from your startup drive. Run the installer to see how much more space you need. Follow Apple instructions to offload Music and Photos libraries to a removable drive. If you are a developer, you probably have a huge Developer folder in your user library. Copy it to a removable drive and remove it temporarily. These steps worked for me and I was able to upgrade to Big Sur. The installer seemed to do a very good job of cleaning up OS X folders because I had 50 GB available after the install. Plenty of space to copy the Developer folder back to the startup drive.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’20
Reply to Unterstanding MacOS wifi logs
hi, I don't hope setting your network to less secure is the answer. Although this would fix a lot of problems ;) I think the culprit is: Wed Dect2 10:04:29.904 Driver Event: _bsd_80211_event_callback: APPLE80211_M_ROAM_START (en0) I have the same issue, which is very annoying for video calls. (MBPro 2015/Big Sur and Fritzbox 7580 with Mesh using FB-Extender 3000) No other devices seem to experience this issue. My current knowledge is: Running a ping --apple-time 192.168.188.110 -i 0.1 13:21:12.730147 64 bytes from 192.168.188.110: icmp_seq=3750 ttl=64 time=1.214 ms 13:21:12.836592 64 bytes from 192.168.188.110: icmp_seq=3751 ttl=64 time=3.009 ms Request timeout for icmp_seq 3753snip- Request timeout for icmp_seq 3787 13:21:16.694166 64 bytes from 192.168.188.110: icmp_seq=3788 ttl=64 time=3.420 ms 13:21:16.805075 64 bytes from 192.168.188.110: icmp_seq=3789 ttl=64 time=4.709 ms and a tail -f /var/log/wifi.log Tue Dec 15 13:21:12.857 Driver Event: _bsd_80211_event_callback: APPLE80211_M_ROAM_START (en0) Tue
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’20
Reply to What does this error log message mean?
And another found is that on the home Wifi network(which has PPPoE router provided by carrier) with an iOS 14 iPhone the message will be like udp_validate_cksum_internal * udp incorrect IPv4-UDP non-offload checksum * ulen 1506 And the pppoe header length is 6. Compared with previous network with Vlan the error message showed ulen is 1502. I believe there most probably a bug exists somewhere in iOS 14 kernel or in network extension. Since I didn't found such issue under the same condition on iOS 12, this issue may only exists in iOS 14. The reproduce condition is with NEPacketTunnelProvider set the MTU of the UTUN to be a value bigger or equal than 1480(Theoretically we should be able to set this value to a very big size like 65535 and without any problem) or overhead size to be 0, and run it on an iOS 14 iPhone, on a Wifi network which has a Vlan setting or PPPoE, on inbound packets there will be such problem.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’20
Reply to System Storage Full
It is November 2020, and my Iphone 6s has just been reset to factory settings because of this. So, no, we cannot assume that Apple has fixed anything in the new updates, nor will they. I've been experience a slow decay of storage space on my, already too compact, 16gb phone. 6gb taken by the storage, so this phone is actually a 9gb phone, sold as a 16gb phone. Over the past 2 months my phone went from the occasional offloading of an app, to having almost 0gb of space. I was so confused, as apple does little to nothing to explain to their customers how to handle the defuncts in the system. I started using icloud, uploading everything possible to it. It did absolutely nothing, nothing at all. You have to go through absurd hoops and hurdles to export your iphone photo library into your computer and separate them from icloud, so that they won't disappear when you delete them off your phone. Learned that lesson before, should out to apple iCloud for losing 500-1000 of my pictures to iCloud in 2018. So, ev
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’20
App quits right after launching
Since iOS 14, more and more users experience a severe problem: When they launch our app, it quits right after showing the launch screen, obviously even before executing one line of code. In some cases, offloading and re-loading the app can help in this situation, but not always. In iOS 13, the problem occurred in the same way, but offloading and re-loading always helped. This seems to be a licence problem and reinstalling is no option, because our app holds critical personal data that the user often did not backup. So what can we do in this situation?
Replies
0
Boosts
0
Views
627
Activity
Nov ’20
Reply to App quits right after it is launched from home screen
Similar here, but even worse! We are having more and more users who have the same issue after any kind of updates (os updates as well as app updates). The app shows the launch screen and then quits, no even calling didFinishLaunching. In same cases, the workaround is to send the app to icloud (offload) and then restart it, restoring all data from the cloud. Unfortunately, this worked fine in iOS 13 but does not always work in iOS 14.0. Currently, the only way to make the app work again is to delete and reinstall it, letting the user lose all of the data assign to the app. THIS IS A DESASTER for most of our users. We URGENTLY need a solution.
Replies
Boosts
Views
Activity
Nov ’20
What does this error log message mean?
When I'm debugging my VPN tunnel provider application on the iPhone device I found some error logs in the console: udp_validate_cksum_internal [C8.1:1] udp incorrect IPv4-UDP non-offload checksum 0xeaff ulen 1502 It only appears when I'm tuning the MTU to a bigger value for the NEPacketTunnelNetworkSettings. What does this message mean? Does it mean the inbound udp packet has a bad checksum and will it be dropped by iOS?
Replies
3
Boosts
0
Views
1.4k
Activity
Nov ’20
TTS Alex voice is treated like available when it's actually not
Hello everybody! In my app I allow the user to change TTS voices and English Alex voice is one of possible options. However, there are some cases when it's treated as available when it's actually not. It results in pronouncing the TTS utterance with another voice. To prepare the list of available voices I use next code: NSMutableArray *voices = [NSMutableArray new]; for (AVSpeechSynthesisVoice *voice in [AVSpeechSynthesisVoice speechVoices]) { tt[voices addObject:@{ tttt@id: voice.identifier, tttt@name: voice.name, tttt@language: voice.language, tttt@quality: (voice.quality == AVSpeechSynthesisVoiceQualityEnhanced) ? @500 : @300 tt}]; } To start the playback I use the next code (here it's simplified a bit): AVSpeechUtterance *utterance = [[AVSpeechUtterance alloc] initWithString:text]; utterance.voice = [AVSpeechSynthesisVoice voiceWithIdentifier:voice]; [AVSpeechSynthesizer speakUtterance:utterance]; Cases when AVSpeechSynthesisVoice returns Alex as available when it's not: The easiest way to reproduce it is
Replies
3
Boosts
0
Views
2.7k
Activity
Oct ’20
Reply to iOS 14 beta 4 permanently freezes & when disk space runs out
Noticed again on iOS 14.2 beta 2 on iPhone 11 Pro. Apps fail to open, deleting or offloading apps fails, space remains stuck at 63.6 GB/64 GB.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’20
Reply to iOS 14 bluetooth problem
same with me, I installed iOS 14 beta on my iPhone 11 Pro Max and after that it just started kicking me out of apps and randomly disconnecting bluetooth. My AirPods 2 and the Pros. I then downloaded iOS 14 and now 14.0.1 and offloaded the beta. But nothing helped. It’s really getting frustrating, especially when your on a phone call. I hope this gets resolved asap.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’20
How to avoid/prevent offloading of emergency response app
I’m with a major Canadian university, developing an app to help users plan for and respond to local hazards, like earthquakes and flooding. Since this is the kind of app you set and forget until an emergency occurs, and there’s a good chance internet access won’t be available to re-download the app once a disaster occurs, what can we do to help our users avoid or prevent offloading of the app? Encouraging users to disable offloading seems like overkill. What other options would you suggest to help avoid offloading in the first place? Thanks!
Replies
0
Boosts
0
Views
334
Activity
Aug ’20
Reply to Update SwiftUI View on NSManagedObject edit
hi, one correction to my last reply: point number (3) wasn't quite right (i had it backwards; sorry, it was the last thing i wrote before heading off to bed). it should have been: (3) instead, if you write something like ExerciceHistoryRow(name: exerciceHistory.name!) and you use var name: String for the View, that will be updated properly. be sure to NOT define this variable using @State, because that gives ownership of the View to SwiftUI. and in general, you'll obviously want to pass along more than just date for a single field in the object ... my conclusions about this whole display not updating situation, especially with Core Data objects (one i've been struggling with for some time): passing a reference to an object to a RowView works fine if it is an @ObservedObject -- and if the RowView makes any changes to the object, you'll know about it. however, deleting that object will crash if the RowView is still held onto by SwiftUI when the deletion occurs. (i think the situation is even more murky when usi
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’20
Reply to First Time Xcode User: The maximum number of apps for free development profiles has been reached.
Alright, Figured it out. You can't even have any offloaded apps from ANY vendor, including Apple, installed on the device. Removed all offloaded apps and works now.
Replies
Boosts
Views
Activity
Jul ’20
Reply to Passing ObservableObject to View within NavigationView and editing it
hi, i'll offer three suggestions. there's no need (or there may be, but not in this example) for User to be a class. make it a struct and kill the ObservableObject protocol. struct User: Identifiable { let id = UUID() var name: String init(name: String) { self.name = name } } treat the Users object as a viewModel, and when a change is made to a user's name, provide a method for the Users object to do that. class Users: ObservableObject { @Published var users: [User] init() { self.users = [ User(name: John Doe), User(name: Jane Doe) ] } func updateUsername(for user: User, to newName: String) { if let index = users.firstIndex(where: { $0.id == user.id }) { users[index].name = newName } } } and treat the UserDetailView to not be a live edit, but one where you have parameters users and user coming in; you offload the name you want to edit when the view comes on screen; and when you save the edit, ask the Users object to make that change for you. something like this (with the Save button now also dismissi
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’20