Post

Replies

Boosts

Views

Activity

Reply to Installing macOS Big Sur beta
Steffen's solution worked for me as well. Thanks much. To recap, in Terminal enter sudo /System/Library/PrivateFrameworks/Seeding.framework/Versions/A/Resources/seedutil unenroll sudo /System/Library/PrivateFrameworks/Seeding.framework/Versions/A/Resources/seedutil enroll DeveloperSeed Then, in System Preferences, open Software Update and wait a few seconds. "macOS Big Sur Beta" shows up.
Jul ’20
Reply to Regex expression in .split generates cannot convert type
I can reproduce the problem in a playground in Xcode 14A5228q on macOS 13 (22A5266r). I moved the Regex declaration to a separate line to rule out a parsing problem in the compiler front-end: let transaction = "DEBIT     03/05/2022    Doug's Dugout Dogs         $33.27" let r = /\s{2,}|\t/ let fragments = transaction.split(separator: r) The error message Cannot convert value of type 'Regex<Substring>' to expected argument type 'String.Element' (aka 'Character') is shown for line 3. Looks like String is missing a variant of split(separator:...) that accepts a Regex. There is no such function in the doc pages either. Another problem I'm having with Regex in Xcode 14A5228q, is that the parsing of the compact notation fails in my Swift package project. That is, if I copy the above three lines from the playground into my project, there will be an error in line 2 because the compiler fails to recognize / as a Regex start token.
Jun ’22