Open asafbaibekov opened 5 months ago
I'm having the same problem. Xcode 15.3 CRToast - Version 0.0.9
It is not advisable to address this compilation error by manually inserting the type declaration into the source code. Instead, I recommend downgrading from C99 to C98 by applying this exclusive build setting to CRToast.
If you are using CocoaPods, appending this section to the Podfile will make it easier to maintain:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
# Workaround for https://github.com/cruffenach/CRToast/issues/240
if target.name == 'CRToast'
config.build_settings['GCC_C_LANGUAGE_STANDARD'] = 'gnu89'
end
end
end
end
CRToast - Version 0.0.9