Dimillian / RedditOS

The product name is Curiosity, a SwiftUI Reddit client for macOS Big Sur
Apache License 2.0
3.95k stars 199 forks source link

Crashing on startup on 2017 iMac macOS 11.0 Beta (20A5354i) #15

Closed sanj0 closed 3 years ago

sanj0 commented 4 years ago

terminal output when running the executable directly:

dyld: Symbol not found: _$s7SwiftUI12ProgressViewVyxGAA0D0AAMc
  Referenced from: /Applications/Curiosity.app/Contents/MacOS/./Curiosity
  Expected in: /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI
 in /Applications/Curiosity.app/Contents/MacOS/./Curiosity
zsh: abort      ./Curiosity
sanj0 commented 4 years ago

Nevermind, didn't have XCode 12 beta installed, will likely work after I did (12GB to download wth)

sanj0 commented 4 years ago

Installed XCode Beta 12, still getting the same error: Termination Reason: DYLD, [0x4] Symbol missing

Application Specific Information: dyld: launch, loading dependent libraries

Dyld Error Message: Symbol not found: _$s7SwiftUI12ProgressViewVyxGAA0D0AAMc Referenced from: /Applications/Curiosity.app/Contents/MacOS/Curiosity Expected in: /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI in /Applications/Curiosity.app/Contents/MacOS/Curiosity

chfanghr commented 3 years ago

I ran into this issue today. This maybe related to an issue mentioned in the macOS Big Sur 11 Beta 6 Release Notes:

ProgressView generic type signature has changed, adding the currentValueLabel generic parameter. This change doesn’t require any source changes, but will cause apps compiled using an earlier beta SDK to quit unexpectedly. (63580200)

Workaround: Re-compile apps for macOS Big Sur 11 Beta 6 or later to resolve this issue.
chfanghr commented 3 years ago

BTW, I got tons of compilation errors trying to build this project in xcode 12.0 beta3: image

sanj0 commented 3 years ago

Fixed with the new 0.1 release and in Big Sur beta 20A5374i