How to create a structure containing cocoapods dependency in iOS?

I am creating an environment for third-party applications. I am using the Google VR SDK for iOS (which is CocoaPods dependency) inside my static library project for assembly. The static library compiles fine, but I get this error when building frame aggregation.

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: cannot find file for: -lPods-MyLibrary error: /Applications/Xcode.app/Contents/Developer/Toolchains/ XcodeDefault.xctoolchain / usr / bin / libtool: file: -lPods-MyLibrary is not an object file (not allowed in the library)

Can someone explain how to solve the following error?

+6
source share

All Articles