我正在尝试使用使用 Cocoapods 的 xcode 应用程序构建 Frank。
设置 ( frank setup
) 没问题。
设置后我跑了frank build
。我得到错误。经过一些研究,我跑了:
frank build --workspace my_app.xcworkspace/ --scheme my_app
结果是:
** BUILD FAILED **
The following build commands failed:
Check dependencies
Check dependencies
Check dependencies
Check dependencies
经过另一项研究,我试图指定架构。所以我尝试使用以下方法构建应用程序:
frank build --workspace my_app.xcworkspace/ --scheme my_app --arch armv7s
我尝试过架构armv7
,armv7s
并且arm64
. 结果总是这样的(Alamofire 和其他 pod 有时会出错):
** BUILD FAILED **
The following build commands failed:
CompileSwiftSources normal armv7s com.apple.xcode.tools.swift.compiler
CompileSwift normal armv7s /path/Pods/Kingfisher/Kingfisher/ImageCache.swift
CompileSwift normal armv7s /path/Pods/Kingfisher/Kingfisher/ImageDownloader.swift
CompileSwift normal armv7s /path/Pods/Kingfisher/Kingfisher/ImageTransition.swift
CompileSwift normal armv7s /path/Pods/Kingfisher/Kingfisher/KingfisherManager.swift
(5 failures)
经过另一项研究,我尝试将豆荚添加到frankify.xcconfig
#include "path/Pods/Target Support Files/Pods/Pods.debug.xcconfig"
这解决不了任何问题。
有人知道我在做什么错吗?我被困住了。