fastlane: Fastlane Match issue: A relationship in the provided entity is not allowed for this request

We are experiencing an issue with Match for appstore.

No devices can be associated to Provisioning Profiles for the App Store.

An error occurred while verifying your certificates and profiles with the Apple Developer Portal. If you already have your certificates stored in git, you can run fastlane match in readonly mode to just install the certificates and profiles without accessing the Dev Portal. To do so, just pass readonly: true to your match call.

bundler: failed to load command: fastlane (/Users/andriitsok/.bundle/ruby/2.6.0/bin/fastlane) Spaceship::UnexpectedResponse: [!] { “errors” : [ { “id” : “5c9f46b9-6988-4355-9139-f09640b09e7d”, “status” : “409”, “code” : “ENTITY_ERROR.RELATIONSHIP.NOT_ALLOWED”, “title” : “A relationship in the provided entity is not allowed for this request”, “detail” : “No devices can be associated to Provisioning Profiles for the App Store.” } ] } /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/spaceship/lib/spaceship/connect_api/client.rb:158:in handle_response' /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/spaceship/lib/spaceship/connect_api/provisioning/client.rb:82:in proxy_post’ /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/spaceship/lib/spaceship/connect_api/provisioning/client.rb:46:in post' /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb:79:in post_profiles’ /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/spaceship/lib/spaceship/connect_api/models/profile.rb:73:in create' /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/sigh/lib/sigh/runner.rb:170:in create_profile!’ /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/sigh/lib/sigh/runner.rb:42:in run' /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/sigh/lib/sigh/manager.rb:8:in start’ /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/match/lib/match/generator.rb:103:in generate_provisioning_profile' /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/match/lib/match/runner.rb:262:in fetch_provisioning_profile’ /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/match/lib/match/runner.rb:109:in block (2 levels) in run' /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/match/lib/match/runner.rb:108:in loop’ /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/match/lib/match/runner.rb:108:in block in run' /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/match/lib/match/runner.rb:107:in each’ /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/match/lib/match/runner.rb:107:in run' /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/match/lib/match/commands_generator.rb:68:in block (3 levels) in run’ /Users/andriitsok/.bundle/ruby/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call' /Users/andriitsok/.bundle/ruby/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run’ /Users/andriitsok/.bundle/ruby/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command' /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!’ /Users/andriitsok/.bundle/ruby/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!' /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/match/lib/match/commands_generator.rb:187:in run’ /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/match/lib/match/commands_generator.rb:25:in start' /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/fastlane/lib/fastlane/cli_tools_distributor.rb:111:in take_off’ /Users/andriitsok/.bundle/ruby/2.6.0/gems/fastlane-2.155.1/bin/fastlane:23:in <top (required)>' /Users/andriitsok/.bundle/ruby/2.6.0/bin/fastlane:23:in load’ /Users/andriitsok/.bundle/ruby/2.6.0/bin/fastlane:23:in `<top (required)>’

Xcode 12 b4

✅ fastlane environment ✅

Stack

Key Value
OS 11.0
Ruby 2.6.3
Bundler? true
Git git version 2.27.0
Installation Source ~/.bundle/ruby/2.6.0/bin/fastlane
Host macOS 11.0 (20A5343i)
Ruby Lib Dir /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
OpenSSL Version LibreSSL 2.8.3
Is contained false
Is homebrew false
Is installed via Fabric.app false
Xcode Path /Applications/Xcode-beta.app/Contents/Developer/
Xcode Version 12.0

System Locale

Variable Value
LANG en_CA.UTF-8
LC_ALL
LANGUAGE

fastlane files:

`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do
  desc "Build for App Store submission"
  lane :build_appstore do
    gym(
    export_method: "app-store",
    xcargs: "-allowProvisioningUpdates",
    include_bitcode:"true",
    include_symbols:"false",
    export_options: {
        method: "app-store",
        provisioningProfiles: { 
          "technology.tryon" => "match AppStore technology.tryon"
        }
    }
    )

  end
end

`./fastlane/Appfile`
app_identifier("technology.tryon") # The bundle identifier of your app
# apple_id("[[APPLE_ID]]") # Your Apple email address


# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

fastlane gems

Gem Version Update-Status
fastlane 2.155.1 ✅ Up-To-Date

Loaded fastlane plugins:

No plugins Loaded

Loaded gems
Gem Version
did_you_mean 1.3.0
bundler 2.1.4
rake 13.0.1
CFPropertyList 3.0.2
public_suffix 4.0.5
addressable 2.7.0
atomos 0.1.3
aws-eventstream 1.1.0
aws-partitions 1.352.0
aws-sigv4 1.2.1
jmespath 1.4.0
aws-sdk-core 3.104.3
aws-sdk-kms 1.36.0
aws-sdk-s3 1.75.0
babosa 1.0.3
claide 1.0.3
colored 1.2
colored2 3.1.2
highline 1.7.10
commander-fastlane 4.4.6
declarative 0.0.20
declarative-option 0.1.0
digest-crc 0.6.1
unf_ext 0.0.7.7
unf 0.1.4
domain_name 0.5.20190701
dotenv 2.7.6
emoji_regex 3.0.0
excon 0.76.0
multipart-post 2.0.0
faraday 1.0.1
http-cookie 1.0.3
faraday-cookie_jar 0.0.6
faraday_middleware 1.0.0
fastimage 2.2.0
gh_inspector 1.1.3
jwt 2.2.1
memoist 0.16.2
multi_json 1.15.0
os 1.1.1
signet 0.14.0
googleauth 0.13.1
httpclient 2.8.3
mini_mime 1.0.2
uber 0.1.0
representable 3.0.4
retriable 3.1.2
google-api-client 0.38.0
google-cloud-env 1.3.3
google-cloud-errors 1.0.1
google-cloud-core 1.5.0
google-cloud-storage 1.27.0
json 2.3.1
mini_magick 4.10.1
plist 3.5.0
rubyzip 2.3.0
security 0.1.3
naturally 2.2.0
simctl 1.6.8
slack-notifier 2.3.2
terminal-notifier 2.0.0
unicode-display_width 1.7.0
terminal-table 1.8.0
tty-screen 0.8.1
tty-cursor 0.7.1
tty-spinner 0.9.3
word_wrap 1.0.0
nanaimo 0.3.0
xcodeproj 1.17.1
rouge 2.0.7
xcpretty 0.3.0
xcpretty-travis-formatter 1.0.0

generated on: 2020-08-06

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 2
  • Comments: 22 (8 by maintainers)

Most upvoted comments

Just woke up and looking into right away!

Found the issue! My apologies 😔 I should have a release out in an hour or so

This is released in 2.155.2 💪 Sorry again! ❤️

Np! Sorry again. Not sure why that didn’t go through 🤷‍♂️ Also, there will be a 2.155.3 coming later this evening with one more small fix 😉

Sorry about that! Try now 😊 (IDK what happened)

Sorry for injecting the issue 😇

Found the issue! My apologies 😔 I should have a release out in an hour or so

Thanks a lot for the fast response!

32: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.155.1/bin/fastlane:23:in <top (required)>' 31: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.155.1/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in take_off’

@bepicgco I guess your downgrade didn’t go as planned. You’re still using 2.155.1.

Thank you for noticing that. After getting the downgrade to work, my build does work again indeed! I will update my report to reflect that.

32: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.155.1/bin/fastlane:23:in <top (required)>' 31: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.155.1/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in take_off’

@bepicgco I guess your downgrade didn’t go as planned. You’re still using 2.155.1.

This is with Xcode 11 btw. It’s not related to the beta.