简体   繁体   中英

How can I remove part of pod file in iOS swift project?

How can I remove part of pod file in iOS swift project? If i use part of this framewrok, Apple reject my App cause of True Depth APIs.

My idea

I reserched other way in Stack Over Flow and tried long time but failed.

(1) Remove by pod file editting
Failed. Because always thease 3 items is set.

(2) Right Click + delete
Failed. Many error message is happen.

(3) project target > build Phase > Link Binary With Libraries
Failed. I dont see a file in Link Binary With Libraries.

在此处输入图片说明


I add my Progress.

I got understand about this podfiles. There are mixed group and single. For example, I tried pod files like these one.
- Curry rice
- Curry
- Rice

I only tried install Curry rice. I could install Curry Only. I tried continue to build my project.

Just remove the framework from the Pod File and run pod install in the terminal, And it will remove any framework that's not in the Pod File or you can comment it out with #

 use_frameworks!
 #pod 'SomeLib'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM