Open thislooksfun opened 4 years ago
@yonaskolb This is still an issue in the Xcode 13 beta. This one issue is completely blocking my ability to automate deployments with a freshly-built .xcodeproj since I am forced to open the project and update the setting for it to build.
@yonaskolb This is still an issue in the Xcode 13 beta. This one issue is completely blocking my ability to automate deployments with a freshly-built .xcodeproj since I am forced to open the project and update the setting for it to build.
I'm facing the same issue. Workaround that worked for me is to use team id from theDistribution
certificate
I have the settings
project.yml
```yaml name: 'Which generates the following:
project.pbxproj
```pbxproj // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 51; objects = { /* Begin PBXBuildFile section */ 0471DE5262D165A24DD925D4 /* SectionHeader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8EF5D7C5CE5DD31DB16E4727 /* SectionHeader.swift */; }; 0511302FF4D36A1C3548D814 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C49CE3B52E5AE4CF6B852FE1 /* AppDelegate.swift */; }; 0B4E4444DD5924BB3FA82D99 /* Drink.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1CD458E46CF88FC80B690B54 /* Drink.swift */; }; 0F56CC3A80F463F558DA473E /* SnapshotHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7AF4940836F191739D06A21 /* SnapshotHelper.swift */; }; 123FF569DCE966F36599F29C /*However, when I open Xcode and go to "Signing & Capabilities", I get the error
Even though the Provisioning Profile is shown correctly. Re-selecting the same Provisioning Profile inside Xcode makes the error go away and produces the following diff:
diff
```diff diff --git a/generated.pbx b/signing.pbx index f596d21..707cd77 100644 --- a/generated.pbx +++ b/signing.pbx @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 52; objects = { /* Begin PBXBuildFile section */ @@ -88,14 +88,14 @@ 243667EE9A889A2C47B43F27 /*Versions: Xcode: 11.5 (11E608c) XcodeGen: 2.16.0