Hi,
I am trying to switch my barcode scanning code use the cn1-codescan.cn1lib as the now deprecated code no longer seems to work. I am pretty sure I have done everything correctly but I get a build error from the codename one server.
I have got the cn1-codescan.cn1lib file from GitHub, and placed it into my projects lib folder. I have then chosen the codename one Refresh Libs option and that has generated all the cs/stubs etc code in the lib/impl folder. So I think this is all correct
However I get the following build error from the codename one build server (pasted below). Can anyone enlighten me as to what's gone wrong?
Also, just to point out that the file com_codename1_ext_codescan_NativeCodeScannerImpl.h that it says it can't find has been generated in the lib\impl\native\ios folder. Do I need to add something to build.xml to ensure that it gets uploaded to the server?
Thanks in advance,
Paul
CompileC build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.o ApplicationWrapper-src/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode6.app/Contents/Developer/usr/bin:/Users/administrator/.jenv/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
/Applications/Xcode6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 -Wno-trigraphs -fpascal-strings -O3 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wno-int-conversion -Wbool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=5.1.1 -iquote /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-generated-files.hmap -I/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-own-target-headers.hmap -I/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-all-target-headers.hmap -iquote /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-project-headers.hmap -I/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/Release-iphoneos/include -I/Applications/Xcode6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/DerivedSources/armv7 -I/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/DerivedSources -F/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/Release-iphoneos -include /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/C/com.apple.DeveloperTools/6.0.1-6A317/Xcode/SharedPrecompiledHeaders/ApplicationWrapper-Prefix-fntfsatmzprngoekkhddckrvegfg/ApplicationWrapper-Prefix.pch -MMD -MT dependencies -MF /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.d --serialize-diagnostics /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.dia -c /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/ApplicationWrapper-src/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.m -o /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.o
/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/ApplicationWrapper-src/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.m:5:9: fatal error: 'com_codename1_ext_codescan_NativeCodeScannerImpl.h' file not found
#import "com_codename1_ext_codescan_NativeCodeScannerImpl.h"
^
1 error generated.