I have tried to build the sample “PDFViewCtrlDemo” project provided with SDK.
But on my machine sample Xcode project giving compilation error while linking to library. Can some one help me to out on this problem.
ld: lto: could not merge in /IOS SDk/PDFNet_iOS-2/Lib/libPDFNet.a(PDFViewCtrl.o) because Invalid SWITCH record for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
My machine details as below
Mac OS X 10.8.2
June 25, 2013
If you update to XCode 4.6 and iOS SDK 6.1 the problem will be resolved.