I upgraded my xcode to 11.4 yesterday, now I can not archive my SwiftUI code to submit appstore, because error: "error: Segmentation fault: 11", "xxx-master.dia:1:1: Could not read serialized diagnostics file: Cannot Load File: Failed to open diagnostics file".
Any advices?
Archiver continuing ORACLE Instance PRD - Archival Error. Archiver continuing. The archivelogs shipping is working fine, just checked if they are automatically applied on standby --- and no issues. It is definitely not an archiving file system full. If it was the case then you would see archiver stuck messages in the alert log.
This command will show you where your archivelogs are being written to: If the ‘log_archive_dest’ parameter is empty then you are most likely using a ‘db_recovery_file_dest’ to store your archivelogs. You can run the below command to see that location.
These include “not a RAR file,” “RAR archive could not be decompressed entirely,” and other errors that appear while extracting RAR files. Yodot is compatible with Windows 2003, Server 2008, XP, and Vista, 7, 8, 8.1, and 10 OS.
The error is basically trying to tell us that we have run out of logical or physical space on our ASM diskgroup, mount, local disk, or db_recovery_file_dest location where our archivelogs are being stored.
I root caused my occurrence of this error to usage of 'Self' in a class func for a XIB UIView. The error happened for me in XCode 11.5 and only the release build of the project. So, looks like the issue is in -O compilation. (It looks like the academic project named Swift has rediscovered the useful concept of Self)
THE EXAMPLE BELOW CAUSES segfault 11, FIXED BY REPLACING THE THREE "Self" WITH CLASS NAME "StyleHSView":
class StyleHSView: UIStackView, UITextFieldDelegate {
@IBOutlet weak var styleNameTF: UITextField!
@IBOutlet weak var urlTF: UITextField!
// THIS FUNC CAUSES segfault 11, fix by changing Self to class name StyleHSView.
class func Instantiate() -> Self {
let nib = UINib.init(nibName: "StyleHSView", bundle: nil)
if let view = nib.instantiate(withOwner: nil, options: nil).first(where: { return $0 is Self }) as? Self
{
return view
} else {
fatalError("No StyleHSView")
}
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With