Post

Replies

Boosts

Views

Activity

Reply to XCode15 debugger is working really slow with iOS 17.0.2
The only workaround I've found that works 100% of the time is this: Disconnect iPhone from USB cable if already connected Put iPhone in airplane mode Connect to USB cable and wait for Xcode to finish connecting to it Take iPhone out of airplane mode Apparently Xcode doesn't switch back to wireless debugging after establishing a wired connection so you should be fine for the duration of the session. But ofc if you disconnect the device for any reason (or relaunch Xcode?) then you'll need to repeat this.
Mar ’24
Reply to TextKit 2: edits make duplicate text elements
I think the problem has to do with what's being requested from NSTextContentStorageDelegate.textContentStorage(range). Even though in the performEditingTransaction block I deleted the entire paragraph range and then re-inserted it with the replacement string and longer length, the delegate is getting called twice with two ranges: a range covering the original length before the edit and a smaller range covering only what was added during the edit. But my delegate is returning a full paragraph object for both, resulting in the duplicates. I need the delegate to only get called for the new aggregate range.
Jan ’24
Reply to ITMS-90562: Invalid Bundle with Xcode 13.3 RC
I wouldn't disable Bitcode to work around this. Bitcode allows your app to be recompiled for specific devices and iOS versions which makes the app package as small as possible when users download it from the App Store. Instead do all of this: Remove libswift_Concurrency from all of your targets (Target ⇢ Build Phases ⇢ Link Binary With Libraries) Remove libswift_Concurrency from the Frameworks group in the Project Navigator Remove all Swift concurrency keywords from your sources: @MainActor, async, await, etc According to the release notes this only happens when the app targets <iOS 15, so presumably all of your users weren't getting these features to begin with and you were already branching on availability of iOS 15. If you're like me, you were doing this to get the subscription management screen in iOS 15 but thanks to this Xcode 13.3 regression your users won't get that even on iOS 15.
Mar ’22
Reply to Configuring DNS proxy without app launch
Hi Matt, that message isn't logged until the proxy extension actually tries to instantiate an NEDNSProxyManager object. New flows appear as normal. The problem is that the extension needs this siteKey string that's in the mobileConfig profile. I haven't been able to figure out how to get that string to the proxy extension without first launching the app. Thanks.
Apr ’20