Was setting up PVC in a new project and following the instructions in "Example, adding -[UIButton tap] to a spec target." The build failed with the error,
Undefined symbols for architecture x86_64: "_CGDataProviderCopyData", referenced from: -[UIImage(Spec) isEqualToByBytes:] in libUIKit+PivotalSpecHelper-StaticLib.a(UIImage+Spec.o) "_CGImageGetDataProvider", referenced from: -[UIImage(Spec) isEqualToByBytes:] in libUIKit+PivotalSpecHelper-StaticLib.a(UIImage+Spec.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
which is resolved if CoreGraphics.framework is imported in "Link Binary With Libraries"
Was setting up PVC in a new project and following the instructions in "Example, adding -[UIButton tap] to a spec target." The build failed with the error,
Undefined symbols for architecture x86_64: "_CGDataProviderCopyData", referenced from: -[UIImage(Spec) isEqualToByBytes:] in libUIKit+PivotalSpecHelper-StaticLib.a(UIImage+Spec.o) "_CGImageGetDataProvider", referenced from: -[UIImage(Spec) isEqualToByBytes:] in libUIKit+PivotalSpecHelper-StaticLib.a(UIImage+Spec.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
which is resolved if CoreGraphics.framework is imported in "Link Binary With Libraries"