Post

Replies

Boosts

Views

Activity

Sign In with Apple in simulator
Hi everybody: I want to Sign In with Apple in simulator with the purpose of double check the flow with UITesting, but I'm not able to do it. The simulator stuck in password textfield once the password is entered in, and the button is accepted. (The button appears disable for a second and then again it is going enable, but the textfield loading still appears). are there any trick to test it from UI with simulator? Thanks in advance.
0
0
730
Apr ’22
Getting error in previews when are inside of a static framework
Previews don't work when are inside of a static framework. Has anyone experimented it also? MessageSendFailure: Message send failure for update ================================== |  RemoteHumanReadableError: Unknown preview provider "Provider_Previews_" |   |  XCPreviewAgent does not contain a preview provider named "Provider_Previews_". Check your build settings to ensure the preview provider is compiled into your product. |   |  Mangled name: 0012Provider_0021Provider_Previews_V Thanks in advance
1
0
2.4k
Apr ’22
Network extensions are not available when building for Mac Catalyst.
We are building an app that support Mac Catalyst and network extension is included in. We don't know why the compiler throw this error: Network extensions are not available when building for Mac Catalyst. The documentation related to network extensions (in this case NEFilterDataProvider) in apple docs said explicitly that Mac catalyst is available. @eskimo @meaton please let me know if there's a bug with it. https://developer.apple.com/documentation/networkextension/nefilterdataprovider
1
1
826
Jun ’22
Code coverage. SwiftUI Wrong Executable Lines
Hi community: I noticed that each closure is counted as lines in code coverage (unit tests) (Xcode 14.1.0) in a swiftUI File. I mean, If you coded and VStack that involves another HStack, and HStack contains 4 lines, and the VStack contains 6 lines counting the HStack. The total executable lines should be 6 (6 lines in the file). But Xcode count 10, counting twice the HStack lines. Is it a bug, or is it correct? You know, I don't know if Apple has another concept about executable lines. Also, Is it possible to remove previews with any configuration from code coverage or constant files? Thanks for all.
0
1
663
Nov ’22
Error when trying to preview using Mac as Preview Device from Dynamic framework
Hi community: I came up with an error when I tried to preview a view with Mac as Device. The view is done inside a dynamic framework. The framework is compatible with Mac Catalyst. The Xcode version is 14.2.0 HumanReadableNSError: connectToPreviewHost: Failed to connect to 62826: Error Domain=com.apple.dt.ProcessAttachUtilities Code=0 "Failed to get task for pid 62826: 0" UserInfo={NSLocalizedDescription=Failed to get task for pid 62826: 0} com.apple.dt.xcodepreviews.service (17): ================================== |  MessageSendFailure: Message send failure for Connecting to launched interactive agent 62826 Any kind of preview displays the error (only on Mac, on other devices it works as expected). Is there any workaround? Thanks in advance
1
0
711
Feb ’23