pivotal-legacy / PivotalCoreKit

Shared library and test code for iOS and macOS projects
http://pivotallabs.com
Other
168 stars 85 forks source link

updated example instructions #165

Closed evanhughes3 closed 9 years ago

evanhughes3 commented 9 years ago

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"

akitchen commented 9 years ago

Thanks!