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

Signing Fails due to Fastlane Match #101

Open
adityadroid opened this issue Apr 10, 2020 · 1 comment
Open

Signing Fails due to Fastlane Match #101

adityadroid opened this issue Apr 10, 2020 · 1 comment
Labels
good first issue Good for newcomers

Comments

@adityadroid
Copy link

adityadroid commented Apr 10, 2020

I have been setup everything on my Bitrise CI environment as recommended by the documentation, but my run gets stuck on the Signing Step and eventually times out after 30 minutes. Here are the logs:

+ sylph
Starting Sylph run 'sylph run 2020-04-10 17:11:57.070' on AWS Device Farm ...
Config file: sylph.yaml
Unpacking sylph resources to /tmp/sylph
iOS build in CI environment detected. Unpacking related resources.
Creating test bundle for upload...
Test bundle created (size 50.3MB)
Running 'main suite' test suite...
Running tests concurrently on iOS pools...
Running test suite 'main suite'  in project 'myBrightlink' on pool 'ios pool 1'  with flavor dev...
Building debug .ipa from test_driver/main.dart with flavor dev...
# [REDACTED]:[REDACTED] SSH-2.0-babeld-ad297116
Successfully installed bundler-2.0.1
Parsing documentation for bundler-2.0.1
Installing ri documentation for bundler-2.0.1
Done installing documentation for bundler after 3 seconds
1 gem installed
Fetching gem metadata from https://rubygems.org/........
Using CFPropertyList 3.0.2
Using public_suffix 2.0.5
Using addressable 2.7.0
Using atomos 0.1.3
Using babosa 1.0.3
Using bundler 2.0.1
Using claide 1.0.3
Using colored 1.2
Using colored2 3.1.2
Using highline 1.7.10
Using commander-fastlane 4.4.6
Using declarative 0.0.10
Using declarative-option 0.1.0
Fetching digest-crc 0.4.1
Installing digest-crc 0.4.1
Fetching unf_ext 0.0.7.6
Installing unf_ext 0.0.7.6 with native extensions
Using unf 0.1.4
Using domain_name 0.5.20190701
Using dotenv 2.7.5
Using emoji_regex 1.0.1
Fetching excon 0.72.0
Installing excon 0.72.0
Using multipart-post 2.0.0
Using faraday 0.17.3
Using http-cookie 1.0.3
Using faraday-cookie_jar 0.0.6
Using faraday_middleware 0.13.1
Using fastimage 2.1.7
Using gh_inspector 1.1.3
Using jwt 2.1.0
Using memoist 0.16.2
Using multi_json 1.14.1
Fetching os 1.0.1
Installing os 1.0.1
Fetching signet 0.13.0
Installing signet 0.13.0
Using googleauth 0.11.0
Using httpclient 2.8.3
Using mini_mime 1.0.2
Using uber 0.1.0
Using representable 3.0.4
Using retriable 3.1.2
Using google-api-client 0.36.4
Fetching google-cloud-env 1.3.0
Installing google-cloud-env 1.3.0
Using google-cloud-errors 1.0.0
Using google-cloud-core 1.5.0
Using google-cloud-storage 1.25.1
Fetching json 2.3.0
Installing json 2.3.0 with native extensions
Using mini_magick 4.10.1
Using multi_xml 0.6.0
Using plist 3.5.0
Using rubyzip 1.3.0
Using security 0.1.3
Using naturally 2.2.0
Using simctl 1.6.8
Using slack-notifier 2.3.2
Using terminal-notifier 2.0.0
Fetching unicode-display_width 1.6.1
Installing unicode-display_width 1.6.1
Using terminal-table 1.8.0
Using tty-screen 0.7.1
Using tty-cursor 0.7.1
Using tty-spinner 0.9.3
Using word_wrap 1.0.0
Using nanaimo 0.2.6
Using xcodeproj 1.15.0
Using rouge 2.0.7
Using xcpretty 0.3.0
Using xcpretty-travis-formatter 1.0.0
Fetching fastlane 2.142.0
Installing fastlane 2.142.0
Bundle complete! 1 Gemfile dependency, 65 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
[17:12:35]: fastlane detected a Gemfile in the current directory
[17:12:35]: However, it seems like you didn't use `bundle exec`
[17:12:35]: To launch fastlane faster, please use
[17:12:35]: 
[17:12:35]: $ bundle exec fastlane enable_match_code_signing mode:debug
[17:12:35]: 
[17:12:35]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[17:12:41]: Sending anonymous analytics information
[17:12:41]: Learn more at https://docs.fastlane.tools/#metrics
[17:12:41]: No personal or sensitive data is sent.
[17:12:41]: You can disable this by adding `opt_out_usage` at the top of your Fastfile
[17:12:41]: ---------------------------
[17:12:41]: --- Step: opt_out_usage ---
[17:12:41]: ---------------------------
[17:12:41]: Disabled upload of used actions
[17:12:41]: ------------------------------
[17:12:41]: --- Step: default_platform ---
[17:12:41]: ------------------------------
[17:12:41]: --------------------------
[17:12:41]: --- Step: setup_travis ---
[17:12:41]: --------------------------
[17:12:41]: Creating temporary keychain: "fastlane_tmp_keychain".
[17:12:42]: $ security list-keychains -d user
[17:12:42]: ▸ "/Users/vagrant/Library/Keychains/login.keychain-db"
[17:12:42]: ▸ "/Users/vagrant/Library/Keychains/login.keychain-db"
[17:12:42]: Enabling match readonly mode.
[17:12:42]: Driving the lane 'ios enable_match_code_signing' 🚀
[17:12:42]: signing_type: development
[17:12:42]: build_configuration: Debug
[17:12:42]: profile_name: sigh_org.[REDACTED].mybrightlink.dev_development_profile-path
[17:12:42]: app_identifier: org.[REDACTED].mybrightlink.dev
[17:12:42]: Retrieving signing certificates and profiles...
@mmcc007
Copy link
Owner

mmcc007 commented Apr 11, 2020

The iOS debug build has been tested on travis but not on Bitrise. They both handle temp keychains differently.
On Travis:
https://travis-ci.com/github/mmcc007/sylph/jobs/292534990#L440
On Bitrise:
https://docs.fastlane.tools/best-practices/continuous-integration/bitrise/

It might work if you are able to tweak Bitrise env correctly. Otherwise may require change to fastlane script.

@mmcc007 mmcc007 added the good first issue Good for newcomers label Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants