ios - where to put s.static_framework = true

好久不见. 提交于 2020-03-03 12:17:08

问题


I am level 0 in CocoaPods. When I am using the pod install there is an error says:

The 'Pods-App' target has transitive dependencies that include static frameworks

I try to search around and see the solution in the FIRST answer.

Pranav Gupta said that I need to add s.static_framework = true to my podspec. However, I don't know exactly where.

Please guide me if you know how I can put the s.static_framework = true in my Podfile.

Thank you in advance!


回答1:


thank you for helping, I am able to find out the solution. Below is the solution, hope it can help other people like me.

I am using Pod to integrate the Firebase to my React native app (@react-native-firebase/app) but receive this error:

We have to add s.static_framework = true in the Podfile of react-native-firebase, NOT Pod file of our project.

The Pod file of react-naive-firebase named RNFApp.podspecs. After we open it, we can see there is a line

s.static_framework = false

Just change it from true to false

Hope my answer can help.



来源:https://stackoverflow.com/questions/58212049/ios-where-to-put-s-static-framework-true

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!