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.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
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?
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.)
Anyone with the same problem?
Hello community:
Is there any way to change the button color of the screen time permission to match app style?
Hi community:
I'm getting an error when I try to distribute Mac Catalyst app through AppStore. This not happened with Ventura 13.3 RC(yesterday in Xcode cloud), same Xcode version (14.2)
I'm thinking that maybe is problem related to Xcode cloud (because in local works fine same archive but signed and uploaded from local), but I don't know
NSLocalizedRecoverySuggestion=Multiple binaries share the same codesign path
...
Binaries:
/Applications/exampleApp.app/Contents/Frameworks/NewFramework.framework/NewFramework
/Applications/exampleApp.app/Contents/Frameworks/NewFramework.framework/Versions/Current/NewFramework
This can happen if your build process copies frameworks by following symlinks. }
Anyone came across with that and resolve it?
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
macOS
App Store Connect
Mac Catalyst
Xcode Cloud
Hi community:
I'm coming across two error types on Xcode cloud during ui tests.
encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted. (Underlying Error: Test crashed with signal kill before starting test execution. If you believe this error represents a bug, please attach the result bundle at /Volumes/workspace/resultbundlexcresult))
encountered an error (Failed to prepare device 'Clone 7 of iPhone 14 Pro' for impending launch. If you believe this error represents a bug, please attach the result bundle at /Volumes/workspace/ resultbundle.xcresult. (Underlying Error: Unable to boot the Simulator. launch failed to respond. (Underlying Error: Failed to start launch_ sim: could not bind to session, launchd_sim may have crashed or quit responding)))
Any ideas on how to solve them?
Thanks
Hi community:
I found that after Xcode update from 14.3.1 to 15.0.1, my UITests fail only on the CI (Apple Xcode Cloud) because the use of boundElementsByIndex.
Seems that the use of this property stale the main thread:
Failed to resolve query: Unable to perform work on main run loop, process main thread busy for 30.0s
Is it a known issue?
Thanks
Hi community:
Is there any way to create a Privacy report from the command line?
Thanks
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
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.
Is there any way to show the status bar on a SwiftUI Preview?.
Right now I'm using Xcode 14.2.0
Thanks in advance.
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
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.
Hi:
I wanted to use a redeem code for an app available on MacOS and iOS, from the Mac appstore, but an error is shown.
Is this a bug?
Can we provide codes to redeem for our Mac users?
Thanks in advance