I am trying to add a static structure (Moya) to my own Cocoapod project through Carthage.
My goal is to include Moya as a static frame in my personal Cocoapod (SwiftModel) and use Moya also in my main project (since SwiftModel has a dependency on it).
I added Moya to my structure by following these steps:
podspec file link structure
s.vendored_frameworks = 'SwiftModel/Carthage/Build/iOS/Moya.framework'
add Moya to the private structure (Link Binary With Libraries)

So, inside my Pods project, it looks like this:

Attempting to add the path to the "Framework Header Search Path" did not make any changes. I tried to add it to the main project and to the pods project.
When only building a private building, everything works fine, and Moya admits. However, if I want to build the main project (including my private module), I always get this error:
Moya not found for arm64 architecture

swift cocoapods carthage moya
gpichler
source share