How do I install Frank when my project is using Cocoapods?

允我心安 提交于 2019-12-06 04:29:06

问题


I have a sample, new project that and I used Cocoapods to install TestFlight and RestKit. Now I am trying to add Frank but "frank build" does not work.

I've tried following steps listed here;

I've tried to modify the franked ../Frank/frankify.xcconfig and I've modified the .xcconfig for the default target.

When I run "frank build", the build fails and leaves me a message, "ld: library not found for -lPods".

Any ideas on how to get this to work?


回答1:


from the article you link to, after modifying your frankify.xcconfig file, you still have to call frank with the --workspace and --scheme flags.




回答2:


just type

frank build --workspace YourWorkspace.xcworkspace/ --scheme YourProject



回答3:


You are going to have this problem because the scheme is missing for the Pods project that provides this library. You need to tweak the build script/Frank to use the new xcworkspace instead of the original xcodeproj file. Changing that should get you your normal project and the Pods static library it depends on.

This also happens with Jenkins and Hudson builds too. The problem isn't isolated to just Frank.



来源:https://stackoverflow.com/questions/13983343/how-do-i-install-frank-when-my-project-is-using-cocoapods

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