objecthub / swift-numberkit

Advanced numeric data types for Swift 5, including BigInt, Rational, and Complex numbers.
Apache License 2.0
54 stars 15 forks source link

'StaticBigInt' is only available in iOS 16.4 or newer #20

Closed iosAnkit closed 6 months ago

iosAnkit commented 6 months ago

I am using hedera-swift-sdk which has dependency on numberkit library after updating the library I am getting this below error :- Not able to compile the code with swift-numberkit version 2.5.0 'StaticBigInt' is only available in iOS 16.4 or newer extension BigInt - line number: 1208

Screenshot 2024-04-17 at 11 08 42 AM
objecthub commented 6 months ago

I found a way to use StaticBigInt conditionally. Have removed the new platform requirements and prepared a new release. Can you please verify that your problem is solved with version 2.5.1 of swift-numberkit?

iosAnkit commented 6 months ago

Thanks @objecthub the latest release 2.5.1 is working for me.