Post

Replies

Boosts

Views

Activity

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
Meaning of values Cert
Hi: I'm wondering about what means values s,i from cert object inside the property NSErrorPeerCertificateChainKey and NSErrorPeerCertificateChainKey in an SSLError: NSErrorPeerCertificateChainKey=( "<cert(0x1029c9e00) s: site.com i: Company Services>" I suppose that "i" is the certificate's issuer and "s" is the site, but something is strange here. I make a request to example.com and sometimes example.com does not appear on the certificate chain ... appearing Other sites and issuers not related to the certificate that example.com could have. I think that it is the cause of the error, but if you could explain to me which could be the cause of this strange situation would be nice. Thanks in advance
1
0
903
Aug ’23
Extensions and Widget localizations
Hi community: I'm experiencing an issue in iOS 17 where the Widgets and Extensions use the local device language instead of the app language (preferred languages displayed on the app settings). This issue was reproducible in iOS 16.1, but then was solved. Now it is back on iOS 17 and iOS 17.1 In terms of code, Locale.current in the app returns the language preference selection, even you can use bundle.main.preferredlanguages and get the first one (because there's a repetition from 2 to 3 times the same value) But in whatever extension, the app's preferred language cannot be got, it always returns the system's preferred language. @eskimo, Is it a known issue? Also, Xcode 15.3 shows 0 files localized when you use the strings catalog. I appreciate any help you can provide.
3
0
1.4k
Sep ’24
App Store app size vs real one
Hello: I was checking the app size on the AppStore and seems like it is randomly different from one app to others. For example one app shows 27.6MB in the App Store and then when you download the size is 51.9 MB and 2.5MB of documents and data whereas another marks 88.8MB and then when you download the size is 86.3 MB and 2.5MB How the AppStore calculate these sizes?
2
0
696
Sep ’24
SwiftUI View cannot conform custom Equatable protocol in Swift 6.
In Swift 6, stricter concurrency rules can lead to challenges when making SwiftUI views conform to Equatable. Specifically, the == operator required for Equatable must be nonisolated, which means it cannot access @MainActor-isolated properties. This creates an error when trying to compare views with such properties: Error Example: struct MyView: View, Equatable { let title: String let count: Int static func ==(lhs: MyView, rhs: MyView) -> Bool { // Accessing `title` here would trigger an error due to actor isolation. return lhs.count == rhs.count } var body: some View { Text(title) } } Error Message: Main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode. Any suggestions? Thanks FB: FB15753655 (SwiftUI View cannot conform custom Equatable protocol in Swift 6.)
6
0
1k
Mar ’25
XCODE CLOUD Artifacts could not be found
After archiving no artifacts could be found but the release is in the Testflight, it has been happening since this morning. Do you have any ideas about how can I solve it? Thanks. @eskimo @meaton Update: The 501 (Not Implemented) status code indicates that the server does not support the functionality required to fulfill the request
Replies
3
Boosts
0
Views
1.1k
Activity
May ’24
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
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
721
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.3k
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
504
Activity
Feb ’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
904
Activity
Mar ’23
Adverbs of frequency, Dates
Hi community: Thanks for readme. I want to achieve get an adverb of frequency from a time interval or date component. So if I have something that measure one week, I want to get "weekly" as result, the same for 2 weeks "bi-weekly", month "monthly" and so on. Is there any foundation API to get it? Thanks in advance
Replies
3
Boosts
0
Views
1.1k
Activity
May ’23
Meaning of values Cert
Hi: I'm wondering about what means values s,i from cert object inside the property NSErrorPeerCertificateChainKey and NSErrorPeerCertificateChainKey in an SSLError: NSErrorPeerCertificateChainKey=( "<cert(0x1029c9e00) s: site.com i: Company Services>" I suppose that "i" is the certificate's issuer and "s" is the site, but something is strange here. I make a request to example.com and sometimes example.com does not appear on the certificate chain ... appearing Other sites and issuers not related to the certificate that example.com could have. I think that it is the cause of the error, but if you could explain to me which could be the cause of this strange situation would be nice. Thanks in advance
Replies
1
Boosts
0
Views
903
Activity
Aug ’23
Extensions and Widget localizations
Hi community: I'm experiencing an issue in iOS 17 where the Widgets and Extensions use the local device language instead of the app language (preferred languages displayed on the app settings). This issue was reproducible in iOS 16.1, but then was solved. Now it is back on iOS 17 and iOS 17.1 In terms of code, Locale.current in the app returns the language preference selection, even you can use bundle.main.preferredlanguages and get the first one (because there's a repetition from 2 to 3 times the same value) But in whatever extension, the app's preferred language cannot be got, it always returns the system's preferred language. @eskimo, Is it a known issue? Also, Xcode 15.3 shows 0 files localized when you use the strings catalog. I appreciate any help you can provide.
Replies
3
Boosts
0
Views
1.4k
Activity
Sep ’24
App Store app size vs real one
Hello: I was checking the app size on the AppStore and seems like it is randomly different from one app to others. For example one app shows 27.6MB in the App Store and then when you download the size is 51.9 MB and 2.5MB of documents and data whereas another marks 88.8MB and then when you download the size is 86.3 MB and 2.5MB How the AppStore calculate these sizes?
Replies
2
Boosts
0
Views
696
Activity
Sep ’24
SwiftUI View cannot conform custom Equatable protocol in Swift 6.
In Swift 6, stricter concurrency rules can lead to challenges when making SwiftUI views conform to Equatable. Specifically, the == operator required for Equatable must be nonisolated, which means it cannot access @MainActor-isolated properties. This creates an error when trying to compare views with such properties: Error Example: struct MyView: View, Equatable { let title: String let count: Int static func ==(lhs: MyView, rhs: MyView) -> Bool { // Accessing `title` here would trigger an error due to actor isolation. return lhs.count == rhs.count } var body: some View { Text(title) } } Error Message: Main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode. Any suggestions? Thanks FB: FB15753655 (SwiftUI View cannot conform custom Equatable protocol in Swift 6.)
Replies
6
Boosts
0
Views
1k
Activity
Mar ’25
Xcode 16.1 is not available in Xcode Cloud
Anyone with the same problem?
Replies
2
Boosts
0
Views
622
Activity
Nov ’24
Screen Time button customization
Hello community: Is there any way to change the button color of the screen time permission to match app style?
Replies
1
Boosts
0
Views
401
Activity
Nov ’24