Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

How to Generate New libCardIO.a using Xcode in Release Mode. #71

Open
sachin123sharma opened this issue Aug 14, 2016 · 2 comments
Open

Comments

@sachin123sharma
Copy link

Hello Team ,

I am Compiling icc Project using Xcode , Using Scheme CARDIO static library , Project compiles Successfully , but I can not find build folder under project directory which gets generated on successful compilation of Library ,

Please can you suggest how i can generate New .a file using Xcode. What all setup needs to do for same??

Thanks ,
Sachinkumar Sharma

@romk1n
Copy link
Contributor

romk1n commented Aug 15, 2016

@sachin123sharma by default Xcode will output all the files in the derived data folder ~/Library/Developer/Xcode/DerivedData/<your_project>. If you you need to compile a fat library you will have to use fab command explained in the readme of this repo.

@sachin123sharma
Copy link
Author

I am using this libCardio.a Library In LikelysoftCard Titanium Module. But While Loading this module , I am Getting Following Error.
[TRACE] : Undefined symbols for architecture x86_64:
[TRACE] : "_vImageBoxConvolve_ARGB8888", referenced from:
[TRACE] : -[UIImage(ImageEffects) applyBlurWithRadius:tintColor:saturationDeltaFactor:maskImage:] in libcom.likelysoft.cardio.a(UIImage+ImageEffects.o)
[TRACE] : "_vImageMatrixMultiply_ARGB8888", referenced from:
[TRACE] : -[UIImage(ImageEffects) applyBlurWithRadius:tintColor:saturationDeltaFactor:maskImage:] in libcom.likelysoft.cardio.a(UIImage+ImageEffects.o)
[TRACE] : ld: symbol(s) not found for architecture x86_64
[TRACE] : clang: error: linker command failed with exit code 1 (use -v to see invocation)
[TRACE] :
[TRACE] : Ld build/Intermediates/Residential\ Test.build/Debug-iphonesimulator/Residential\ Test.build/Objects-normal/i386/Residential\ Test normal i386
[TRACE] : cd /Users/ssharma/Desktop/ServiceMaster/Project/FR/DEV/SPRINT_3_1/18jul2016/FieldResidential/build/iphone
[TRACE] : export IPHONEOS_DEPLOYMENT_TARGET=7.1
[TRACE] : export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
[TRACE] : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -L/Users/ssharma/Desktop/ServiceMaster/Project/FR/DEV/SPRINT_3_1/18jul2016/FieldResidential/build/iphone/build/Products/Debug-iphonesimulator -L/Users/ssharma/Desktop/ServiceMaster/Project/FR/DEV/SPRINT_3_1/18jul2016/FieldResidential/build/iphone/lib -L/Users/ssharma/Desktop/ServiceMaster/Project/FR/DEV/SPRINT_3_1/18jul2016/FieldResidential/build/iphone/Classes/APSAnalytics -L/Users/ssharma/Desktop/ServiceMaster/Project/FR/DEV/SPRINT_3_1/18jul2016/FieldResidential/build/iphone/Classes/APSHTTPClient -L/Users/ssharma/Library/Application\ Support/Titanium/modules/iphone/ti.geofence/1.1.4 -L/Users/ssharma/Library/Application\ Support/Titanium/modules/iphone/com.appcelerator.apm/1.1.5 -L/Users/ssharma/Library/Application\ Support/Titanium/modules/iphone/ti.map/2.5.2 -L/Users/ssharma/Desktop/ServiceMaster/Project/FR/DEV/SPRINT_3_1/18jul2016/FieldResidential/modules/iphone/com.likelysoft.cardio/1.0.0 -L/Users/ssharma/Desktop/ServiceMaster/Project/FR/DEV/SPRINT_3_1/18jul2016/FieldResidential/modules/iphone/ti.compression/1.1.1 -L/Users/ssharma/Desktop/ServiceMaster/Project/FR/DEV/SPRINT_3_1/18jul2016/FieldResidential/modules/iphone/com.mirasense.scanditsdk/4.14.0 -F/Users/ssharma/Desktop/ServiceMaster/Project/FR/DEV/SPRINT_3_1/18jul2016/FieldResidential/build/iphone/build/Products/Debug-iphonesimulator -F/Users/ssharma/Desktop/ServiceMaster/Project/FR/DEV/SPRINT_3_1/18jul2016/FieldResidential/build/iphone/../../modules/iphone/com.mirasense.scanditsdk/4.14.0/platform -F/Library/Application\ Support/Titanium/modules/iphone/com.mirasense.scanditsdk/4.14.0/platform -F/Users/ssharma/Library/Application\ Support/Titanium/modules/iphone/com.mirasense.scanditsdk/4.14.0/platform -filelist /Users/ssharma/Desktop/ServiceMaster/Project/FR/DEV/SPRINT_3_1/18jul2016/FieldResidential/build/iphone/build/Intermediates/Residential\ Test.build/Debug-iphonesimulator/Residential\ Test.build/Objects-normal/i386/Residential\ Test.LinkFileList -mios-simulator-version-min=7.1 -dead_strip -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -ObjC -framework CoreLocation -framework CoreLocation -weak_framework MapKit -weak_framework MapKit -framework CoreVideo -framework CoreMedia -framework CoreGraphics -framework CoreText -framework AVFoundation -framework AudioToolbox -framework UIKit -framework QuartzCore -framework SystemConfiguration -liconv -lz -lc++ -framework ScanditBarcodeScanner -fobjc-arc -framework CoreVideo -framework CoreMedia -framework CoreGraphics -framework CoreText -framework AVFoundation -framework AudioToolbox -framework UIKit -framework QuartzCore -framework SystemConfiguration -liconv -lz -lc++ -framework ScanditBarcodeScanner -fobjc-arc -weak-lti_ios_profiler -weak-lti_ios_debugger -weak-lTiCore -weak_framework Contacts -weak_framework ContactsUI -weak_framework WatchConnectivity -weak_framework CoreSpotlight -fobjc-link-runtime -stdlib=libc++ -weak_framework iAd -framework CoreMedia -weak_framework CoreMotion -lAPSAnalytics -weak_framework CoreText -framework EventKit -framework EventKitUI -weak_framework Security -licucore -framework Foundation -weak_framework UIKit -framework CoreGraphics -weak_framework AddressBook -framework AddressBookUI -framework CFNetwork -framework CoreLocation -weak_framework MapKit -framework MessageUI -framework MobileCoreServices -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -lsqlite3 -lz -framework AudioToolbox -weak_framework MediaPlayer -framework AVFoundation -lxml2 -framework StoreKit -lAPSHTTPClient -framework ExternalAccessory -ltiverify -lti.geofence -lcom.appcelerator.apm -lti.map -lcom.likelysoft.cardio -lti.compression -lcom.mirasense.scanditsdk -Xlinker -dependency_info -Xlinker /Users/ssharma/Desktop/ServiceMaster/Project/FR/DEV/SPRINT_3_1/18jul2016/FieldResidential/build/iphone/build/Intermediates/Residential\ Test.build/Debug-iphonesimulator/Residential\ Test.build/Objects-normal/i386/Residential\ Test_dependency_info.dat -o /Users/ssharma/Desktop/ServiceMaster/Project/FR/DEV/SPRINT_3_1/18jul2016/FieldResidential/build/iphone/build/Intermediates/Residential\ Test.build/Debug-iphonesimulator/Residential\ Test.build/Objects-normal/i386/Residential\ Test
[TRACE] : ld: warning: directory not found for option '-F/Library/Application Support/Titanium/modules/iphone/com.mirasense.scanditsdk/4.14.0/platform'
[TRACE] : ld: warning: directory not found for option '-F/Users/ssharma/Library/Application Support/Titanium/modules/iphone/com.mirasense.scanditsdk/4.14.0/platform'
[TRACE] : Undefined symbols for architecture i386:
[TRACE] : "_vImageBoxConvolve_ARGB8888", referenced from:
[TRACE] : -[UIImage(ImageEffects) applyBlurWithRadius:tintColor:saturationDeltaFactor:maskImage:] in libcom.likelysoft.cardio.a(UIImage+ImageEffects.o)
[TRACE] : "_vImageMatrixMultiply_ARGB8888", referenced from:
[TRACE] : -[UIImage(ImageEffects) applyBlurWithRadius:tintColor:saturationDeltaFactor:maskImage:] in libcom.likelysoft.cardio.a(UIImage+ImageEffects.o)
[TRACE] : ld: symbol(s) not found for architecture i386

Please suggest?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants