grab / cocoapods-pod-merge

Cocoapods plugin to merge pods used by your Xcode project, reducing the number of dynamic frameworks your app has to load on startup
MIT License
372 stars 24 forks source link

Some pods are not use ARC #12

Open sanhue0302 opened 4 years ago

sanhue0302 commented 4 years ago

Maybe there should be a flag or use a setting of merged pods

biocross commented 4 years ago

Hi @sanhue0302,

Can you mention which pods are these or post your MergeFile? If a pod doesn't use ARC, it'll not merge with pods that do use ARC. The whole group will have to not use ARC to be merged successfully.

sanhue0302 commented 4 years ago

i am sorry that i use a private pod. so i can't give you a sample i thought when a pod that not use ARC is in a group, the framework should not use ARC but it is ARC now.

biocross commented 4 years ago

That's not possible, since either all of the pods in a group have to use ARC, or they don't. A merged frameworks with mixed ARC and non ARC pods will fail to compile.

sanhue0302 commented 4 years ago

in my non-ARC podspec, it has config "requires_arc = false" and it will work in pods project Is it possible using same mechanism on this plugins?