Post

Replies

Boosts

Views

Activity

The app contains one or more corrupted binaries. Rebuild the app and resubmit.
I have been trying to update an app of which the code base hasn't changed in two years. It still builds fine and runs fine, on simulator and device, but... when uploading it to Testflight I get the error "The app contains one or more corrupted binaries. Rebuild the app and resubmit.". I have been rebuilding like a maniac, trying to look at what could be wrong with the binary, I let ChatGPT misguide me on the log files, I think I have tried everything... but to no avail. Any ideas how I could find out what goes wrong?
1
0
108
Oct ’25
Why does Combine assign crash when writing to an optional property?
This code crashes ("Unexpectedly found nil while unwrapping an Optional value") import Combine class Receiver { &#9;&#9;var value: Int! &#9;&#9;var cancellables = Set<AnyCancellable>([]) &#9;&#9;init(_ p: AnyPublisher<Int,Never>) { &#9;&#9;&#9;&#9;p.assign(to: \.value, on: self).store(in: &cancellables) &#9;&#9;} } let receiver = Receiver(Just(5).eraseToAnyPublisher()) It does not crash if I use p.sink { self.value = $0 }.store(in: &cancellables) instead of the assign, and it does not crash if I do not use an optional for the value-property. To me this looks like a bug in Swift's constructor code, but maybe I am overlooking something?
1
1
1.5k
Sep ’23
UIViewControllerInteractiveTransitioning for dismiss needs explicit setNeedsStatusBarAppearanceUpdate?
I have a UIViewControllerInteractiveTransitioning conforming class that animates the dismissing from the presented view controller (ViewControllerGreen) that prefers its status bar hidden to the presenting view controller (ViewControllerRed) that does not. The presentation is done with a modalPresentationStyle = .custom and modalPresentationCapturesStatusBarAppearance = true. The presenting view controller has a navigation controller and showing status bar. I would expect that after dismissing the presented view controller the status bar returns to the state it was in before presenting (i.e. status bar being shown), but this does not happen without an explicit call to setNeedsStatusBarAppearanceUpdate at the right time. Is there something wrong in my implementation of the InteractiveTransitioningControllerGreenToRed that triggers this? I created a code sample - https://github.com/ristkof/SO-interactivetransitioning/ that should compile and run on Xcode 12.4 targeting Simulator iOS 14.4. Thanks for any help.
0
0
643
Feb ’21