{"action":"opened","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/9182","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/9182/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/9182/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/9182/events","html_url":"https://github.com/fastlane/fastlane/issues/9182","id":229074252,"number":9182,"title":"ERROR Failure to decode and install provisioning profile Jenkins","user":{"login":"jlfeck","id":4379708,"avatar_url":"https://avatars0.githubusercontent.com/u/4379708?v=3","gravatar_id":"","url":"https://api.github.com/users/jlfeck","html_url":"https://github.com/jlfeck","followers_url":"https://api.github.com/users/jlfeck/followers","following_url":"https://api.github.com/users/jlfeck/following{/other_user}","gists_url":"https://api.github.com/users/jlfeck/gists{/gist_id}","starred_url":"https://api.github.com/users/jlfeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlfeck/subscriptions","organizations_url":"https://api.github.com/users/jlfeck/orgs","repos_url":"https://api.github.com/users/jlfeck/repos","events_url":"https://api.github.com/users/jlfeck/events{/privacy}","received_events_url":"https://api.github.com/users/jlfeck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-16T15:27:10Z","updated_at":"2017-05-16T15:27:10Z","closed_at":null,"body":"### New Issue Checklist\r\n\r\n- [ ] Updated fastlane to the latest version\r\n- [ ] I have read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n\r\n### Issue Description\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n> You can use: `--capture_output` as the last commandline argument to get that collected for you\r\n\r\nINFO [2017-05-16 12:16:07.36]: Installing provisioning profile...\r\nERROR [2017-05-16 12:16:07.39]: Failure to decode /var/folders/t6/wzlv2fwn09s5y1p_ly2n528h0000gy/T/d20170516-34017-3lwtmb/profiles/appstore/AppStore_[App ID].mobileprovision. Exit: 1: security: SecPolicySetValue: One or more parameters passed to a function were not valid.\r\nsecurity: cert import failed: write permissions error\r\nsecurity: problem decoding\r\n\r\nERROR [2017-05-16 12:16:07.39]: Error parsing provisioning profile at path '/var/folders/t6/wzlv2fwn09s5y1p_ly2n528h0000gy/T/d20170516-34017-3lwtmb/profiles/appstore/AppStore_[App ID].mobileprovision'\r\n\r\n### Environment\r\n\r\nPlease run `fastlane env` and copy the output below. This will help us help you :+1:\r\nIf you used `--capture_output` option please remove this block - as it is already included there.\r\n\r\n<details><summary>✅ fastlane environment ✅</summary>\r\n\r\n### Stack\r\n\r\n| Key                         | Value                                       |\r\n| --------------------------- | ------------------------------------------- |\r\n| OS                          | 10.12.4                                     |\r\n| Ruby                        | 2.4.1                                       |\r\n| Bundler?                    | false                                       |\r\n| Git                         | git version 2.10.1                          |\r\n| Installation Source         | /usr/local/bin/fastlane                     |\r\n| Host                        | Mac OS X 10.12.4 (16E195)                   |\r\n| Ruby Lib Dir                | /usr/local/Cellar/ruby/2.4.1_1/lib          |\r\n| OpenSSL Version             | OpenSSL 1.0.2k  26 Jan 2017                 |\r\n| Is contained                | false                                       |\r\n| Is homebrew                 | false                                       |\r\n| Is installed via Fabric.app | false                                       |\r\n| Xcode Path                  | /Applications/Xcode.app/Contents/Developer/ |\r\n| Xcode Version               | 8.3.2                                       |\r\n\r\n\r\n### System Locale\r\n\r\n| Variable | Value       |   |\r\n| -------- | ----------- | - |\r\n| LANG     | en_US.UTF-8 | ✅ |\r\n| LC_ALL   | en_US.UTF-8 | ✅ |\r\n| LANGUAGE | en_US.UTF-8 | ✅ |\r\n\r\n\r\n### fastlane files:\r\n\r\n<details><summary>`./fastlane/Fastfile`</summary>\r\n\r\n```ruby\r\nfastlane_version \"2.28.8\"\r\n\r\ndefault_platform :ios\r\n\r\nplatform :ios do\r\n  before_all do\r\n    cocoapods\r\n    sh 'mkdir ../build || true'\r\n    sh 'mkdir ../reports || true'\r\n  end\r\n\r\n  # desc \"Clean keychain\"\r\n  # lane :keychain do\r\n  #     delete_keychain(name: \"name\")\r\n  # end\r\n\r\n  desc \"Runs all the tests\"\r\n  lane :test do\r\n\r\n    args = {\r\n      scheme: \"App\",\r\n      clean: true,\r\n      code_coverage: true,\r\n      output_types: \"html\",\r\n      output_directory: \"reports\"\r\n    }\r\n\r\n    scan(args)\r\n  end\r\n\r\n  desc \"Build project\"\r\n  lane :build do |options|\r\n    unlock_keychain(path: \"login.keychain-db\", password: \"password\")\r\n    # create_keychain(\r\n    #   name: \"ios\",\r\n    #   default_keychain: true,\r\n    #   unlock: true,\r\n    #   timeout: 3600,\r\n    #   password: \"password\",\r\n    #   lock_when_sleeps: true\r\n    # )\r\n\r\n    sh \"plutil -replace CFBundleSupportedPlatforms -string '' ../Pods/Backbase/BackbaseAssets.bundle/Info.plist\"\r\n\r\n    # Set default build number for local builds\r\n  \tbuild_number = \"0.0.0.17\"\r\n    version_number = \"0.0.2\"\r\n\r\n  \t# Read in value in case the user has specified input params\r\n  \tif options[:build_number]\r\n  \t\tbuild_number = \"0.0.0.\" + options[:build_number]\r\n  \tend\r\n\r\n    if options[:version_number]\r\n  \t\tversion_number = options[:version_number]\r\n  \tend\r\n\r\n    increment_build_number(\r\n  \t\tbuild_number: build_number,\r\n  \t\txcodeproj: \"App.xcodeproj\"\r\n  \t)\r\n\r\n  \tincrement_version_number(\r\n   \t\tversion_number: version_number,\r\n    \txcodeproj: \"App.xcodeproj\"\r\n  \t)\r\n\r\n    args = {\r\n      workspace: \"App.xcworkspace\",\r\n      configuration: \"Release\",\r\n      scheme: \"App\",\r\n  \t\tclean: true,\r\n  \t\toutput_directory: \"build/\",\r\n      output_name: \"app-\" + version_number + \".ipa\"\r\n\r\n    }\r\n    # match(app_identifier: \"[App ID]\", type: \"appstore\")\r\n    disable_automatic_code_signing(path: \"App.xcodeproj\")\r\n    match(app_identifier: \"[App ID]\", type: \"appstore\", readonly: true)\r\n    gym(args)\r\n    testflight(skip_waiting_for_build_processing: true)\r\n  end\r\n  # desc \"Submit a new Beta Build to Apple TestFlight\"\r\n  # desc \"This will also make sure the profile is up to date\"\r\n  # lane :beta do\r\n  #   # match(type: \"appstore\") # more information: https://codesigning.guide\r\n  #   gym # Build your app - more options available\r\n  #   pilot\r\n  #\r\n  #   # sh \"your_script.sh\"\r\n  #   # You can also use other beta testing services here (run `fastlane actions`)\r\n  # end\r\n  #\r\n  # desc \"Deploy a new version to the App Store\"\r\n  # lane :release do\r\n  #   # match(type: \"appstore\")\r\n  #   # snapshot\r\n  #   gym # Build your app - more options available\r\n  #   deliver(force: true)\r\n  #   # frameit\r\n  # end\r\n\r\n  # You can define as many lanes as you want\r\n\r\n  after_all do |lane|\r\n    # This block is called, only if the executed lane was successful\r\n\r\n    # slack(\r\n    #   message: \"Successfully deployed new App Update.\"\r\n    # )\r\n    hipchat(\r\n      api_token: \"TOKEN\",\r\n      api_host: \"URL\",\r\n      message: \"sucesso\",\r\n      message_format: \"html\", # or \"text\", defaults to \"html\"\r\n      channel: \"@USER\",\r\n      success: true\r\n    )\r\n  end\r\n\r\n  error do |lane, exception|\r\n    # slack(\r\n    #   message: exception.message,\r\n    #   success: false\r\n    # )\r\n\r\n    hipchat(\r\n      api_token: \"TOKEN\",\r\n      api_host: \"URL\",\r\n      message: \"erro\",\r\n      message_format: \"html\", # or \"text\", defaults to \"html\"\r\n      channel: \"@USER\",\r\n      success: false\r\n    )\r\n  end\r\nend\r\n\r\n\r\n# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md\r\n# All available actions: https://docs.fastlane.tools/actions\r\n\r\n# fastlane reports which actions are used\r\n# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer\r\n```\r\n</details>\r\n\r\n<details><summary>`./fastlane/Appfile`</summary>\r\n\r\n```ruby\r\napp_identifier \"[App ID]\" # The bundle identifier of your app\r\napple_id \"[Apple ID]\" # Your Apple email address\r\n\r\nteam_id \"TEAM_ID\" # Developer Portal Team ID\r\n\r\n# you can even provide different app identifiers, Apple IDs and team names per lane:\r\n# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md\r\n```\r\n</details>\r\n\r\n### fastlane gems\r\n\r\n| Gem      | Version | Update-Status |\r\n| -------- | ------- | ------------- |\r\n| fastlane | 2.30.2  | ✅ Up-To-Date  |\r\n\r\n\r\n### Loaded fastlane plugins:\r\n\r\n**No plugins Loaded**\r\n\r\n\r\n<details><summary><b>Loaded gems</b></summary>\r\n\r\n| Gem                       | Version      |\r\n| ------------------------- | ------------ |\r\n| did_you_mean              | 1.1.0        |\r\n| slack-notifier            | 1.5.1        |\r\n| CFPropertyList            | 2.3.5        |\r\n| claide                    | 1.0.1        |\r\n| colored2                  | 3.1.2        |\r\n| nanaimo                   | 0.2.3        |\r\n| xcodeproj                 | 1.4.4        |\r\n| rouge                     | 2.0.7        |\r\n| xcpretty                  | 0.2.7        |\r\n| terminal-notifier         | 1.7.2        |\r\n| unicode-display_width     | 1.1.3        |\r\n| terminal-table            | 1.7.3        |\r\n| plist                     | 3.3.0        |\r\n| public_suffix             | 2.0.5        |\r\n| addressable               | 2.5.1        |\r\n| multipart-post            | 2.0.0        |\r\n| word_wrap                 | 1.0.0        |\r\n| tty-screen                | 0.5.0        |\r\n| babosa                    | 1.0.2        |\r\n| colored                   | 1.2          |\r\n| highline                  | 1.7.8        |\r\n| commander-fastlane        | 4.4.4        |\r\n| excon                     | 0.55.0       |\r\n| faraday                   | 0.12.1       |\r\n| unf_ext                   | 0.0.7.4      |\r\n| unf                       | 0.1.4        |\r\n| domain_name               | 0.5.20170404 |\r\n| http-cookie               | 1.0.3        |\r\n| faraday-cookie_jar        | 0.0.6        |\r\n| fastimage                 | 2.1.0        |\r\n| gh_inspector              | 1.0.3        |\r\n| uber                      | 0.0.15       |\r\n| representable             | 2.3.0        |\r\n| retriable                 | 2.1.0        |\r\n| mime-types-data           | 3.2016.0521  |\r\n| mime-types                | 3.1          |\r\n| hurley                    | 0.2          |\r\n| little-plugger            | 1.1.4        |\r\n| multi_json                | 1.12.1       |\r\n| logging                   | 2.2.2        |\r\n| jwt                       | 1.5.6        |\r\n| memoist                   | 0.15.0       |\r\n| os                        | 0.9.6        |\r\n| signet                    | 0.7.3        |\r\n| googleauth                | 0.5.1        |\r\n| httpclient                | 2.8.3        |\r\n| google-api-client         | 0.9.28       |\r\n| json                      | 2.0.2        |\r\n| mini_magick               | 4.5.1        |\r\n| multi_xml                 | 0.6.0        |\r\n| rubyzip                   | 1.2.1        |\r\n| security                  | 0.1.3        |\r\n| xcpretty-travis-formatter | 0.0.4        |\r\n| dotenv                    | 2.2.1        |\r\n| bundler                   | 1.14.6       |\r\n| faraday_middleware        | 0.11.0.1     |\r\n| openssl                   | 2.0.3        |\r\n| io-console                | 0.4.6        |\r\n</details>\r\n"}}
{"actor":{"display_login":"jlfeck"}}