- Posts: 67
- Thank you received: 0
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.
- apdeveloper
- Topic Author
- Offline
- Senior Member
-
Less
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.
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.
- apdeveloper
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 67
- Thank you received: 0
IP: 123.252.215.229
5 years 3 months ago #15324
by apdeveloper
Replied by apdeveloper on topic Unable to generate libRDPDFLibSDK.a from make command in terminal.
Hi Team,
Can you please update me as soon as possible.
Can you please update me as soon as possible.
IP: 80.180.72.15
5 years 3 months ago #15325
by federico
Replied by federico on topic Unable to generate libRDPDFLibSDK.a from make command in terminal.
Dear apdeveloper,
Could you please tell us which demo's version have you started from?
Could you please tell us which demo's version have you started from?
- apdeveloper
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 67
- Thank you received: 0
IP: 123.252.215.229
5 years 3 months ago #15326
by apdeveloper
Replied by apdeveloper on topic Unable to generate libRDPDFLibSDK.a from make command in terminal.
It is Version 1.0
IP: 80.180.72.15
5 years 3 months ago #15327
by federico
Replied by federico on topic Unable to generate libRDPDFLibSDK.a from make command in terminal.
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".
I suggest you to exclude arm64 architecture in Release.
Select the project or target -> Build Settings -> Excluded Architecture and add in Release "arm64".
- apdeveloper
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 67
- Thank you received: 0
IP: 123.252.215.229
5 years 3 months ago #15328
by apdeveloper
Replied by apdeveloper on topic Unable to generate libRDPDFLibSDK.a from make command in terminal.
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
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