Background :
While working on this answer, I noticed that it is not easy to properly configure Quick test frameworkXcode correctly. In my case, it took 3-4 unsuccessful attempts to finally have a working version. And yet, I'm not sure where my previous attempts were wrong. Or, more importantly, why the questionnaire in this thread may have a repeated run each time. Then he also made several attempts to finally create a worker.
Question :
I ask if any of you have a reliable way to configure Quick Framework on Xcode using Cocoa pods (or Carthage or Git Submodule), right up to running the correctly working Quick test case that you want to share.
How I did this before :
Here is how I created my work Quick framework on Xcode:
1. Follow the step in the XCTest article on the RayWenderlich website to set up the XCTest environment.
2. Then I add Cocoa Pods to install Quick
3. Then follow the instructions in Configuring your Xcode
4. Then I hacked and improvised the rest of the way, searching for every problem I encountered after that, try this and until then until it works.
(These steps include adding a Quick framework to link the binary in the build phase of my goal).
I'm not proud to share my steps above, but right now I have no better way. I hope to find a better way by asking this question. This may be too much to ask.
My subfile:
target 'PlayQuick' do
use_frameworks!
target 'PlayQuickTests' do
inherit! :search_paths
pod 'Quick'
pod 'Nimble'
end
end
source
share