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
812
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
3.2k
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
914
Jun ’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
861
Feb ’23
Issue: [Inflection] Cannot use Morphun
Hi community: I get an error using inflection on strings when the language is Spanish. Issue: [Inflection] Cannot use Morphun, (Checking that the token is the correct type): (null) The code: let value = "5 dias" var string = AttributedString(localized: "El primer \(value) es gratis") var morphology = Morphology() morphology.number = .plural string.inflect = InflectionRule(morphology: morphology) let result = string.inflected() Any workaround to solve it?
0
0
1.1k
Mar ’23
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.
Replies
0
Boosts
0
Views
812
Activity
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
Replies
1
Boosts
0
Views
3.2k
Activity
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
Replies
1
Boosts
1
Views
914
Activity
Jun ’22
How to create an extension point
Hi community: I was looking for a way to setup extensions points referred in this doc, to allow other apps to extend my app functionality with ExtensionFoundation: https://developer.apple.com/documentation/extensionfoundation/ Thanks in advance.
Replies
3
Boosts
1
Views
1.1k
Activity
Sep ’22
SwiftUI get deviceToken without AppDelegate
Hi community: I'm looking for a way to remove AppDelegate from my app because I'm only using it to get the push device token to share with my server. Is there a way to get it without implementing AppDelegate or its protocol? Thanks in advance
Replies
0
Boosts
0
Views
600
Activity
Sep ’22
Is there any way to update an example?
Hi community: I want to know if there is any way to request apple an update of its examples. In this case, I want this one https://developer.apple.com/documentation/networkextension/filtering_network_traffic Thanks in advance
Replies
3
Boosts
0
Views
709
Activity
Nov ’22
runsForEachTargetApplicationUIConfiguration get configuration
Hi: I want to know if there's a way to get the configuration used when the app is launched and runsForEachTargetApplicationUIConfiguration is true. This property belongs to XCTestCase for UITests. Thanks in advance
Replies
3
Boosts
0
Views
1.2k
Activity
Dec ’22
Detect SwiftUI modal style presentation
Hi: I want to detect if a view has been presented with a fullscreen cover or with a sheet style. I have to get this info from inside the view that has been presented as a sheet or full screen. Is there any way to achieve it? Thanks in advance.
Replies
1
Boosts
0
Views
2.2k
Activity
Feb ’23
How can I lock the device direction in only one view using SwiftUI
Hi: I want to lock the device direction to landscape or portrait when the user enters on a specific screen. How can I do it in SwiftUI? Thanks in advance
Replies
1
Boosts
0
Views
489
Activity
Feb ’23
ci_post_clone
Hi community: Is there any way to make ci_post_clone as a swift script instead of a bash one? Thanks in advance.
Replies
0
Boosts
0
Views
684
Activity
Feb ’23
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
Replies
1
Boosts
0
Views
861
Activity
Feb ’23
Xcode sometimes does not include library items on Xcode library list
Hi, community: I came up with another bug (I guess), Xcode sometimes does not include library items on the Xcode library list. I mean, even the basic example that Xcode does, is not included in the library in Xcode 14.2. Sometimes, It takes 15-30 min to index the items ... Someone has found a workaround for it? Thanks in advance
Replies
0
Boosts
0
Views
525
Activity
Mar ’23
Is a closure enum associated value escaping?
Hi, community: Today a Swift question came up to me. Is a closure enum associated value considered to be an escaping closure? an example: enum Operation { case opA(()-> Void) case opB(()-> Void) } Thanks in advance
Replies
2
Boosts
0
Views
1.2k
Activity
Mar ’23
Xcode Cloud queued for hours
I made a workflow in Xcode Cloud, and for months it worked okay, but today it has jobs with actions queued for hours. Is that expected? I mean the status page said that all works as expected. I didn't find other posts related to it. Thanks in advance
Replies
2
Boosts
0
Views
888
Activity
Mar ’23
Issue: [Inflection] Cannot use Morphun
Hi community: I get an error using inflection on strings when the language is Spanish. Issue: [Inflection] Cannot use Morphun, (Checking that the token is the correct type): (null) The code: let value = "5 dias" var string = AttributedString(localized: "El primer \(value) es gratis") var morphology = Morphology() morphology.number = .plural string.inflect = InflectionRule(morphology: morphology) let result = string.inflected() Any workaround to solve it?
Replies
0
Boosts
0
Views
1.1k
Activity
Mar ’23