Send ios debug build errors with testFlight - codenameone

I send ios to debug build with ios.testFlight=true but got errors.
ld: framework not found LocalAuthentication.frameworkSystemConfiguration
ld: framework not found LocalAuthentication.frameworkSystemConfiguration
clang: clang: error: error: linker command failed with exit code 1 (use -v to see invocation)
linker command failed with exit code 1 (use -v to see invocation)
** ARCHIVE FAILED **
** ARCHIVE FAILED **
The following build commands failed:
The following build commands failed:
Ld /var/folders/qb/8bn8h7993fq_r1xc549w05yw0000gn/T/build3940251568321742808xxx/dist/build/Build/Intermediates.noindex/ArchiveIntermediates/VisionClass/InstallationBuildProductsLocation/Applications/VisionClass.app/VisionClass normal (in target 'VisionClass' from project 'VisionClass')
(1 failure)
Ld /var/folders/qb/8bn8h7993fq_r1xc549w05yw0000gn/T/build3940251568321742808xxx/dist/build/Build/Intermediates.noindex/ArchiveIntermediates/VisionClass/InstallationBuildProductsLocation/Applications/VisionClass.app/VisionClass normal (in target 'VisionClass' from project 'VisionClass')
(1 failure)
Process return code is 65
Failed xcodebuild step
Thanks.

Related

Running libdatachannel over esp32 board

I am using esp idf to develop my project. I downloaded libdatachannel in esp folder so now I have 2 directories in esp folder:
esp-idf
libdatachannel
I then updated CMakeLists.txt in the root of my project and added line
set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/examples/common_components/protocol_examples_common $ENV{IDF_PATH}/../libdatachannel")
now when I try to build the project I get following callstack
Executing task: ninja
[0/1] Re-running CMake...
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32 CMake Error at /Users/ayaz/esp/esp-idf/tools/cmake/component.cmake:219 (message):
CMake Warning (dev) at build_properties.temp.cmake:7:
Syntax Warning in cmake code at column 51
Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
/Users/ayaz/esp/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:3
(include)
This warning is for project developers. Use -Wno-dev to suppress
it.
fatal: not a git repository (or any parent up to mount point
/Volumes)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not
set).
CMake Error at /Users/ayaz/esp/libdatachannel/CMakeLists.txt:2
(project):
project command is not scriptable
Call Stack (most recent call first):
/Users/ayaz/esp/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:106
(include)
/Users/ayaz/esp/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:124
(__component_get_requirements)
Call Stack (most recent call first):
/Users/ayaz/esp/esp-idf/tools/cmake/build.cmake:491
(__component_get_requirements)
/Users/ayaz/esp/esp-idf/tools/cmake/project.cmake:378
(idf_build_process) CMakeLists.txt:10 (project)
-- Configuring incomplete, errors occurred! See also "/Volumes/Projects/ESP-Projects/websocket/build/CMakeFiles/CMakeOutput.log".
FAILED: build.ninja
/Users/ayaz/.espressif/tools/cmake/3.20.3/CMake.app/Contents/bin/cmake
--regenerate-during-build -S/Volumes/Projects/ESP-Projects/websocket -B/Volumes/Projects/ESP-Projects/websocket/build ninja: error: rebuilding 'build.ninja': subcommand failed
The terminal process "/bin/zsh '-c', 'ninja '" terminated with
exit code: 1.
PROGRESS SO FAR:
I am having following error while building toolchain
Compiling the CXX compiler identification source file
"CMakeCXXCompilerId.cpp" failed. Compiler:
/Volumes/Extra/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
Build flags: Id flags:
The output was: 1 ld: library not found for -lc++ clang: error: linker
command failed with exit code 1 (use -v to see invocation)
Compiling the C compiler identification source file
"CMakeCCompilerId.c" failed. Compiler:
/Volumes/Extra/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
Build flags: Id flags:
The output was: 1 ld: library not found for -lSystem clang: error:
linker command failed with exit code 1 (use -v to see invocation)
another problem is that esp32 uses xtensa-esp32-elf- compiler where as libdatachannel is getting compiled using Apple Clang. I need to modify sdkconfig so that all includes gets compiled using xtensa-esp32-elf-
# The following four lines of boilerplate have to be in your project's CMakeLists
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
# (Not part of the boilerplate)
# This example uses an extra component for common functions such as Wi-Fi and Ethernet connection.
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples_common)
include($ENV{IDF_PATH}/../libdatachannel/CMakeLists.txt)
include($ENV{ADF_PATH}/CMakeLists.txt)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(websocket_example)

An error while building a project : arm-none-eabi/bin/ld: cannot find -lnsc

I am using eclipse for building a demo project. I tried different toolchain versions of arm-none-eabi but all of them give me the same error :
/usr/share/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: cannot find -lnsc
collect2: error: ld returned 1 exit status `
I followed this(first answer) to install arm-none-eabi on my Ubuntu:
https://askubuntu.com/questions/1243252/how-to-install-arm-none-eabi-gdb-on-ubuntu-20-04-lts-focal-fossa

hdf5.h error when installing hdf5 using luarocks

I am installing hdf5 for lua using luarocks command,
luarocks --local install hdf5
Then I got an error;
make[1]: Entering directory '/tmp/luarocks_hdf5-2.0.0-1-g0RmEe/lua-hdf5/hdf5'
In file included from <command-line>:0:0:
/usr/include/stdc-predef.h:63:1: fatal error: H5pubconf.h: No such file or directory
#endif
^
compilation terminated.
gcc -E -o C.i -I/tmp/luarocks_hdf5-2.0.0-1-g0RmEe/lua-hdf5/hdf5/../gcc-lua-cdecl/ffi-cdecl C.c
C.c:11:18: fatal error: hdf5.h: No such file or directory
#include <hdf5.h>
^
compilation terminated.
Makefile:33: recipe for target 'C.i' failed
make[1]: *** [C.i] Error 1
make[1]: Leaving directory '/tmp/luarocks_hdf5-2.0.0-1-g0RmEe/lua-hdf5/hdf5'
Makefile:44: recipe for target 'hdf5' failed
make: *** [hdf5] Error 2
Error: Build error: Failed building.
I am using lua 5.3 with luarocks 3.2.0 and gcc-4.8 compiler on an ubuntu 18.04 system.
Can anyone please help out?

WiiUse library and MAC El Capitan Undefined symbols

I'm trying to install WiiUse (https://github.com/rpavlik/wiiuse) on my El Capitan.
First I downloaded all the git, then I followed the instruction and when I try to run the example I get this error:
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
How to solve this?

Linker error with flex

I just finished compiling and installing flex for my macbook pro and tried to compile a file using flex. I get the following error:
ld: library not found for -lfl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [myhtml2txt] Error 1
I believe -lfl is the linker for flex, so why am I getting this error, and how can I fix it?
you are missing to add libflex or it could be libfl. your main error ld: library not found for -lfltells that library is missing. l in -lfl denotes the library. by adding library you will not see this error

Resources