We had the exportArchive issue in Xcode Server (XCS) with a Xcode Project that has two schemes: iOS & tvOS. The iOS project was archiving fine from XCS, but the tvOS was not. We were certain that the signing credentials were properly set in Xcode Accounts.
I'm not sure if this is the exact configuration others have, but hopefully these notes may help you.
We were receiving the same error "exportArchive: Found no compatible export methods" while archiving a tvOS target in XCS.
Build Service Error: exportArchive: Found no compatible export methods for: DVTFilePath:0x7fd42ffa1ae0:'/path/to/XCSBuilder/Integration-cfc0379b9feddb8619595042d58/tvOS.xcarchive'
iOS archiving worked as expected and was located in the same Xcode Project. The only we to get the archiving to work for the tvOS scheme was to do the following:
edit the Xcode Server Bot (XCS) for that tvOS scheme that wasn't archiving properly
verify that Devices for the tvOS bot was only set to build for tvOS Devices only. The other options in the XCS Bot editor were to build with a tvOS Simulator or not. Once we turned off Simulator builds, archiving started working.
Server API v19
Xcode 12.4 (12D4e), macOS 11.2.3 (20D91)
We have a bunch of notes & examples on how to optimize XCS for your build process: https://github.com/roblabs/xcode-continuous-integration
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: