xcodebuid failed at signing step although there is no issue building and distributing from Xcode GUI
Hi all,
I have a host application to register and start network system extension.
I created 2 provisional profiles that grant SystemExtension and NetworkExtension capabilities for the host app, and NetworkExtension for the network system extension.
I'm able to archive and distribute (direct distribution) the app from XCode GUI. However, when I use xcodebuild command to build the project, it gave me this error:
error: No profile for team 'TEAMID' matching 'Host APP Distribution Profile' found: Xcode couldn't find any provisioning profiles matching 'TEAMID/Host APP Distribution Profile'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the Signing & Capabilities tab of the target editor.
error: No profile for team 'TEAMID' matching 'My NetworkExt Distribution Profile' found: Xcode couldn't find any provisioning profiles matching 'TEAMID/My NetworkExt Distribution Profile'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the Signing & Capabilities tab of the target editor.
I already installed those 2 provisioning profiles assign them to my targets in XCode. There is no error from Xcode when building and distributing it.
Does anyone have the same issue? How could you solve it.
Thanks!
An
Topic:
Developer Tools & Services
SubTopic:
Xcode