card-io / card.io-iOS-SDK

card.io provides fast, easy credit card scanning in mobile apps
Other
2.29k stars 553 forks source link

Card IO Library Giving Error While using With Project #216

Closed sachin123sharma closed 8 years ago

sachin123sharma commented 8 years ago

Hello team ,

I am using cardio for creating custom view , While using My Library I am getting Following Link Error:

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++ -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -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/Residential\ Test.app.xcent -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
[TRACE] :  
[TRACE] :  Ld build/Intermediates/Residential\ Test.build/Debug-iphonesimulator/Residential\ Test.build/Objects-normal/x86_64/Residential\ Test normal x86_64
[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 x86_64 -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/x86_64/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++ -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -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/Residential\ Test.app.xcent -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/x86_64/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/x86_64/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] :  ld: warning: object file (/Users/ssharma/Desktop/ServiceMaster/Project/FR/DEV/SPRINT_3_1/18jul2016/FieldResidential/modules/iphone/com.mirasense.scanditsdk/4.14.0/platform/ScanditBarcodeScanner.framework/ScanditBarcodeScanner(scandit-barcodescanner.o)) was built for newer iOS version (10.11) than being linked (7.1)
[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)
[ERROR] :  ** BUILD FAILED **
bluk commented 8 years ago

Please ensure that you are also including all the frameworks (specifically Accelerate) as well as the OpenCV static libraries when building your app. Note also that you will need to scan credit cards using a phone which has a camera (it won't work in the simulator).

If this does not fix your issue, please leave a comment and we'll reopen this issue. Thanks!