bitrise-steplib / steps-ios-auto-provision-appstoreconnect

MIT License
15 stars 16 forks source link

App clip provisioning failing #27

Closed danipralea closed 3 years ago

danipralea commented 3 years ago

Hello! We're trying to create a build, but since app clips we're failing to do so. We're using ios provisioning with App Store Connect. We're currently getting the following error:

Searching for app ID for bundle ID: com.DT.DrivingThruClientDev.Clip
  app ID found: XC com DT DrivingThruClientDev Clip
  app ID capabilities are not in sync with the project capabilities, synchronizing...
failed to update bundle ID capabilities: step does not support creating an application identifier using the "Parent Bundle ID" capability, please add your Application Identifier manually using the Apple Developer Portal

We checked like 20 times on Apple Developer Portal and everything looks fine. The App Clip does have the Parent ID set. There's actually impossible to even deactivate it... We also have the verbose logging enabled. This is the link to the build: https://app.bitrise.io/build/3d038a039bbe2741#?tab=log (if it helps)

Any help would be GREATLY appreciated! We've been trying for days to debug this. We can't make any builds as of recent. Also sent a few support tickets, but to no avail. Thanks!

mjones-droid commented 3 years ago

Hey @danipralea!

This is a known bug in the iOS Autoprovision App Store Connect step. Please try using the older, deprecated step here: https://www.bitrise.io/integrations/steps/ios-auto-provision

A bug report has been filed and our devs are working on it. Another customer had a similar issue here: https://github.com/bitrise-steplib/steps-ios-auto-provision-appstoreconnect/issues/23

agusvazquez commented 3 years ago

Hello! I am experiencing this issue.

Is there an ETA for this? My client is paying a lot for bitrise services compared to others so he expects everything to be working fine.

Thanks!

danipralea commented 3 years ago

Hello! I am experiencing this issue.

Is there an ETA for this? My client is paying a lot for bitrise services compared to others so he expects everything to be working fine.

Thanks!

Unfortunately no. They just recommend using the old provisioning tool/step πŸ€¦β€β™‚οΈπŸ’β€β™‚οΈπŸ€·β€β™‚οΈ

mjones-droid commented 3 years ago

I just checked on the bug report I filed on this a while back. It's marked as completed, so if you had issues in the past it may be worth trying again.

If you're having new issues, it's also entirely possible it's not related to this bug.

agusvazquez commented 3 years ago

@mjones-droid I have tried a new build and I keep getting the error. Perhaps I am doing something wrong?

The build on xCode works really good.

https://app.bitrise.io/build/2e3a945feafab807#?tab=log

+------------------------------------------------------------------------------+

| (10) ios-auto-provision-appstoreconnect@1                                    |
+------------------------------------------------------------------------------+
| id: ios-auto-provision-appstoreconnect                                       |
| version: 1.0.3                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2021-03-15T13:36:10Z                                                   |
+------------------------------------------------------------------------------+
|                                                                              |
Config:
- BitriseConnection: automatic
- APIKeyPath: 
- APIIssuer: 
- ProjectPath: ios/FairmarketHome.xcworkspace
- Scheme: FairmarketHome
- Configuration: 
- Distribution: app-store
- MinProfileDaysValid: 0
- CertificateURLList: [REDACTED]
- CertificatePassphraseList: 
- KeychainPath: /Users/vagrant/Library/Keychains/login.keychain
- KeychainPassword: *****
- VerboseLog: false
- BuildAPIToken: [REDACTED]
- BuildURL: https://app.bitrise.io/build/2e3a945feafab807
Creating AppstoreConnectAPI client
Bitrise Apple Developer Connection with API key found
the client created for https://api.appstoreconnect.apple.com/
Analyzing project
configuration: Release
project team ID: GX4YT5YP2A
bundle IDs:
- com.fairmarkethome.Clip
- com.fairmarkethome
platform: iOS
Downloading certificates
2 certificates downloaded:
- Apple Distribution: Fairmarket LLC (GX4YT5YP2A)
- Apple Development: Agustin Vazquez (7A75VDL5NN)
ensuring codesigning files for distribution types: [app-store development]
Fetching test devices
6 devices are registered on Developer Portal
Checking app-store provisioning profiles for 2 bundle id(s)
  Checking bundle id: com.fairmarkethome
  capabilities: map[aps-environment:development com.apple.developer.applesignin:[Default] com.apple.developer.associated-domains:[applinks:app.fairmarkethome.com appclips:app.fairmarkethome.com]]
  Bitrise managed profile found: Bitrise iOS app-store - (com.fairmarkethome)
  profile is in sync with the project requirements
  Checking bundle id: com.fairmarkethome.Clip
  capabilities: map[com.apple.developer.associated-domains:[applinks:app.fairmarkethome.com appclips:app.fairmarkethome.com] com.apple.developer.parent-application-identifiers:[$(AppIdentifierPrefix)com.fairmarkethome]]
  profile does not exist, generating...
  Searching for app ID for bundle ID: com.fairmarkethome.Clip
  app ID found: XC com fairmarkethome Clip
  app ID capabilities invalid: bundle ID missing Capability (ODIC_PARENT_BUNDLEID) required by project Entitlement (com.apple.developer.parent-application-identifiers)
  app ID capabilities are not in sync with the project capabilities, synchronizing...
failed to update bundle ID capabilities: step does not support creating an application identifier using the "Parent Bundle ID" capability, please add your Application Identifier manually using the Apple Developer Portal
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | ios-auto-provision-appstoreconnect@1 (exit code: 1)           | 45.10 sec|
+---+---------------------------------------------------------------+----------+
| Issue tracker: ...se-steplib/steps-ios-auto-provision-appstoreconnect/issues |
| Source: ...thub.com/bitrise-steplib/steps-ios-auto-provision-appstoreconnect |
mjones-droid commented 3 years ago

I'll report this back to the dev's.

github-actions[bot] commented 3 years ago

Hello there, I'm a bot. On behalf of the community I thank you for opening this issue.

To help our human contributors focus on the most relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 90 days, so I marked it as stale.

The community would appreciate if you could check if the issue still persists. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me".

If no comment left within 21 days, this issue will be closed.

github-actions[bot] commented 3 years ago

I'll close this issue as it doesn't seem to be relevant anymore. We believe an old issue probably has a bunch of context that's no longer relevant, therefore, if the problem still persists, please open a new issue.