作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试将我们的 iOS CI 转移到 github 操作,但我遇到了一些构建问题。这些问题(faSTLane 只是在健身房运行时挂起)似乎在使用 match 时出现。
这是让我认为它与钥匙串(keychain)相关的日志
WARN [2019-09-26 13:46:14.52]: Could not configure imported keychain item (certificate) to prevent UI permission popup when code signing
Check if you supplied the correct `keychain_password` for keychain: `/Users/runner/Library/Keychains/login.keychain-db`
security: SecKeychainItemSetAccessWithPassword: The user name or passphrase you entered is not correct.
create_keychain(
name: "actiontest_keychain",
password: "meow",
default_keychain: true,
unlock: true,
timeout: 3600,
lock_when_sleeps: false
)
match(
type: "appstore",
readonly: is_ci,
keychain_name: "actiontest_keychain",
keychain_password: "meow"
)
最佳答案
可能有点晚了,不过我觉得值得一提的是有一个好用的快车道 Action setup_ci以此目的:
说明
Setup the keychain and match to work with CI
- Creates a new temporary keychain for use with match
- Switches match to readonly mode to not create new profiles/cert on CI
- Sets up log and test result paths to be easily collectible
lane :build_release do
setup_ci
sync_code_signing(
type: "appstore",
readonly: is_ci
)
build_app
end
match
存储是最新的并且您配置了
手签用于发布构建。否则
match
可能会尝试使用错误的签名身份对您的应用程序进行签名,这将失败;)
关于ios - Github action macos 钥匙串(keychain)访问,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58118395/
我是一名优秀的程序员,十分优秀!