@jlilest
Yes, we cleaned up the build directory DerivedData, including using Xcode's Clean Build (Command + Shift + K, Command + Option + Shift + K), and we still get this error.
This error is only available in Xcode 12 Release up to and including Beta.
Post
Replies
Boosts
Views
Activity
@DoxxerApple
Yeah, this worked for me.
But I would like to know why, after all, the whole module compilation is too slow.
I solved the problem, I think it was an xcode12 bug.
Old Codes:
extension UIWindow.Level {
private static var statusBarRawValue: RawValue { UIWindow.Level.statusBar.rawValue }
}
New Codes:
extension UIWindow.Level {
private static var statusBarRawValue: CGFloat { UIWindow.Level.statusBar.rawValue }
}
I ran into the same thing, which has now been resolved.
Download xcframework.zip, then move it to the root of a package(any package) and use swift package compute-checksum.
Same problem!
Xcode 12.2
macOS Big Sur 11.0.1
@zocario
It's fine. But I got a new error, the XCFramework is embedded in the app as a dynamic library.
Soooo, I can't upload app to App Store or export app to local. (error: exportArchive: Found an unexpected Mach-O header code: 0x72613c21)
Like this, actually, it is will give me:
viewDidLoad()
instead of:
override func viewDidLoad() { }
**** YOU Xcode.
Code-completion always gives an error selection
From security considerations, you should not connect to the remote database directly in the application.
If you are only locally stored, you can consider using a cross-platform RealmSwift.
I found another solution. If you use Swift, you can set encoding with .isoLatin1
// codes
let data = Data(base64Encoded: profileContent)
let outputStr = String(data: data!, encoding: .isoLatin1)
try outputStr?.write(to: saveUrl, atomically: true, encoding: .isoLatin1)
it works fine in my application~