Post

Replies

Boosts

Views

Activity

CloudKit/CoreData requests in Extension
Is there any way I can access my CloudKit container from my Siri Intent Extension? I'd like to query my data in response to a Shortcut Intent. My first thought was to add the CloudKit capability to my project, but when I create a new project in Xcode 12 using CloudKit it doesn't show me the iCloud options when adding capabilities to my Intent. There are noticeably few capabilities displayed. Is it expected that users can access CloudKit data from extensions, or would my AppDelegate need to handle this intent from my main app target
2
0
1.1k
Jun ’20
Debugging WidgetKit install error "Failed to get descriptors for extensionBundleID"
I'm trying to create an iOS 14 WidgetKit widget. It's compiling, but when I try to run it, on either simulator or device, I get the error below: Any suggestions on how to debug this? Details SendProcessControlEvent:toPid: encountered an error: Error Domain=com.apple.dt.deviceprocesscontrolservice Code=8 "Failed to show Widget 'com.myapp.dev.WidgetKitExtension' error: Error Domain=SBAvocadoDebuggingControllerErrorDomain Code=1 "Failed to get descriptors for extensionBundleID (com.myapp.dev.WidgetKitExtension)" UserInfo={NSLocalizedDescription=Failed to get descriptors for extensionBundleID (com.myapp.dev.WidgetKitExtension)}." UserInfo={NSLocalizedDescription=Failed to show Widget 'com.myapp.dev.WidgetKitExtension' error: Error Domain=SBAvocadoDebuggingControllerErrorDomain Code=1 "Failed to get descriptors for extensionBundleID (com.myapp.dev.WidgetKitExtension)" UserInfo={NSLocalizedDescription=Failed to get descriptors for extensionBundleID (com.myapp.dev.WidgetKitExtension)}., NSUnderlyingError=0x7fc0b0d12540 {Error Domain=SBAvocadoDebuggingControllerErrorDomain Code=1 "Failed to get descriptors for extensionBundleID (com.myapp.dev.WidgetKitExtension)" UserInfo={NSLocalizedDescription=Failed to get descriptors for extensionBundleID (com.myapp.dev.WidgetKitExtension)}}} Domain: DTXMessage Code: 1- System Information macOS Version 10.15.5 (Build 19F101) Xcode 12.0 (17177)
34
0
21k
Jun ’20
INCOMPATIBLE DISK error message upon launching Big Sur APFS vs MacOS Extended issue in Big Sur?
Running on: iMac 27" 5k late 2015 - 64gb ram and a 16tb Pegasus Promise2 R4 raid5 via Thunderbolt. After trying Big Sur - found issues with Luminar Photo app, decided to return to Catalina on the iMac. Reformatted my internal drive and reinstalled Catalina 15.5 and reformatted the raid. But I keep getting the following message upon restarting: "Incompatible Disk. This disk uses features that are not supported on this version of MacOS" and my Pegasus2 R4 portion no longer appears on the desktop or in Disk Utility... Looked into this and discovered that it may be an issue of Mac OS Extended vs APFS The iMac was formatted to APFS prior to installing OS11 so I reformatted to APFS when returning to Catalina. The issues persisted so I re-reformatted from a bootable USB - this time to Mac OS Extended (journaled) and the issues seems to be resolved. The iMac runs slower on MacOS Ext, but it is running and the Raid is recognised... I'd love to go back to APFS but am afraid it will "break" things. Any thought on this would be welcome. Thanks Nick
6
0
16k
Jul ’20
iOS 14 Unable to Activate after restore
Last night I restored my iPhone 11 Pro Max to iOS 14 beta. After iPhone restored I am stuck at the activation screen. In setup assistant after selecting country and signing into my WiFi my iPhone tries to activate. After a few seconds I get: "Unable to Activate Your iPhone could not be activated because the activation server cannot be reached. Try connecting you iPhone to a Mac or a PC with iTunes to activate, or try again in a couple of minutes. If this problem persists, contact Apple Support at apple.com/support" Restored on a MacBook 12" running macOS Big Sur beta 2 Shutdown iPhone on setup assistant screen and restarted. Used multiple good Wi-Fi connections. Also tried activating on Cellular. Tried removing sim card and reinserted. Tried a different sim card from the same carrier. Re-downloaded iOS 14 IPSW file. Put iPhone back into recovery mode. Opened finder selected iPhone, held down option while clicking on restore. Selected iOS 14 IPSW file. iPhone restored. Get the same activation error. Put iPhone into recovery mode. Opened finder, this time I selected restore without holding option. iPhone restored back to iOS 13. Also tried activating through finder and I get the following error: "Activation Failed The iPhone cannot be synced. Received an unexpected response from the device." Still receive "Unable to Activate". It's almost 24 hours and I am still unable to activate my phone. Anyone else having issues?
20
0
13k
Jul ’20
Protocol availability inconsistencies related to modern serial layers
I am currently writing a iPadOS application to act as a companion to the desktop version that controls a piece of hardware via a USB CDC serial connection. Due to modern iPads having USB-C ports for the last 2 years and the ability to attach certain USB devices via adaptors since the origin of the 30pin doc connector I would expect protocol availability to be fairly complete. So then why is it that the headers required to use USB CDC serial don't exist and if you make them yourself you need to use illegal symbols so you can't upload it to App Store connect. Where as USB CDC ethernet has full support along with Bluetooth RFCOMM (rs232 serial over bluetooth) and even USB MIDI given that midi is a superset of serial. So why isn't there a USB CDC serial kit/api/even just allowing a data stream to the TTY/CU port? If there is a way please tell me what it is and point me to the documentation.
11
0
5.4k
Jul ’20
iOS 14 no signal, no cellular data
Hi! I've installed iOS beta 4 on my iPhone 11 Pro and since then, I lost the signal and I don't have data. I have another iPhone X with iOS 14, and I don't have issue with it. It only occurs on iPhone 11. I tried many things like: Reset network setting Turn off/on airplane mode Turn off/on cellular data Hard reboot Soft reboot Reset content and data Turn off/on roaming ... Same issues It seems that the cell is looking for the signal constantly. Do you have any idea how to fix it ?
504
1
163k
Aug ’20
App rejected due to "3.1.3(b) Multiplatform Services". Need help.
Hi, Our software helps personal trainers deliver better training experience to their clients.  Personal trainers as well as their clients can use the software to log workouts, track progress, build plans, chat with each other etc. One big part of our business is to build white-label apps for fitness businesses. With this solution fitness businesses can get their own branded apps in the app stores. Apple has recently started rejecting our white label apps because it seems we are breaking “3.1.3(b) Multiplatform Services” guideline. As per the guidelines we have to provide in-app purchase options if the app allows users to consume services bought elsewhere. The service in our case is the 1-on-1 personal training. Here are few reasons we think we shouldn’t be forced to implement in-app purchase option inside the app: The app is an add-on and not a major part of the service that is delivered. Here are some of the things a personal trainer delivers after a client buys a personal training package: Take assessment in person. Design workout plans Take clients through a workout in-person or over a Skype call. Teach them correct exercise form. Design nutrition plans. In person review session All of these things are delivered outside the app.  Moreover guideline 3.1.5(a) specifically prohibits the use of in-app purchase for goods and services that are delivered outside of the app. 2. After our appeal was rejected, we have included a “free signup” option inside the app. Using that option anyone can create a free account and use the app free. All the clients features are unlocked. We thought that adding this will show that the app is free and we only charge for 1-on-1 personalized service that is delivered outside the app. But in the end we were not successful in getting the app approved. 2. Recently “Hey App” was rejected for similar reasons (3.1.3(b) Multiplatform Services) and they were finally approved after they added a temporary free email account in the app. Not sure why our app is getting rejected even after adding a free signup option. 3. All major Gyms like 24-hour fitness have their app available in the app store and their app is available only to their members. There is no way to buy the gym membership or personal training package through in-app purchases. So how is our app different? 4. How is our app different from an app built for physical therapists or doctors? Should they provide in-app purchase options? 5. All the personal training packages are custom made and vary from one user to another. Also, a trainer will have to go through an assessment before they can decide on a package that is right for a client.   Do you guys think we have valid points? If yes, then how do you suggest we move forward with Apple review. Our Appeal was rejected and there is no way to move forward. Is there a way to talk to the Apple review board over the phone and explain the situation. Is there anyone here who can help? Thanks, Manobal
5
0
1.7k
Aug ’20
can I get current location in widgetKit
As far as I can tell in my app I am requesting current location in the app and in the widget the same, but I am not ever seeing my widget make the network call the I would expect if current location was successful. I have the same info plist permissions for usage and request for access in both the app and the widget ( runs the same shared code ). My question is does widgetKit work to get core location similar to the the way that today extensions work. or do I need to cache it from the phone app and hope its been updated ?
4
0
2.6k
Aug ’20
Trackpad click not working
I installed Big Sur a few days ago, today i woke up to see my trackpad click is not working. The other functions of trackpad are working normal like the gestures etc but cant click, left and right click also not working. Tried using an external usb mouse but only the right click works not the left (main) click. Any suggestions or inputs as to why this is happening? Any way to resolve this?
122
5
115k
Sep ’20
Crash while rendering glyphs in iOS 14
I've a custom UIView to render a large piece of text using CATiledLayers. My draw(rect:) implementation is quite simple: override func draw(_ rect: CGRect) { 	let range = layoutManager.glyphRange(forBoundingRect: rect, in: textContainer) 	layoutManager.drawBackground(forGlyphRange: range, at: .zero) 	layoutManager.drawGlyphs(forGlyphRange: range, at: .zero) } This code works without any issue on iOS 13, but fails with a crash on iOS 14 simulator: Thread 9: EXC_BAD_ACCESS (code=1, address=0x28) #0 0x00007fff2396a3f5 in _NSLayoutTreeMoveToGlyphIndex () I can see that draw(rect:) is being called from different threads in both iOS 13 and 14. However the EXC_BAD_ACCESS has never happened so far in iOS 13. I wonder whether this is a behaviour change in iOS 14 or an issue. If this is a change in NSLayoutManager, then is it still possible to use CATiledLayer to render large amount of text in coordination with NSLayoutManager?
1
0
908
Sep ’20
[Apple Watch] Unable to Check for Update - Not connected to the internet error
Hi. I am pairing my Apple Watch Series 5 to my iPhone running ios 14. The pairing is successful but unable to proceed with the set up because an update is needed to be downloaded first. I updated the os for watch but I keep on getting “Unable to Check for Update - Checking for a software update failed because you are not connected to the internet”. I am definitely connected to the internet. Watch was reset to factory defaults and I am now pairing it as a new device but it fails due to the issue mentioned above.
353
3
410k
Sep ’20
Updating Widgets from StaticConfiguration to IntentConfiguration Requires Re-Installation
I'm updating my widget from StaticConfiguration to IntentConfiguration. When I do so, existing widgets installed within simulators and on my iPhone device either show a blank screen or a placeholder screen and fail to initialize. Is there a safe way to upgrade my widget configuration? I would hate to break the widget for our existing users and force them to manually reinstall.
9
0
2.5k
Sep ’20
PUBG lags on IOS 14 IPhone XR
Really I’m gonna Die if you not fix it ASAP ios 13.7 was best when I updated to iOS 14 then everything Gone to Hell pubg lags in game between matches only iOS 14 and iOS 14.1 users facing PUBG lag render issue fix it or I will never update your shit updates in my life in-between matches it start frame drops and we die like a noob because of this so bring new update and iOS 14.2 must fix it 😡
39
0
17k
Sep ’20
Filtering IPPROTO_ICMP and IPPROTO_RAW using NetworkExtension
Hi, I am trying to create an app that filters network events - whether to collect statistics, or to even block some specific flows. I see that using NEFilterDataProvider I am able to only filter UDP or TCP protocols (when filtering by .any, I see I only receive UDP/TCP). For example, I wish to see the flow of a simple ping 1.1.1.1. This of course makes the statistics partial (without ICMP packet/raw socket packets), or the flow block being bypass-able (even if with some effort), by using Raw sockets. Is there a way to add to the filtering also ICMP and RAW flows? Should I use a different provider for those?
12
0
1.8k
Oct ’20
Apple Anonymous Attestation Statement Format
According to the documentation - https://github.com/w3c/webauthn/pull/1491 of Apple's Anonymous Attestation Statement Format (fmt="apple"), the nonce generated from the authenticatorData the clientDataHash is embedded in an extension with OID ( 1.2.840.113635.100.8.2 ) in the certificate for the credential public key. If I try to validate a response generated after using touchID from my browser on my iOS14 device, I get a 38-byte value:   414:d=5  hl=2 l=   9 prim: OBJECT            :1.2.840.113635.100.8.2   425:d=5  hl=2 l=  38 prim: OCTET STRING      [HEX DUMP]:3024A1220420D9052FED7AA782C1B416C59B0AE15F309A336E22984E32505307A6339DDE52FD How can this be a SHA-256 hash value?
3
0
2.4k
Oct ’20