bndkt / react-native-app-clip

Easily add an App Clip for iOS apps built with React Native
https://bndkt.com/blog/2022/react-native-app-clip
504 stars 25 forks source link

The relationship 'parentBundleId' is required but was not provided with this request. #17

Closed aceslick911 closed 1 year ago

aceslick911 commented 1 year ago

Been trying to solve this issue with EAS not be able to build this app:

Relationship is required but was not provided. -

› Log in to your Apple Developer account to continue
✔ Apple ID: … XX@XX.com
› Restoring session /Users/angeloperera/.app-store/auth/XX@XX.com/cookie
› XXX Pty Ltd (XXXXXXX11)
› Provider XXXXX Pty Ltd (11111111)
✔ Logged in Local session
✔ Bundle identifier registered X.XXX
✔ Synced capabilities: Enabled: Sign In with Apple
✔ Synced capability identifiers: Linked: group.XX.XX
✔ Fetched Apple distribution certificates
✔ Fetched Apple provisioning profiles
Provisioning profile (id: XXXX) is no longer valid
✔ Fetched Apple provisioning profiles
✔ Provisioning Profile - ID: XXXX
    Name: *[expo] XX.XX AppStore 2023-06-18T04:43:55.639Z
    Expiry: Mon Oct 16 2023
  Would you like to reuse the original profile? … yes
✔ Fetched Apple provisioning profiles
✔ Updated provisioning profile (XXXX) with distribution certificate (XXXX)
✔ Updated Expo profile for @XXX/XXX_expo (XX.XX)

Setting up credentials for target XxxXxxClip (xxx.xxx.Clip)

✔ Bundle identifier registered xxx.xxx.Clip
✔ Synced capabilities: Enabled: Push Notifications, Sign In with Apple
✖ Failed to sync capability identifiers xxx.xxx.Clip
Relationship is required but was not provided. - The relationship 'parentBundleId' is required but was not provided with this request.
    Error: build command failed.

any idea what step is going wrong here? Tried googling for parentBundleId and absolutely nothing comes up.

I believe I setup the PList files correctly especially the parent and app clip as described by apple (App and app clip work fine through xcode)

bndkt commented 1 year ago

Hi @aceslick911 have you added the .Clip bundle identifier via Apple Developer portal like described in the Readme?