[jira] [Updated] (CB-13457) cordova build ios --release --device fails for packageType 'app-store'

2017-10-18 Thread Jan Piotrowski (Sujan) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-13457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) updated CB-13457:

Environment: 
{code}
Mac OS  Sierra (10.12.6)
Xcode 9
Cordova CLI 7.1.0
cordova-ios:
cordova-ios@4.5.2
or https://github.com/jrryhrtn/cordova-ios.git
or https://github.com/apache/cordova-ios.git
{code}

  was:
Mac OS  Sierra (10.12.6)
Xcode 9
Cordova CLI 7.1.0
cordova-ios:
cordova-ios@4.5.2
or https://github.com/jrryhrtn/cordova-ios.git
or https://github.com/apache/cordova-ios.git


> cordova build ios --release --device fails for packageType 'app-store'
> --
>
> Key: CB-13457
> URL: https://issues.apache.org/jira/browse/CB-13457
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: {code}
> Mac OS  Sierra (10.12.6)
> Xcode 9
> Cordova CLI 7.1.0
> cordova-ios:
> cordova-ios@4.5.2
> or https://github.com/jrryhrtn/cordova-ios.git
> or https://github.com/apache/cordova-ios.git
> {code}
>Reporter: Felix Schauerte
>Assignee: Suraj Pindoria
>
> build.json:
> {code}
> "release": {
>   "codeSignIdentity": "iPhone Distribution",
>   "developmentTeam": "OUR-TEAM-ID",
>   "packageType": "app-store",
>   "provisioningProfile": "VALID NAME OF A PROV-PROFILE",
>   "buildFlag": [
> "EMBEDDED_CONTENT_CONTAINS_SWIFT = YES",
> "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO",
> "LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
>   ]
> }
> {code}
> When using  packageType=enterprise and a corresponding provisioningProfile 
> the release is finished successfully as expected, but with 
> packageType=app-store we receive the following messages:
> {code}
> [cordova] Entitlements:
>   [cordova]
>   [cordova] {
>   [cordova] "application-identifier" = "OUR-TEAM-ID.BUNDLE-ID";
>   [cordova] "beta-reports-active" = 1;
>   [cordova] "com.apple.developer.team-identifier" = OUR-TEAM-ID;
>   [cordova] "get-task-allow" = 0;
>   [cordova] }
>   [cordova]
>   [cordova]
>   [cordova] builtin-productPackagingUtility -entitlements -format xml -o 
> /Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/IntermediateBuildFilesPath/FINSTRAL.build/Release-iphoneos/FINSTRAL.build/FINSTRAL.app.xcent
>   [cordova]
>   [cordova] CodeSign 
> /Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/InstallationBuildProductsLocation/Applications/FINSTRAL.app
>   [cordova] cd 
> /Users/schauerte/tatakoto/dev/schauerte/cleverdox/build/fis.productive/local/ios/platforms/ios
>   [cordova] export 
> CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
>   [cordova] export 
> PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/Users/schauerte/shared/ant-1.9.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin"
>   [cordova]
>   [cordova] Signing Identity: "iPhone Distribution: FINSTRAL SPA 
> (OUR-TEAM-ID)"
>   [cordova] Provisioning Profile: "FINSTRAL (AppStore)"
>   [cordova]   (PROV-PROFILE-UID)
>   [cordova]
>   [cordova] /usr/bin/codesign --force --sign 
> 70F84903046CDD6B734A987E4CB044FE5E18C5EA --entitlements 
> /Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/IntermediateBuildFilesPath/FINSTRAL.build/Release-iphoneos/FINSTRAL.build/FINSTRAL.app.xcent
>  --timestamp=none 
> /Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/InstallationBuildProductsLocation/Applications/FINSTRAL.app
>   [cordova] 
> /Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/InstallationBuildProductsLocation/Applications/FINSTRAL.app:
>  unknown error -1=
>   [cordova] Command /usr/bin/codesign failed with exit code 1
>   [cordova]
>   [cordova] ** ARCHIVE FAILED **
>   [cordova]
>   [cordova]
>   [cordova] The following build commands failed:
>   [cordova] CodeSign 
> /Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/InstallationBuildProductsLocation/Applications/FINSTRAL.app
>   [cordova] (1 failure)

[jira] [Updated] (CB-13457) cordova build ios --release --device fails for packageType 'app-store'

2017-10-18 Thread Jan Piotrowski (Sujan) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-13457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) updated CB-13457:

Description: 
build.json:

{code}
"release": {
  "codeSignIdentity": "iPhone Distribution",
  "developmentTeam": "OUR-TEAM-ID",
  "packageType": "app-store",
  "provisioningProfile": "VALID NAME OF A PROV-PROFILE",
  "buildFlag": [
"EMBEDDED_CONTENT_CONTAINS_SWIFT = YES",
"ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO",
"LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
  ]
}
{code}

When using  packageType=enterprise and a corresponding provisioningProfile the 
release is finished successfully as expected, but with packageType=app-store we 
receive the following messages:

{code}
[cordova] Entitlements:
  [cordova]
  [cordova] {
  [cordova] "application-identifier" = "OUR-TEAM-ID.BUNDLE-ID";
  [cordova] "beta-reports-active" = 1;
  [cordova] "com.apple.developer.team-identifier" = OUR-TEAM-ID;
  [cordova] "get-task-allow" = 0;
  [cordova] }
  [cordova]
  [cordova]
  [cordova] builtin-productPackagingUtility -entitlements -format xml -o 
/Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/IntermediateBuildFilesPath/FINSTRAL.build/Release-iphoneos/FINSTRAL.build/FINSTRAL.app.xcent
  [cordova]
  [cordova] CodeSign 
/Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/InstallationBuildProductsLocation/Applications/FINSTRAL.app
  [cordova] cd 
/Users/schauerte/tatakoto/dev/schauerte/cleverdox/build/fis.productive/local/ios/platforms/ios
  [cordova] export 
CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
  [cordova] export 
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/Users/schauerte/shared/ant-1.9.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin"
  [cordova]
  [cordova] Signing Identity: "iPhone Distribution: FINSTRAL SPA 
(OUR-TEAM-ID)"
  [cordova] Provisioning Profile: "FINSTRAL (AppStore)"
  [cordova]   (PROV-PROFILE-UID)
  [cordova]
  [cordova] /usr/bin/codesign --force --sign 
70F84903046CDD6B734A987E4CB044FE5E18C5EA --entitlements 
/Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/IntermediateBuildFilesPath/FINSTRAL.build/Release-iphoneos/FINSTRAL.build/FINSTRAL.app.xcent
 --timestamp=none 
/Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/InstallationBuildProductsLocation/Applications/FINSTRAL.app
  [cordova] 
/Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/InstallationBuildProductsLocation/Applications/FINSTRAL.app:
 unknown error -1=
  [cordova] Command /usr/bin/codesign failed with exit code 1
  [cordova]
  [cordova] ** ARCHIVE FAILED **
  [cordova]
  [cordova]
  [cordova] The following build commands failed:
  [cordova] CodeSign 
/Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/InstallationBuildProductsLocation/Applications/FINSTRAL.app
  [cordova] (1 failure)
  [cordova] Error: Error code 65 for command: xcodebuild with args: 
-xcconfig,/Users/schauerte/tatakoto/dev/schauerte/cleverdox/build/fis.productive/local/ios/platforms/ios/cordova/build-release.xcconfig,-workspace,FINSTRAL.xcworkspace,-scheme,FINSTRAL,-configuration,Release,-destination,generic/platform=iOS,-archivePath,FINSTRAL.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/schauerte/tatakoto/dev/schauerte/cleverdox/build/fis.productive/local/ios/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/schauerte/tatakoto/dev/schauerte/cleverdox/build/fis.productive/local/ios/platforms/ios/build/sharedpch,EMBEDDED_CONTENT_CONTAINS_SWIFT
 = YES,ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO,LD_RUNPATH_SEARCH_PATHS = 
"@executable_path/Frameworks"
{code}
This happens during Archiving and before Exporting.
As the messages say, the PROV-PROFILE etc. are resolved correctly. All 
certificates are locally available in the login keychain. All profiles are 
downloaded by xcode 9.

there are no outdated/old certificates or profiles on the mac system. we 
deleted even old private keys.

We tried the same setup with different TEAM-IDS (and their corresponding 
PROV-PROFILES). The 

[jira] [Updated] (CB-13457) cordova build ios --release --device fails for packageType 'app-store'

2017-10-17 Thread Felix Schauerte (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-13457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Schauerte updated CB-13457:
-
Description: 
build.json:

"release": {
  "codeSignIdentity": "iPhone Distribution",
  "developmentTeam": "OUR-TEAM-ID",
  "packageType": "app-store",
  "provisioningProfile": "VALID NAME OF A PROV-PROFILE",
  "buildFlag": [
"EMBEDDED_CONTENT_CONTAINS_SWIFT = YES",
"ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO",
"LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
  ]
}


When using  packageType=enterprise and a corresponding provisioningProfile the 
release is finished successfully as expected, but with packageType=app-store we 
receive the following messages:

[cordova] Entitlements:
  [cordova]
  [cordova] {
  [cordova] "application-identifier" = "OUR-TEAM-ID.BUNDLE-ID";
  [cordova] "beta-reports-active" = 1;
  [cordova] "com.apple.developer.team-identifier" = OUR-TEAM-ID;
  [cordova] "get-task-allow" = 0;
  [cordova] }
  [cordova]
  [cordova]
  [cordova] builtin-productPackagingUtility -entitlements -format xml -o 
/Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/IntermediateBuildFilesPath/FINSTRAL.build/Release-iphoneos/FINSTRAL.build/FINSTRAL.app.xcent
  [cordova]
  [cordova] CodeSign 
/Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/InstallationBuildProductsLocation/Applications/FINSTRAL.app
  [cordova] cd 
/Users/schauerte/tatakoto/dev/schauerte/cleverdox/build/fis.productive/local/ios/platforms/ios
  [cordova] export 
CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
  [cordova] export 
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/Users/schauerte/shared/ant-1.9.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin"
  [cordova]
  [cordova] Signing Identity: "iPhone Distribution: FINSTRAL SPA 
(OUR-TEAM-ID)"
  [cordova] Provisioning Profile: "FINSTRAL (AppStore)"
  [cordova]   (PROV-PROFILE-UID)
  [cordova]
  [cordova] /usr/bin/codesign --force --sign 
70F84903046CDD6B734A987E4CB044FE5E18C5EA --entitlements 
/Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/IntermediateBuildFilesPath/FINSTRAL.build/Release-iphoneos/FINSTRAL.build/FINSTRAL.app.xcent
 --timestamp=none 
/Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/InstallationBuildProductsLocation/Applications/FINSTRAL.app
  [cordova] 
/Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/InstallationBuildProductsLocation/Applications/FINSTRAL.app:
 unknown error -1=
  [cordova] Command /usr/bin/codesign failed with exit code 1
  [cordova]
  [cordova] ** ARCHIVE FAILED **
  [cordova]
  [cordova]
  [cordova] The following build commands failed:
  [cordova] CodeSign 
/Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/InstallationBuildProductsLocation/Applications/FINSTRAL.app
  [cordova] (1 failure)
  [cordova] Error: Error code 65 for command: xcodebuild with args: 
-xcconfig,/Users/schauerte/tatakoto/dev/schauerte/cleverdox/build/fis.productive/local/ios/platforms/ios/cordova/build-release.xcconfig,-workspace,FINSTRAL.xcworkspace,-scheme,FINSTRAL,-configuration,Release,-destination,generic/platform=iOS,-archivePath,FINSTRAL.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/schauerte/tatakoto/dev/schauerte/cleverdox/build/fis.productive/local/ios/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/schauerte/tatakoto/dev/schauerte/cleverdox/build/fis.productive/local/ios/platforms/ios/build/sharedpch,EMBEDDED_CONTENT_CONTAINS_SWIFT
 = YES,ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO,LD_RUNPATH_SEARCH_PATHS = 
"@executable_path/Frameworks"

This happens during Archiving and before Exporting.
As the messages say, the PROV-PROFILE etc. are resolved correctly. All 
certificates are locally available in the login keychain. All profiles are 
downloaded by xcode 9.

there are no outdated/old certificates or profiles on the mac system. we 
deleted even old private keys.

We tried the same setup with different TEAM-IDS (and their corresponding 
PROV-PROFILES). The error always occurrs.

We unlock the 

[jira] [Updated] (CB-13457) cordova build ios --release --device fails for packageType 'app-store'

2017-10-17 Thread Felix Schauerte (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-13457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Schauerte updated CB-13457:
-
Description: 
build.json:

"release": {
  "codeSignIdentity": "iPhone Distribution",
  "developmentTeam": "OUR-TEAM-ID",
  "packageType": "app-store",
  "provisioningProfile": "VALID NAME OF A PROV-PROFILE",
  "buildFlag": [
"EMBEDDED_CONTENT_CONTAINS_SWIFT = YES",
"ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO",
"LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
  ]
}


When using  packageType=enterprise and a corresponding provisioningProfile the 
release is finished successfully as expected, but with packageType=app-store we 
receive the following messages:

[cordova] Entitlements:
  [cordova]
  [cordova] {
  [cordova] "application-identifier" = "OUR-TEAM-ID.BUNDLE-ID";
  [cordova] "beta-reports-active" = 1;
  [cordova] "com.apple.developer.team-identifier" = OUR-TEAM-ID;
  [cordova] "get-task-allow" = 0;
  [cordova] }
  [cordova]
  [cordova]
  [cordova] builtin-productPackagingUtility -entitlements -format xml -o 
/Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/IntermediateBuildFilesPath/FINSTRAL.build/Release-iphoneos/FINSTRAL.build/FINSTRAL.app.xcent
  [cordova]
  [cordova] CodeSign 
/Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/InstallationBuildProductsLocation/Applications/FINSTRAL.app
  [cordova] cd 
/Users/schauerte/tatakoto/dev/schauerte/cleverdox/build/fis.productive/local/ios/platforms/ios
  [cordova] export 
CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
  [cordova] export 
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/Users/schauerte/shared/ant-1.9.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin"
  [cordova]
  [cordova] Signing Identity: "iPhone Distribution: FINSTRAL SPA 
(OUR-TEAM-ID)"
  [cordova] Provisioning Profile: "FINSTRAL (AppStore)"
  [cordova]   (PROV-PROFILE-UID)
  [cordova]
  [cordova] /usr/bin/codesign --force --sign 
70F84903046CDD6B734A987E4CB044FE5E18C5EA --entitlements 
/Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/IntermediateBuildFilesPath/FINSTRAL.build/Release-iphoneos/FINSTRAL.build/FINSTRAL.app.xcent
 --timestamp=none 
/Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/InstallationBuildProductsLocation/Applications/FINSTRAL.app
  [cordova] 
/Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/InstallationBuildProductsLocation/Applications/FINSTRAL.app:
 unknown error -1=
  [cordova] Command /usr/bin/codesign failed with exit code 1
  [cordova]
  [cordova] ** ARCHIVE FAILED **
  [cordova]
  [cordova]
  [cordova] The following build commands failed:
  [cordova] CodeSign 
/Users/schauerte/Library/Developer/Xcode/DerivedData/FINSTRAL-bsnohhydgksblzfcqjeuvibucnhv/Build/Intermediates.noindex/ArchiveIntermediates/FINSTRAL/InstallationBuildProductsLocation/Applications/FINSTRAL.app
  [cordova] (1 failure)
  [cordova] Error: Error code 65 for command: xcodebuild with args: 
-xcconfig,/Users/schauerte/tatakoto/dev/schauerte/cleverdox/build/fis.productive/local/ios/platforms/ios/cordova/build-release.xcconfig,-workspace,FINSTRAL.xcworkspace,-scheme,FINSTRAL,-configuration,Release,-destination,generic/platform=iOS,-archivePath,FINSTRAL.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/schauerte/tatakoto/dev/schauerte/cleverdox/build/fis.productive/local/ios/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/schauerte/tatakoto/dev/schauerte/cleverdox/build/fis.productive/local/ios/platforms/ios/build/sharedpch,EMBEDDED_CONTENT_CONTAINS_SWIFT
 = YES,ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO,LD_RUNPATH_SEARCH_PATHS = 
"@executable_path/Frameworks"

This happens during Archiving and before Exporting.
As the messages say, the PROV-PROFILE etc. are resolved correctly. All 
certificates are locally available in the login keychain. All profiles are 
downloaded by xcode 9.

there are no outdated/old certificates or profiles on the mac system. we 
deleted even old private keys.

We tried the same setup with different TEAM-IDS (and their corresponding 
PROV-PROFILES). The error always occurrs.

We unlock the