Post

Replies

Boosts

Views

Activity

Error on Ventura 13.3 when trying to distribute Mac Catalyst app through AppStore
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?
1
1
980
Apr ’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
926
Mar ’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
1
0
712
Feb ’23
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
665
Nov ’22