Static framework linked to Cocoapod not found in Main project Static framework linked to Cocoapod not found in Main project swift swift

Static framework linked to Cocoapod not found in Main project


As your error states that

framework not found Moya for architecture arm64

It means that Moya is not available for arm64 architecture, but your main project has following architectures;- arm64, armv7, armv7s. Remove the arm64 from your main project's valid architecture.

  • Also try to add -Objc in other link flags.
  • Try adding libz to the link library section of you project

iOS Support matrix:-

enter image description here