Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

Unable to generate libRDPDFLibSDK.a from make command in terminal.

More
IP: 123.252.215.229 5 years 3 months ago - 5 years 3 months ago #15322 by apdeveloper
Hi Team,
Below is the error which i am getting while generating the library from terminal

fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: libRDPDFLib-i386.a and libRDPDFLib-arm64.a have the same architectures (arm64) and can't be in the same fat output file
make: *** [libRDPDFLibSDK.a] Error 1

Note : I don't want to use the latest library because the one which i am woking i have already made lots of changes into the library so kindly recommend me good solution as i have some urgent releases.
Last edit: 5 years 3 months ago by apdeveloper.
More
IP: 123.252.215.229 5 years 3 months ago #15324 by apdeveloper
Hi Team,

Can you please update me as soon as possible.
More
IP: 80.180.72.15 5 years 3 months ago #15325 by federico
Dear apdeveloper,
Could you please tell us which demo's version have you started from?
More
More
IP: 80.180.72.15 5 years 3 months ago #15327 by federico
Dear apdeveloper,
I suggest you to exclude arm64 architecture in Release.
Select the project or target -> Build Settings -> Excluded Architecture and add in Release "arm64".
More
IP: 123.252.215.229 5 years 3 months ago #15328 by apdeveloper
Hi Team,
This is my make file which i am using to make lib

XBUILD=/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
PROJECT_ROOT=./RadaeeLib
PROJECT=$(PROJECT_ROOT)/RadaeeLib.xcodeproj
TARGET=RadaeeLib

all: libRDPDFLibSDK.a

libRDPDFLib-i386.a:
$(XBUILD) -project $(PROJECT) -target $(TARGET) -sdk iphonesimulator -configuration Release clean build
-mv $(PROJECT_ROOT)/build/Release-iphonesimulator/lib$(TARGET).a $@

libRDPDFLib-armv7.a:
$(XBUILD) -project $(PROJECT) -target $(TARGET) -sdk iphoneos -arch armv7 -configuration Release clean build
-mv $(PROJECT_ROOT)/build/Release-iphoneos/lib$(TARGET).a $@
//Note : If i remove this arm64 does our app will work on all iphone and ipad
libRDPDFLib-arm64.a:
$(XBUILD) -project $(PROJECT) -target $(TARGET) -sdk iphoneos -arch arm64 -configuration Release clean build
-mv $(PROJECT_ROOT)/build/Release-iphoneos/lib$(TARGET).a $@
//Till here
libRDPDFLibSDK.a: libRDPDFLib-i386.a libRDPDFLib-armv7.a libRDPDFLib-arm64.a
xcrun -sdk iphoneos lipo -create -output $@ $^

clean:
-rm -f *.a *.dll
Time to create page: 0.416 seconds
Powered by Kunena Forum