Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

mac m1 run ios-framework-build.sh error #127

Open
skywancen opened this issue Apr 13, 2023 · 2 comments
Open

mac m1 run ios-framework-build.sh error #127

skywancen opened this issue Apr 13, 2023 · 2 comments

Comments

@skywancen
Copy link

使用mac m1 执行 cargo install cargo-lipo 失败,查看文档使用下面的命令重新安装了rustup.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
重装的版本是 1.68.2.
然后执行到 Run tools/ios-framework-build.sh 的时候,提示:

[ERROR cargo_lipo] cargo_metadata failed: error during execution of cargo metadata: error: failed to load manifest for workspace member xxx/token-core/tcx-substrate

Caused by:
failed to parse manifest at xxx/token-core/tcx-substrate/Cargo.toml

Caused by:
key branch is ignored for dependency (codec).

请问怎么解决呢?

@skywancen
Copy link
Author

移除codec的branch后解决了。

@skywancen skywancen reopened this Apr 13, 2023
@skywancen
Copy link
Author

能出个在mac m1下编译的教程吗?后面还是报错了:
error: could not find native static library ff-derive-crypto, perhaps an -L flag is missing?
error: could not compile fff due to previous error

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant