Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to import pod dependencies which contains "static_framework": true in podspec file #12313

Open
1 task done
Kulkarniomkar00 opened this issue Mar 18, 2024 · 0 comments

Comments

@Kulkarniomkar00
Copy link

Report

What did you do?

I have created a Xcode project and added a framework target (TestFramework) in the project.

Project structure:
Screenshot 2024-03-18 at 4 28 16 PM

Pod file:


target 'GAMTestApp' do
  use_frameworks!
end

target 'TestFramework' do
  use_frameworks!
  pod 'Google-Mobile-Ads-SDK'
end



I want to implement my own logic over GAM SDK in TestFramework. And use it in app target.

Does CocoaPods support adding dependencies in custom framework like demonstrate above?
If yes, is there are any other settings I need to do?

What did you expect to happen?

I should be able to use GoogleMobileAds in ViewController.

What happened instead?

GoogleMobileAds is not getting imported in any file of project.
Screenshot 2024-03-18 at 3 53 54 PM

Project that demonstrates the issue

To reproduce the issue, download below project and build.
GAMTestApp.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant