1

我正在尝试使用sigh,我有点困惑。当我键入以下行时:

sigh username:"me@example.com" app_identifier:"com.example"

它使用我的用户名登录,然后给我提示:

[21:19:44]: Successfully logged in
[21:19:44]: Fetching profiles...
[21:19:44]: To not be asked about this value, you can specify it using 'app_identifier'
The bundle identifier of your app:

当我键入以下行时:

 sigh -a com.example -u me@example.com

我没有得到提示。我在第一个做错了什么?据我所知,第一个是我可以在fastlane文件中使用的自动化,这就是为什么这很重要。我阅读了以下内容:

https://github.com/fastlane/fastlane/tree/master/sigh

以及sigh --help文档。

我的车道定义如下:

  desc "Get the provisioning profiles for the app"
  lane :sign do |options|
    apple_id = CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)
    team_id = CredentialsManager::AppfileConfig.try_fetch_value(:team_id)
    cert(username: apple_id, team_id: team_id)
    sigh(app_identifier: options[:bundle_id], username: apple_id)
  end

sigh我得到相同提示的部分。有没有办法删除它?

更新

以下作品:

sigh --username "me@example.com" --app_identifier "com.example"

但我希望它在fastlane. 我在那里做错了什么?

4

2 回答 2

0

原来原因是我有一些AppfileFastlane 不喜欢的数据。它没有显示正确的错误消息,但我又放了一个它无法识别的变量,因此它失败了。

我了解到 Fastlane 的一件事是它运行良好,但有时错误很难调试。确保正确阅读文档!

于 2016-07-23T07:27:10.777 回答
0
sigh username:"me@example.com" app_identifier:"com.example"

不支持该语法,而是从命令行尝试以下操作

sigh --username "me@example.com" --app_identifier "com.example"

从你的做同样的事情Fastfile

sigh(username: "me@example.com", app_identifier: "com.example")
于 2016-07-13T08:27:22.207 回答