Xcode archive failed - no such module PromiseKit

Hi, I tried to build my project, but I got the following error:

Description of the issue

I saw from the logs, that all the Pods have installed successfully, but in the archiving phase, the compiler couldn’t find the PromiseKit pod.

▸ Running script ‘[CP] Check Pods Manifest.lock’
:x: /Users/vagrant/git/monotikPos/ViewControllers/ProductViewController/Service/ProductsService.swift:10:8: no such module ‘PromiseKit’
import PromiseKit
^
Last lines of the Xcode’s build log:
import PromiseKit
^
** ARCHIVE FAILED **

Environment:

Where did the issue happen?

The issue happened here, not on my local machine.

Which build Step causes the issue and which version of the step?

(7) xcode-archive@2.5.0

Reproducibility

  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • Does the issue happen sporadically, or every time? :
  • Does upgrading the build Step to the latest version help? : YES/NO
  • When did the issue start? :

Local reproduction

On my local machine the project compiles successfully.

Build log

Thanks in forward!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.