hashgraph / hedera-sdk-swift

Hedera™ SDK for Swift
Apache License 2.0
27 stars 11 forks source link

Ambiguous use of 'init(_:)' #389

Open ramesh-aureus opened 2 months ago

ramesh-aureus commented 2 months ago

Description

I am getting alot of these kinds of issues..

Swift Compiler Error (Xcode): Ambiguous use of 'init(_:)' /Users/darkness/Library/Developer/Xcode/DerivedData/Runner-dvtigcgisdkkghcsrzomqcuqdlmc/SourcePackages/checkouts/hedera-sdk-swift/Sources/Hedera/SolidityAddress.swift:39:24

Swift Compiler Error (Xcode): Ambiguous use of 'init(_:)' /Users/darkness/Library/Developer/Xcode/DerivedData/Runner-dvtigcgisdkkghcsrzomqcuqdlmc/SourcePackages/checkouts/hedera-sdk-swift/Sources/Hedera/StakingInfo.swift:71:27

Swift Compiler Error (Xcode): Ambiguous use of 'init(_:)' /Users/darkness/Library/Developer/Xcode/DerivedData/Runner-dvtigcgisdkkghcsrzomqcuqdlmc/SourcePackages/checkouts/hedera-sdk-swift/Sources/Hedera/SystemDeleteTransaction.swift:50:52

Swift Compiler Error (Xcode): Ambiguous use of 'init(_:)' /Users/darkness/Library/Developer/Xcode/DerivedData/Runner-dvtigcgisdkkghcsrzomqcuqdlmc/SourcePackages/checkouts/hedera-sdk-swift/Sources/Hedera/Timestamp.swift:19:33

Swift Compiler Error (Xcode): Ambiguous use of 'init(_:)' /Users/darkness/Library/Developer/Xcode/DerivedData/Runner-dvtigcgisdkkghcsrzomqcuqdlmc/SourcePackages/checkouts/hedera-sdk-swift/Sources/Hedera/Timestamp.swift:46:18

Swift Compiler Error (Xcode): Ambiguous use of 'init(_:)' /Users/darkness/Library/Developer/Xcode/DerivedData/Runner-dvtigcgisdkkghcsrzomqcuqdlmc/SourcePackages/checkouts/hedera-sdk-swift/Sources/Hedera/Timestamp.swift:52:35

Swift Compiler Error (Xcode): Ambiguous use of 'init(_:)' /Users/darkness/Library/Developer/Xcode/DerivedData/Runner-dvtigcgisdkkghcsrzomqcuqdlmc/SourcePackages/checkouts/hedera-sdk-swift/Sources/Hedera/Timestamp.swift:85:27

Swift Compiler Error (Xcode): Ambiguous use of 'init(_:)' /Users/darkness/Library/Developer/Xcode/DerivedData/Runner-dvtigcgisdkkghcsrzomqcuqdlmc/SourcePackages/checkouts/hedera-sdk-swift/Sources/Hedera/Token/NftId.swift:85:20

Swift Compiler Error (Xcode): Ambiguous use of 'init(_:)' /Users/darkness/Library/Developer/Xcode/DerivedData/Runner-dvtigcgisdkkghcsrzomqcuqdlmc/SourcePackages/checkouts/hedera-sdk-swift/Sources/Hedera/Token/TokenAllowance.swift:23:20

Swift Compiler Error (Xcode): Ambiguous use of 'init(_:)' /Users/darkness/Library/Developer/Xcode/DerivedData/Runner-dvtigcgisdkkghcsrzomqcuqdlmc/SourcePackages/checkouts/hedera-sdk-swift/Sources/Hedera/Account/AccountBalance.swift:117:28

Swift Compiler Error (Xcode): Ambiguous use of 'init(_:)' /Users/darkness/Library/Developer/Xcode/DerivedData/Runner-dvtigcgisdkkghcsrzomqcuqdlmc/SourcePackages/checkouts/hedera-sdk-swift/Sources/Hedera/Account/AccountCreateTransaction.swift:69:32

Swift Compiler Error (Xcode): Ambiguous use of 'init(_:)' /Users/darkness/Library/Developer/Xcode/DerivedData/Runner-dvtigcgisdkkghcsrzomqcuqdlmc/SourcePackages/checkouts/hedera-sdk-swift/Sources/Hedera/Account/AccountCreateTransaction.swift:286:35

Swift Compiler Error (Xcode): Ambiguous use of 'init(_:)' /Users/darkness/Library/Developer/Xcode/DerivedData/Runner-dvtigcgisdkkghcsrzomqcuqdlmc/SourcePackages/checkouts/hedera-sdk-swift/Sources/Hedera/Account/AccountId.swift:139:16

Swift Compiler Error (Xcode): Ambiguous use of 'init(_:)' /Users/darkness/Library/Developer/Xcode/DerivedData/Runner-dvtigcgisdkkghcsrzomqcuqdlmc/SourcePackages/checkouts/hedera-sdk-swift/Sources/Hedera/Account/AccountId.swift:140:16

Swift Compiler Error (Xcode): Type of expression is ambiguous without a type annotation /Users/darkness/Library/Developer/Xcode/DerivedData/Runner-dvtigcgisdkkghcsrzomqcuqdlmc/SourcePackages/checkouts/hedera-sdk-swift/Sources/Hedera/Account/AccountInfo.swift:180:9

Swift Compiler Error (Xcode): Ambiguous use of 'init(_:)' /Users/darkness/Library/Developer/Xcode/DerivedData/Runner-dvtigcgisdkkghcsrzomqcuqdlmc/SourcePackages/checkouts/hedera-sdk-swift/Sources/Hedera/Account/AccountInfo.swift:213:28

Swift Compiler Error (Xcode): Ambiguous use of 'init(_:)' /Users/darkness/Library/Developer/Xcode/DerivedData/Runner-dvtigcgisdkkghcsrzomqcuqdlmc/SourcePackages/checkouts/hedera-sdk-swift/Sources/Hedera/Account/AccountUpdateTransaction.swift:47:23

Swift Compiler Error (Xcode): Ambiguous use of 'max' /Users/darkness/Library/Developer/Xcode/DerivedData/Runner-dvtigcgisdkkghcsrzomqcuqdlmc/SourcePackages/checkouts/hedera-sdk-swift/Sources/Hedera/Account/AccountUpdateTransaction.swift:277:30

Steps to reproduce

1) Add thew swift package 2) run the app

Additional context

No response

Hedera network

mainnet

Version

latest

Operating system

macOS