breez / breez-sdk-liquid

MIT License
18 stars 4 forks source link

Compilation Error: CancellationError can only be used in iOS 13+ but project targets iOS 12.4 #491

Closed afterburn closed 2 weeks ago

afterburn commented 2 weeks ago

BreezSDKLiquid.swift > uniffiCheckCallStatus gives the error CancellationError is only available in iOS 13.0 or newer but the library requires compilation with iOS 12.4 and will throw an error if its set to a higher version.

Using "@breeztech/react-native-breez-sdk-liquid": "^0.3.1-dev4",

afterburn commented 2 weeks ago

Turns out there I had a misconfiguration in my Podfile:

config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.4'

Changing it to the following resolved the issue:

config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'