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?
从您链接到的文章,在修改frankify.xcconfig
文件后,您仍然必须使用--workspace
和--scheme
标记调用frank。
只需键入
frank build --workspace YourWorkspace.xcworkspace/ --scheme YourProject
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.
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.