TestingWithFrank / Frank

Automated acceptance tests for native iOS apps
http://testingwithfrank.github.io/
Apache License 2.0
214 stars 57 forks source link

Build Frank with Cocoapods #50

Open marysmech opened 8 years ago

marysmech commented 8 years ago

I'm trying build Frank with my xcode app that use Cocoapods.

Setup (frank setup) is ok.

After setup i ran frank build. I get error. After some research i ran:

frank build --workspace my_app.xcworkspace/ --scheme my_app

and result was:

** BUILD FAILED **

The following build commands failed:
    Check dependencies
    Check dependencies
    Check dependencies
    Check dependencies

After another research i have tried to specify architecture. So i tried to build app using:

frank build --workspace my_app.xcworkspace/ --scheme my_app  --arch armv7s

I have tried architecture armv7, armv7s and arm64. Result is always something like this (sometime is error for Alamofire and other pods):

** 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)

After another research i have tried add include of pods to frankify.xcconfig

#include "path/Pods/Target Support Files/Pods/Pods.debug.xcconfig"

which solves nothing.

Does anybody have an idea what am i doing wrong? I am stuck.

Bodacious commented 8 years ago

I have this same issue :(