0

How to run Kiwi tests in AppCode?

               Hi there

I have been setting up the kiwi framework for pretty big amount of time according to this Getting Started Guide https://github.com/allending/Kiwi/wiki/Getting-Started-with-Kiwi-2.0. Eventually I was able to run my Kiwi test from XCode. I was forced using project.xcworkspace instead of project.xcodeproj file with XCode.
When I tried to run the same kiwi test in AppCode I got the following error:


Ld /Users/Dmitry/Library/Caches/appCode20/DerivedData/catandmouse-65c19164/Build/Products/Debug-iphonesimulator/projtest.octest/projtest normal i386
    cd /Users/Dmitry/Projects/ios/proto/catandmouse
    setenv IPHONEOS_DEPLOYMENT_TARGET 6.1
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/Dmitry/Library/Caches/appCode20/DerivedData/catandmouse-65c19164/Build/Products/Debug-iphonesimulator -F/Users/Dmitry/Library/Caches/appCode20/DerivedData/catandmouse-65c19164/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -filelist /Users/Dmitry/Library/Caches/appCode20/DerivedData/catandmouse-65c19164/Build/Intermediates/catandmouse.build/Debug-iphonesimulator/projtest.build/Objects-normal/i386/projtest.LinkFileList -bundle_loader /Users/Dmitry/Library/Caches/appCode20/DerivedData/catandmouse-65c19164/Build/Products/Debug-iphonesimulator/catandmouse.app/catandmouse -Xlinker -objc_abi_version -Xlinker 2 -ObjC -framework SenTestingKit -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.1 -framework SenTestingKit -framework UIKit -framework Foundation -lPods-projtest -o /Users/Dmitry/Library/Caches/appCode20/DerivedData/catandmouse-65c19164/Build/Products/Debug-iphonesimulator/projtest.octest/projtest

ld: library not found for -lPods-projtest
clang: error: linker command failed with exit code 1 (use -v to see invocation)


AppCode doesn't open .xcworkspace files. So how can I run my kiwi tests in AppCode?

2 comments

Please sign in to leave a comment.