Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译失败 #102

Closed
ElegantNorlin opened this issue Dec 3, 2021 · 6 comments
Closed

编译失败 #102

ElegantNorlin opened this issue Dec 3, 2021 · 6 comments

Comments

@ElegantNorlin
Copy link

编译的时候出现几个err:
xcode并没有注册开发者账号
然后还有一些包的错误

建议:希望作者大大能打包成app供我这样的新手学习呀

@ming1016
Copy link
Owner

ming1016 commented Dec 3, 2021

OAuth支持后就可以做成打包app了,已在todo列表里。

你提到问题可以通过把 Xcode 和 macOS 都需要升到最新版,如果遇到 swift package 下载不下来的情况,参看这个议题来解决:#88

@ElegantNorlin
Copy link
Author

谢谢大大回复
xcode和macOS(12.1apple M1 )已经是最新的了
开发者账号现在还没有,package是clashx开全局规则下载的
等大大放出app再用吧,自己编译条件还有点高
提前感谢大大!

@Andrew5
Copy link

Andrew5 commented Dec 17, 2021

Couldn’t get revision ‘0.13.1^{commit}’:
/Users/jabraknight/Downloads/SwiftPamphletApp-main/SwiftPamphletApp.xcodeproj Missing package product 'SQLite'
/Users/jabraknight/Downloads/SwiftPamphletApp-main/SwiftPamphletApp.xcodeproj Missing package product 'MarkdownUI'
出现了以上3个错误,导致无法编译通过

@ming1016
Copy link
Owner

Couldn’t get revision ‘0.13.1^{commit}’: /Users/jabraknight/Downloads/SwiftPamphletApp-main/SwiftPamphletApp.xcodeproj Missing package product 'SQLite' /Users/jabraknight/Downloads/SwiftPamphletApp-main/SwiftPamphletApp.xcodeproj Missing package product 'MarkdownUI' 出现了以上3个错误,导致无法编译通过

可以参考 #88 (comment)

@powenn
Copy link
Contributor

powenn commented Dec 19, 2021

编译的时候出现几个err: xcode并没有注册开发者账号 然后还有一些包的错误

建议:希望作者大大能打包成app供我这样的新手学习呀

可以不用付費開發者帳號,在本地設置好PAT後連點compile.command或是參考readme的action方法

@powenn
Copy link
Contributor

powenn commented Dec 19, 2021

谢谢大大回复
xcode和macOS(12.1apple M1 )已经是最新的了
开发者账号现在还没有,package是clashx开全局规则下载的
等大大放出app再用吧,自己编译条件还有点高
提前感谢大大!

補充個詳細,git clone 專案到本地,只須設定PAT(personal access token)就行,不用進xcode設定帳號,連點兩下compile.command就會造出app檔案,action則是設定PAT到你fork的repository中action設定action secrets,並命名為PAT,數值就是你的PAT很長一串那個,之後手動啟用action一次,等個三分鐘你就能下載檔案了

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

No branches or pull requests

4 participants