AlphaWallet / AlphaWallet/alpha-wallet-ios

AlphaWallet does not build on Intel platform with Xcode 14

未關閉
#5,389 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Swift
星號
631
分支
384
PR 合併指標
30 天內沒有已合併 PR

描述

The following error occurred when trying to build on Intel with Xcode 14:
```
/Users/jerome/Documents/alpha-wallet-ios/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift:340:39: error build: The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions

internal static let EaseOutBack = { (elapsed: TimeInterval, duration: TimeInterval) -> Double in
let s: TimeInterval = 1.70158
var position: TimeInterval = elapsed / duration
position -= 1.0
return Double( position * position * ((s + 1.0) * position + s) + 1.0 )
}

Testing failed:
The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
Testing cancelled because the build failed.

** TEST FAILED **

The following build commands failed:
SwiftEmitModule normal x86_64 Emitting\ module\ for\ Charts (in target 'Charts' from project 'Pods')
(1 failure)
```

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。