Post

Replies

Boosts

Views

Activity

Reply to Notification Service Extension restrictions
I've never encountered any CPU restrictions with an extension. So maybe it is running out of memory. You have enough memory to load the array, but then maybe you are consuming more memory as you process the array. If you run/debug the extension (as opposed to running/debugging the app) in Xcode you can monitor the memory usage in real time just as you can with the app. I think from memory the memory limit is 20Mg, so you can see if you are getting close to and then hitting this limit (if you go over while running the extension in Xcode then it'll tell you) If you are running out of memory then you can try using autoreleasepool {} during processing to free memory. The OS churns out a lot of logging, if you search in the log console (not Xcode's log console) for your extension bundle id while its running, the OS will probably log what the problem is. Or as mentioned above, run the extension in Xcode and that'll probably tell you what the issue is.
Jun ’24
Reply to Notification Service Extension restrictions
The extension has a set memory limit, which is much less than that of an app. Why can you not do the iteration in the app when it first launches rather than the extension? (the extension is not part of the app, it is separate from it but data from the iteration process can be shared via the filesystem for example). Also an extension doesn't simply run for 30 seconds, it will run until the completion handler is called, if the handler is not called within 30 seconds then the system will call the handler for you. If you have to do the iteration within the extension, you will need to delay calling the completion handler until the iterations have completed. If that takes longer than 30 seconds, then that's another good reason why you need to look at doing this in the app rather than the extension. You say the iteration is part of the initialization process, hence its a one time operation, why therefore cannot it be performed by the app (I use the term app to not include the extension) the first time the app runs, and then the results of that made available to the extension?
Jun ’24
Reply to iOS 18 BETA >>> TO iOS 17 Latest
If you google you've easily find instructions on how to do it. Basically put your phone into recovery mode and plug into a Mac and restore it. However I've been trying to do this myself and I just absolutely cannot put the phone into recovery mode (the same phone which in the past I have been able to many times). Perhaps there is a problem with iOS 18 beta that prevents it from being able to put it into recover mode.
Jun ’24
Reply to We were still unable to review your app as it crashed on launch.
If you don't know/understand what "We were still unable to review your app as it crashed on launch.", for some reason, why not just say "I don't understand what We were still unable to review your app as it crashed on launch means". If you do understand what it means, they why post it with no further details? I just don't get it, how can you possible be hoping for any help from this forum with this?
Apr ’24
Reply to We were still unable to review your app as it crashed on launch.
Why? I mean just why would you post something like this? You and the hundreds of others that do similar. Is this a question you've posted, no it is not. Is this a request for assistance/help/comment you have posted, no it is not. Is there any useful information you have attached or added, no there is absolutely nothing at all. Do you really think you will get some feedback on this? What will posting quote from Apple review achieve. Nothing. Nothing at all. Good luck
Apr ’24
Reply to Why is Xcode taking forever to install/launch app?
Installing the app has become worse. It'll be fine one minutes, will install and run quickly, and then next go it'll take about 10 minutes. It knows its taking a long because it says its taking longer than usual and do you want to proceed? If you say yes, you still have 10 or more minutes to wait. Once its started doing this I've not found any way of making it right again other than to restart the Mac and the phone. The problem is, whenever you restart a phone, then you then have to wait 5 minutes while Xcode says "Preparing the iPhone", even if its already prepared it a trillion times before. So you can't win.
Mar ’24
Reply to React Native Mobile App Crashes in TestFlight but not in Expo Go Development
Not a crash, but with a React Native app it hangs at random places when downloaded from TestFlight, yet the exact same build when installed from the App Store is ok (the app was uploaded to TestFlight, then released to the App Store, then later found the issue in TF). So the exact same build experiences issues when installed from TF but not when installed from the App Store.
Feb ’24