Build failures after adding associated-domains entitlement

I’m trying to add universal/deep links to my iOS app following the instructions here, but when I add the capability to my app I start getting build failures like this:

2023-02-07 14:13:05.065 xcodebuild[33041:69577] Requested but did not find extension point with identifier Xcode.InterfaceBuilderBuildSupport.PlatformDefinition

The only change I’ve made between when it works and when it fails is to add this to my ios/App/App/App.entitlements file:

+<dict>
+       <key>com.apple.developer.associated-domains</key>
+       <array>
+               <string>applinks:app.withgrayce.com</string>
+       </array>
+</dict>

I added that in XCode by adding the capability in the UI. It still builds fine in XCode, but when I try to do a build in AppFlow it fails on this command:

xcodebuild -showBuildSettings -workspace /Users/ionic-cloud-team/builds/withgrayce/client/ios/App/App.xcworkspace -scheme App

And running that command locally also fails. I’ve been out of luck with the usual searches on this and would really appreciate any nudges in the right direction, thanks!

Never mind, the error about the PlatformDefinition turns out to be a red herring, the issue was that I had my provisioning profile misconfigured for iOS distribution. :man_facepalming:t3:

1 Like