Coder Social home page Coder Social logo

apotocki / boost-iosx Goto Github PK

View Code? Open in Web Editor NEW
58.0 6.0 16.0 87 KB

Builds Boost C++ libraries and packages them as XCFrameworks for iOS (simulator and device), visionOS (simulator and device), macOS, and Mac Catalyst (Intel & Apple Silicon M1).

License: Boost Software License 1.0

Ruby 39.99% Shell 60.01%
boost ios macosx xcframework boost-libraries ios-simulator cpp mac-catalyst visionos visionos-simulator

boost-iosx's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

boost-iosx's Issues

[!] Error installing boost

[!] Error installing boost
Verification checksum was incorrect, expected 6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e, got 5e89103d9b70bba5c91a794126b169cb67654be2051f90cf7c22ba6893ede0ff

ld: symbol(s) not found for architecture arm64

I am not sure if this is the correct project to file this issue, but after updating to Flipper 0.96.1, a new package called Flipper-Boost-iOSX was added, and that causes this error:

Undefined symbols for architecture arm64:
  "___cxa_increment_exception_refcount", referenced from:
      folly::cxxabi_cxa_exception_sans_reserve() in libFlipper-Folly.a(Exception.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **


The following build commands failed:
	Ld /Users/kasra/Library/Developer/Xcode/DerivedData/InflationCalc-fmwbpshgatctktepfxhturrnjevn/Build/Products/Debug-iphoneos/InflationCalc.app/InflationCalc normal
(1 failure)
System:
    OS: macOS 11.4
    CPU: (4) x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
    Memory: 35.37 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.15.3 - ~/.nvm/versions/node/v14.15.3/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.18.1 - ~/.nvm/versions/node/v14.15.3/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK:
      API Levels: 28, 29, 30
      Build Tools: 28.0.3, 29.0.2, 30.0.2
      System Images: android-28 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.2 AI-202.7660.26.42.7486908
    Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_275 - /usr/bin/javac

Flipper  0.96.1
Flipper-Folly 2.6.9
Flipper-RSocket 1.4.3
FlipperKit  0.96.1
OpenSSL-Universal 1.1.1100

Apple Silicon

Is it possible to use the script to build the Apple Silicon version (M1)?

Boost built and ready for iOS/macOS (repo)

Just to help and save other developers time

I've made a repository which contains Boost and OpenSSL built and ready for iOS and macOS architectures.

Includes thread-safe libraries aswell!

If possible, do not close this issue, just trying to help!

Scripting build failed

Build configuration:

Xcode 13.1
Apple M1 macOS

Below build error log:

boost-iosx % scripts/build.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 105M 100 105M 0 0 41043 0 0:44:56 0:44:56 --:--:-- 51690
extracting boost_1_78_0.tar.bz2 ...
~/RnD/boost-iosx/boost ~/RnD/boost-iosx
Building B2 engine..

Using 'clang' toolset.

Apple clang version 13.0.0 (clang-1300.0.29.3)
Target: arm64-apple-darwin21.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

clang++ -x c++ -std=c++11 -O3 -s -DNDEBUG builtins.cpp class.cpp command.cpp compile.cpp constants.cpp cwd.cpp debug.cpp debugger.cpp execcmd.cpp execnt.cpp execunix.cpp filesys.cpp filent.cpp fileunix.cpp frames.cpp function.cpp glob.cpp hash.cpp hcache.cpp hdrmacro.cpp headers.cpp jam_strings.cpp jam.cpp jamgram.cpp lists.cpp make.cpp make1.cpp md5.cpp mem.cpp modules.cpp native.cpp object.cpp option.cpp output.cpp parse.cpp pathnt.cpp pathsys.cpp pathunix.cpp regexp.cpp rules.cpp scan.cpp search.cpp startup.cpp subst.cpp sysinfo.cpp timestamp.cpp variable.cpp w32_getreg.cpp modules/order.cpp modules/path.cpp modules/property-set.cpp modules/regex.cpp modules/sequence.cpp modules/set.cpp -o b2
ld: warning: option -s is obsolete and being ignored
cp b2 bjam
tools/build/src/engine/b2
Detecting Python version... 3.10
Detecting Python root... /opt/local/Library/Frameworks/Python.framework/Versions/3.10
Unicode/ICU support for Boost.Regex?... /opt/local
Generating B2 configuration in project-config.jam for clang...

Bootstrapping is done. To build, run:

./b2

To generate header files, run:

./b2 headers

The configuration generated uses clang to build by default. If that is
unintended either use the --with-toolset option or adjust configuration, by
editing 'project-config.jam'.

Further information:

~/RnD/boost-iosx
~/RnD/boost-iosx/scripts ~/RnD/boost-iosx
Preparing

Analyzing dependencies

Inspecting targets to integrate
Using ARCHS setting to build architectures of target Pods-ICUdep: (``)

Resolving dependencies of Podfile
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local
because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_b_4_6.txt exists! Returning local
because checking is only performed in repo update
CDN: trunk Relative path:
Specs/b/4/6/icu4c-iosx/70.1.1/icu4c-iosx.podspec.json exists! Returning local
because checking is only performed in repo update
CDN: trunk Relative path:
Specs/b/4/6/icu4c-iosx/70.1.1/icu4c-iosx.podspec.json exists! Returning local
because checking is only performed in repo update
CDN: trunk Relative path:
Specs/b/4/6/icu4c-iosx/69.1.2/icu4c-iosx.podspec.json exists! Returning local
because checking is only performed in repo update
CDN: trunk Relative path:
Specs/b/4/6/icu4c-iosx/69.1.1/icu4c-iosx.podspec.json exists! Returning local
because checking is only performed in repo update
CDN: trunk Relative path:
Specs/b/4/6/icu4c-iosx/68.2.1/icu4c-iosx.podspec.json exists! Returning local
because checking is only performed in repo update
CDN: trunk Relative path: Specs/b/4/6/icu4c-iosx/68/icu4c-iosx.podspec.json
exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path:
Specs/b/4/6/icu4c-iosx/62.2.1/icu4c-iosx.podspec.json exists! Returning local
because checking is only performed in repo update

Comparing resolved specification to the sandbox manifest
A icu4c-iosx

Downloading dependencies

-> Installing icu4c-iosx (70.1.1)

Git download
Git download
$ /opt/homebrew/bin/git clone https://github.com/apotocki/icu4c-iosx.git
/var/folders/y8/gbmy4gvn6tx68__7fn6bt5vc0000gp/T/d20220321-34911-sx7xgg
--template= --single-branch --depth 1 --branch 70.1.1
Cloning into '/var/folders/y8/gbmy4gvn6tx68__7fn6bt5vc0000gp/T/d20220321-34911-sx7xgg'...
Note: switching to 'cd1829518a8fc5dd3df2e9091c7f9e8324baf916'.

 You are in 'detached HEAD' state. You can look around, make experimental
 changes and commit them, and you can discard any commits you make in this
 state without impacting any branches by switching back to a branch.
 
 If you want to create a new branch to retain commits you create, you may
 do so (now or later) by using -c with the switch command. Example:
 
   git switch -c <new-branch-name>
 
 Or undo this operation with:
 
   git switch -
 
 Turn off this advice by setting config variable advice.detachedHead to false
 
 $ /opt/homebrew/bin/git -C
 /var/folders/y8/gbmy4gvn6tx68__7fn6bt5vc0000gp/T/d20220321-34911-sx7xgg
 submodule update --init --recursive
 Submodule 'icu' (https://github.com/unicode-org/icu) registered for path 'icu'
 Cloning into '/private/var/folders/y8/gbmy4gvn6tx68__7fn6bt5vc0000gp/T/d20220321-34911-sx7xgg/icu'...
 Submodule path 'icu': checked out 'a56dde820dc35665a66f2e9ee8ba58e75049b668'

Running prepare command
$ /bin/bash -c set -e sh scripts/build.sh
~/Library/Caches/CocoaPods/Pods/Release/icu4c-iosx/70.1.1-e851a/icu ~/Library/Caches/CocoaPods/Pods/Release/icu4c-iosx/70.1.1-e851a
Updating files: 100% (9336/9336), done.
HEAD is now at a56dde820d ICU-21579 Fix warnings in number formatting code
~/Library/Caches/CocoaPods/Pods/Release/icu4c-iosx/70.1.1-e851a
preparing build folder icu4c-maint-maint-70-build ...
building icu (mac osx)...
~/Library/Caches/CocoaPods/Pods/Release/icu4c-iosx/70.1.1-e851a/icu4c-maint-maint-70-build/source ~/Library/Caches/CocoaPods/Pods/Release/icu4c-iosx/70.1.1-e851a
export CPP= CC= CXX= CPPFLAGS= CFLAGS=-O2 CXXFLAGS=-O2 LDFLAGS= MAKE=
Running ./configure --enable-static --disable-shared prefix=/Users/bjit/Library/Caches/CocoaPods/Pods/Release/icu4c-iosx/70.1.1-e851a/product CXXFLAGS=--std=c++17 for MacOS X (Darwin) using the default compiler

checking for ICU version numbers... release 70.1, library 70.1, unicode version 14.0
checking build system type... arm-apple-darwin21.3.0
checking host system type... arm-apple-darwin21.3.0
checking whether to build debug libraries... no
checking whether to build release libraries... yes
checking for clang... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for clang++... clang++
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking for ICULEHB... no
checking how to run the C preprocessor... clang -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for python3... python3
checking for gmake... no
checking for gnumake... /usr/bin/gnumake
checking for doxygen... no
checking checking for executable suffix...
checking whether strict compiling is on... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of void *... 8
checking whether runnable 64 bit binaries are built by default... yes
checking which Makefile fragment to use for arm-apple-darwin21.3.0... mh-darwin
checking for floor in -lm... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether we can use static library optimization option... yes
checking whether to enable auto cleanup of libraries... no
checking whether to enable draft APIs... yes
checking for ranlib... ranlib
checking for a sed that does not truncate output... /usr/bin/sed
checking for ar... ar
checking whether to enable renaming of symbols... yes
checking whether to enable function and data tracing... no
checking elf.h usability... no
checking elf.h presence... no
checking for elf.h... no
checking whether to enable dynamic loading of plugins. Ignored if plugins disabled.... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for library containing dlopen... none required
checking for dlopen... yes
checking for gettimeofday... yes
checking if we have a C++ compiler... Good
checking for pthread_attr_init in -lpthread... yes
checking for mmap... yes
checking for genccode assembly...
checking for inttypes.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking whether byte ordering is bigendian... no
checking for nl_langinfo... yes
checking for nl_langinfo's argument to obtain the codeset... CODESET
checking for namespace support... yes
checking for properly overriding new and delete... yes
checking for placement new and delete... yes
checking for popen... yes
checking for tzset... yes
checking for tzname... yes
checking for timezone... yes
checking for strtod_l... yes
checking xlocale.h usability... yes
checking xlocale.h presence... yes
checking for xlocale.h... yes
checking for std::string_view... yes
checking for int8_t... yes
checking for uint8_t... yes
checking for int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for int64_t... yes
checking for uint64_t... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for library containing wcscpy... none required
checking size of wchar_t... 4
checking for UTF-16 string literal support... available
checking for a library suffix to use... none
checking whether C++ compiler accepts -Wambiguous-reversed-operator... yes
CPPFLAGS= $(THREADSCPPFLAGS) -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -DU_HAVE_STRING_VIEW=1
CFLAGS=-O2 -std=c11 -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $(THREADSCFLAGS) -Qunused-arguments -Wno-parentheses-equality
CXXFLAGS=--std=c++17 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-ambiguous-reversed-operator $(THREADSCXXFLAGS) -Qunused-arguments -Wno-parentheses-equality
configure: creating ./config.status
config.status: creating icudefs.mk
config.status: creating Makefile
config.status: creating data/pkgdataMakefile
config.status: creating config/Makefile.inc
config.status: creating config/icu.pc
config.status: creating config/pkgdataMakefile
config.status: creating data/Makefile
config.status: creating stubdata/Makefile
config.status: creating common/Makefile
config.status: creating i18n/Makefile
config.status: creating layoutex/Makefile
config.status: creating io/Makefile
config.status: creating extra/Makefile
config.status: creating extra/uconv/Makefile
config.status: creating extra/uconv/pkgdataMakefile
config.status: creating extra/scrptrun/Makefile
config.status: creating tools/Makefile
config.status: creating tools/ctestfw/Makefile
config.status: creating tools/toolutil/Makefile
config.status: creating tools/makeconv/Makefile
config.status: creating tools/genrb/Makefile
config.status: creating tools/genccode/Makefile
config.status: creating tools/gencmn/Makefile
config.status: creating tools/gencnval/Makefile
config.status: creating tools/gendict/Makefile
config.status: creating tools/gentest/Makefile
config.status: creating tools/gennorm2/Makefile
config.status: creating tools/genbrk/Makefile
config.status: creating tools/gensprep/Makefile
config.status: creating tools/icuinfo/Makefile
config.status: creating tools/icupkg/Makefile
config.status: creating tools/icuswap/Makefile
config.status: creating tools/pkgdata/Makefile
config.status: creating tools/icuexportdata/Makefile
config.status: creating tools/tzcode/Makefile
config.status: creating tools/gencfu/Makefile
config.status: creating tools/escapesrc/Makefile
config.status: creating test/Makefile
config.status: creating test/compat/Makefile
config.status: creating test/testdata/Makefile
config.status: creating test/testdata/pkgdataMakefile
config.status: creating test/hdrtst/Makefile
config.status: creating test/intltest/Makefile
config.status: creating test/cintltst/Makefile
config.status: creating test/iotest/Makefile
config.status: creating test/letest/Makefile
config.status: creating test/perf/Makefile
config.status: creating test/perf/collationperf/Makefile
config.status: creating test/perf/collperf/Makefile
config.status: creating test/perf/collperf2/Makefile
config.status: creating test/perf/dicttrieperf/Makefile
config.status: creating test/perf/ubrkperf/Makefile
config.status: creating test/perf/charperf/Makefile
config.status: creating test/perf/convperf/Makefile
config.status: creating test/perf/localecanperf/Makefile
config.status: creating test/perf/normperf/Makefile
config.status: creating test/perf/DateFmtPerf/Makefile
config.status: creating test/perf/howExpensiveIs/Makefile
config.status: creating test/perf/strsrchperf/Makefile
config.status: creating test/perf/unisetperf/Makefile
config.status: creating test/perf/usetperf/Makefile
config.status: creating test/perf/ustrperf/Makefile
config.status: creating test/perf/utfperf/Makefile
config.status: creating test/perf/utrie2perf/Makefile
config.status: creating test/perf/leperf/Makefile
config.status: creating test/fuzzer/Makefile
config.status: creating samples/Makefile
config.status: creating samples/date/Makefile
config.status: creating samples/cal/Makefile
config.status: creating samples/layout/Makefile
Spawning Python to generate data/rules.mk...
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 69, in
import msvcrt
ModuleNotFoundError: No module named 'msvcrt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/Users/bjit/Library/Caches/CocoaPods/Pods/Release/icu4c-iosx/70.1.1-e851a/icu4c-maint-maint-70-build/source/python/icutools/databuilder/main.py", line 18, in
from .renderers import makefile, common_exec
File "/Users/bjit/Library/Caches/CocoaPods/Pods/Release/icu4c-iosx/70.1.1-e851a/icu4c-maint-maint-70-build/source/python/icutools/databuilder/renderers/common_exec.py", line 15, in
import subprocess
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 74, in
import _posixsubprocess
ImportError: dynamic module does not define module export function (PyInit__posixsubprocess)
configure: error: Python failed to run; see above error.
./runConfigureICU: ./configure failed
[!] /bin/bash -c
set -e
sh scripts/build.sh

~/Library/Caches/CocoaPods/Pods/Release/icu4c-iosx/70.1.1-e851a/icu ~/Library/Caches/CocoaPods/Pods/Release/icu4c-iosx/70.1.1-e851a
HEAD is now at a56dde820d ICU-21579 Fix warnings in number formatting code
~/Library/Caches/CocoaPods/Pods/Release/icu4c-iosx/70.1.1-e851a
preparing build folder icu4c-maint-maint-70-build ...
building icu (mac osx)...
~/Library/Caches/CocoaPods/Pods/Release/icu4c-iosx/70.1.1-e851a/icu4c-maint-maint-70-build/source ~/Library/Caches/CocoaPods/Pods/Release/icu4c-iosx/70.1.1-e851a
export CPP= CC= CXX= CPPFLAGS= CFLAGS=-O2 CXXFLAGS=-O2 LDFLAGS= MAKE=
Running ./configure --enable-static --disable-shared prefix=/Users/bjit/Library/Caches/CocoaPods/Pods/Release/icu4c-iosx/70.1.1-e851a/product CXXFLAGS=--std=c++17 for MacOS X (Darwin) using the default compiler

checking for ICU version numbers... release 70.1, library 70.1, unicode version 14.0
checking build system type... arm-apple-darwin21.3.0
checking host system type... arm-apple-darwin21.3.0
checking whether to build debug libraries... no
checking whether to build release libraries... yes
checking for clang... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for clang++... clang++
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking for ICULEHB... no
checking how to run the C preprocessor... clang -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for python3... python3
checking for gmake... no
checking for gnumake... /usr/bin/gnumake
checking for doxygen... no
checking checking for executable suffix...
checking whether strict compiling is on... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of void *... 8
checking whether runnable 64 bit binaries are built by default... yes
checking which Makefile fragment to use for arm-apple-darwin21.3.0... mh-darwin
checking for floor in -lm... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether we can use static library optimization option... yes
checking whether to enable auto cleanup of libraries... no
checking whether to enable draft APIs... yes
checking for ranlib... ranlib
checking for a sed that does not truncate output... /usr/bin/sed
checking for ar... ar
checking whether to enable renaming of symbols... yes
checking whether to enable function and data tracing... no
checking elf.h usability... no
checking elf.h presence... no
checking for elf.h... no
checking whether to enable dynamic loading of plugins. Ignored if plugins disabled.... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for library containing dlopen... none required
checking for dlopen... yes
checking for gettimeofday... yes
checking if we have a C++ compiler... Good
checking for pthread_attr_init in -lpthread... yes
checking for mmap... yes
checking for genccode assembly...
checking for inttypes.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking whether byte ordering is bigendian... no
checking for nl_langinfo... yes
checking for nl_langinfo's argument to obtain the codeset... CODESET
checking for namespace support... yes
checking for properly overriding new and delete... yes
checking for placement new and delete... yes
checking for popen... yes
checking for tzset... yes
checking for tzname... yes
checking for timezone... yes
checking for strtod_l... yes
checking xlocale.h usability... yes
checking xlocale.h presence... yes
checking for xlocale.h... yes
checking for std::string_view... yes
checking for int8_t... yes
checking for uint8_t... yes
checking for int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for int64_t... yes
checking for uint64_t... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for library containing wcscpy... none required
checking size of wchar_t... 4
checking for UTF-16 string literal support... available
checking for a library suffix to use... none
checking whether C++ compiler accepts -Wambiguous-reversed-operator... yes
CPPFLAGS= $(THREADSCPPFLAGS) -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -DU_HAVE_STRING_VIEW=1
CFLAGS=-O2 -std=c11 -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $(THREADSCFLAGS) -Qunused-arguments -Wno-parentheses-equality
CXXFLAGS=--std=c++17 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-ambiguous-reversed-operator $(THREADSCXXFLAGS) -Qunused-arguments -Wno-parentheses-equality
configure: creating ./config.status
config.status: creating icudefs.mk
config.status: creating Makefile
config.status: creating data/pkgdataMakefile
config.status: creating config/Makefile.inc
config.status: creating config/icu.pc
config.status: creating config/pkgdataMakefile
config.status: creating data/Makefile
config.status: creating stubdata/Makefile
config.status: creating common/Makefile
config.status: creating i18n/Makefile
config.status: creating layoutex/Makefile
config.status: creating io/Makefile
config.status: creating extra/Makefile
config.status: creating extra/uconv/Makefile
config.status: creating extra/uconv/pkgdataMakefile
config.status: creating extra/scrptrun/Makefile
config.status: creating tools/Makefile
config.status: creating tools/ctestfw/Makefile
config.status: creating tools/toolutil/Makefile
config.status: creating tools/makeconv/Makefile
config.status: creating tools/genrb/Makefile
config.status: creating tools/genccode/Makefile
config.status: creating tools/gencmn/Makefile
config.status: creating tools/gencnval/Makefile
config.status: creating tools/gendict/Makefile
config.status: creating tools/gentest/Makefile
config.status: creating tools/gennorm2/Makefile
config.status: creating tools/genbrk/Makefile
config.status: creating tools/gensprep/Makefile
config.status: creating tools/icuinfo/Makefile
config.status: creating tools/icupkg/Makefile
config.status: creating tools/icuswap/Makefile
config.status: creating tools/pkgdata/Makefile
config.status: creating tools/icuexportdata/Makefile
config.status: creating tools/tzcode/Makefile
config.status: creating tools/gencfu/Makefile
config.status: creating tools/escapesrc/Makefile
config.status: creating test/Makefile
config.status: creating test/compat/Makefile
config.status: creating test/testdata/Makefile
config.status: creating test/testdata/pkgdataMakefile
config.status: creating test/hdrtst/Makefile
config.status: creating test/intltest/Makefile
config.status: creating test/cintltst/Makefile
config.status: creating test/iotest/Makefile
config.status: creating test/letest/Makefile
config.status: creating test/perf/Makefile
config.status: creating test/perf/collationperf/Makefile
config.status: creating test/perf/collperf/Makefile
config.status: creating test/perf/collperf2/Makefile
config.status: creating test/perf/dicttrieperf/Makefile
config.status: creating test/perf/ubrkperf/Makefile
config.status: creating test/perf/charperf/Makefile
config.status: creating test/perf/convperf/Makefile
config.status: creating test/perf/localecanperf/Makefile
config.status: creating test/perf/normperf/Makefile
config.status: creating test/perf/DateFmtPerf/Makefile
config.status: creating test/perf/howExpensiveIs/Makefile
config.status: creating test/perf/strsrchperf/Makefile
config.status: creating test/perf/unisetperf/Makefile
config.status: creating test/perf/usetperf/Makefile
config.status: creating test/perf/ustrperf/Makefile
config.status: creating test/perf/utfperf/Makefile
config.status: creating test/perf/utrie2perf/Makefile
config.status: creating test/perf/leperf/Makefile
config.status: creating test/fuzzer/Makefile
config.status: creating samples/Makefile
config.status: creating samples/date/Makefile
config.status: creating samples/cal/Makefile
config.status: creating samples/layout/Makefile
Spawning Python to generate data/rules.mk...
./runConfigureICU: ./configure failed
Updating files: 100% (9336/9336), done.
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 69, in
import msvcrt
ModuleNotFoundError: No module named 'msvcrt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/Users/bjit/Library/Caches/CocoaPods/Pods/Release/icu4c-iosx/70.1.1-e851a/icu4c-maint-maint-70-build/source/python/icutools/databuilder/main.py", line 18, in
from .renderers import makefile, common_exec
File "/Users/bjit/Library/Caches/CocoaPods/Pods/Release/icu4c-iosx/70.1.1-e851a/icu4c-maint-maint-70-build/source/python/icutools/databuilder/renderers/common_exec.py", line 15, in
import subprocess
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 74, in
import _posixsubprocess
ImportError: dynamic module does not define module export function (PyInit__posixsubprocess)
configure: error: Python failed to run; see above error.

/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/executable.rb:73:in execute_command' /opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/executable.rb:27:in block in executable'
/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/installer/pod_source_preparer.rb:66:in block (2 levels) in run_prepare_command' /opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/installer/pod_source_preparer.rb:60:in chdir'
/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/installer/pod_source_preparer.rb:60:in block in run_prepare_command' /opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/user_interface.rb:64:in section'
/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/installer/pod_source_preparer.rb:59:in run_prepare_command' /opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/installer/pod_source_preparer.rb:37:in prepare!'
/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/downloader/cache.rb:288:in block in copy_and_clean' /opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/downloader/cache.rb:128:in lock'
/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/downloader/cache.rb:99:in write_lock' /opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/downloader/cache.rb:285:in copy_and_clean'
/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/downloader/cache.rb:244:in block (2 levels) in uncached_pod' /opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/downloader/cache.rb:242:in each'
/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/downloader/cache.rb:242:in block in uncached_pod' /opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/downloader/cache.rb:266:in in_tmpdir'
/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/downloader/cache.rb:238:in uncached_pod' /opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/downloader/cache.rb:33:in download_pod'
/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/downloader.rb:42:in download' /opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/installer/pod_source_installer.rb:118:in download_source'
/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/installer/pod_source_installer.rb:69:in install!' /opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/installer.rb:563:in install_source_of_pod'
/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/installer.rb:514:in block (2 levels) in install_pod_sources' /opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/user_interface.rb:86:in titled_section'
/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/installer.rb:513:in block in install_pod_sources' /opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/installer.rb:496:in each'
/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/installer.rb:496:in install_pod_sources' /opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/installer.rb:255:in block in download_dependencies'
/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/user_interface.rb:64:in section' /opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/installer.rb:254:in download_dependencies'
/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/installer.rb:162:in install!' /opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/command/install.rb:52:in run'
/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in run' /opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/lib/cocoapods/command.rb:52:in run'
/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/gems/cocoapods-1.11.2/bin/pod:55:in <top (required)>' /opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/bin/pod:25:in load'
/opt/homebrew/Cellar/cocoapods/1.11.2_2/libexec/bin/pod:25:in `

'

[!] The Podfile contains command line tool target(s) (ICUdep) which are attempting to integrate dynamic frameworks or libraries.
This may not behave as expected, because command line tools are usually distributed as a single binary and cannot contain their own dynamic dependencies.

Please help me to fix above issues.

Failure to build on Apple Silicon

Hello there. Running the build script on Apple Silicon results in this error:

...
   clang++       ...  unewdata.cpp
   clang++       ...  uoptions.cpp
   clang++       ...  uparse.cpp
   clang++       ...  writesrc.cpp
   clang++       ...  xmlparser.cpp
ar r -c ../../lib/libicutu.a collationinfo.ao dbgutil.ao denseranges.ao filestrm.ao filetools.ao flagparser.ao package.ao pkg_genc.ao pkg_gencmn.ao pkg_icu.ao pkgitems.ao ppucd.ao swapimpl.ao toolutil.ao ucbuf.ao ucln_tu.ao ucm.ao ucmstate.ao udbgutil.ao unewdata.ao uoptions.ao uparse.ao writesrc.ao xmlparser.ao
ranlib ../../lib/libicutu.a
/Applications/Xcode.app/Contents/Developer/usr/bin/make[1]: Making `all' in `ctestfw'
   clang         ...  ctest.c
   clang++       ...  datamap.cpp
   clang++       ...  testdata.cpp
   clang++       ...  tstdtmod.cpp
   clang         ...  ucln_ct.c
   clang++       ...  uperf.cpp
ar r -c libicutest.a ctest.ao datamap.ao testdata.ao tstdtmod.ao ucln_ct.ao uperf.ao
ranlib libicutest.a
/Applications/Xcode.app/Contents/Developer/usr/bin/make[1]: Making `all' in `makeconv'
cd ../.. \
         && CONFIG_FILES=tools/makeconv/makeconv.1 CONFIG_HEADERS= /bin/sh ./config.status
   clang         ...  gencnvex.c
   clang++       ...  genmbcs.cpp
   clang++       ...  makeconv.cpp
   clang         ...  ucnvstat.c
config.status: creating tools/makeconv/makeconv.1
clang++ --std=c++17 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-ambiguous-reversed-operator  -Qunused-arguments -Wno-parentheses-equality   -o ../../bin/makeconv gencnvex.o genmbcs.o makeconv.o ucnvstat.o -L../../lib -licutu -L../../lib -licui18n -L../../lib -licuuc -L../../stubdata -licudata -lpthread -lm  
Updating files: 100% (9412/9412), done.
Warning: Unable to find target lstm_res, a dependency of brkitr_brk
ld: warning: ignoring file ../../lib/libicutu.a, building for macOS-arm64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
ld: warning: ignoring file ../../stubdata/libicudata.a, building for macOS-arm64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
ld: warning: ignoring file ../../lib/libicui18n.a, building for macOS-arm64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
ld: warning: ignoring file ../../lib/libicuuc.a, building for macOS-arm64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
Undefined symbols for architecture arm64:
  "_T_FileStream_close", referenced from:
      readFile(ConvData*, char const*, UErrorCode*) in makeconv.o
  "_T_FileStream_open", referenced from:
      readFile(ConvData*, char const*, UErrorCode*) in makeconv.o
  "_T_FileStream_readLine", referenced from:
      readFile(ConvData*, char const*, UErrorCode*) in makeconv.o
      readHeader(ConvData*, _FileStream*, UErrorCode*) in makeconv.o
  "icu_71::CharString::appendPathPart(icu_71::StringPiece, UErrorCode&)", referenced from:
      _main in makeconv.o
  "icu_71::CharString::ensureEndsWithFileSeparator(UErrorCode&)", referenced from:
      _main in makeconv.o
  "icu_71::CharString::append(char const*, int, UErrorCode&)", referenced from:
      icu_71::CharString::append(icu_71::StringPiece, UErrorCode&) in makeconv.o
  "icu_71::CharString::truncate(int)", referenced from:
      _main in makeconv.o
  "icu_71::StringPiece::StringPiece(char const*)", referenced from:
      _main in makeconv.o
  "icu_71::CharString::lastIndexOf(char) const", referenced from:
      _main in makeconv.o
  "_findBasename", referenced from:
      _main in makeconv.o
      createConverter(ConvData*, char const*, UErrorCode*) in makeconv.o
  "_getLongPathname", referenced from:
      _main in makeconv.o
  "_u_errorName_71", referenced from:
      _main in makeconv.o
      writeConverterData(ConvData*, char const*, char const*, UErrorCode*) in makeconv.o
  "_u_getDataDirectory_71", referenced from:
      _main in makeconv.o
  "_u_getVersion_71", referenced from:
      _main in makeconv.o
  "_u_parseArgs", referenced from:
      _main in makeconv.o
  "_u_skipWhitespace", referenced from:
      readFile(ConvData*, char const*, UErrorCode*) in makeconv.o
  "_u_strFromUTF32_71", referenced from:
      _generateToUTable in gencnvex.o
  "_ucm_checkBaseExt", referenced from:
      createConverter(ConvData*, char const*, UErrorCode*) in makeconv.o
  "_ucm_checkValidity", referenced from:
      createConverter(ConvData*, char const*, UErrorCode*) in makeconv.o
  "_ucm_close", referenced from:
      cleanupConvData(ConvData*) in makeconv.o
  "_ucm_countChars", referenced from:
      MBCSIsValid(NewConverter*, unsigned char const*, int) in genmbcs.o
      createConverter(ConvData*, char const*, UErrorCode*) in makeconv.o
  "_ucm_findFallback", referenced from:
      removeFallback(MBCSData*, unsigned int) in genmbcs.o
      setFallback(MBCSData*, unsigned int, int) in genmbcs.o
  "_ucm_moveMappings", referenced from:
      createConverter(ConvData*, char const*, UErrorCode*) in makeconv.o
  "_ucm_open", referenced from:
      readFile(ConvData*, char const*, UErrorCode*) in makeconv.o
  "_ucm_optimizeStates", referenced from:
      MBCSPostprocess(MBCSData*, UConverterStaticData const*) in genmbcs.o
  "_ucm_parseBytes", referenced from:
      readHeader(ConvData*, _FileStream*, UErrorCode*) in makeconv.o
  "_ucm_parseHeaderLine", referenced from:
      readHeader(ConvData*, _FileStream*, UErrorCode*) in makeconv.o
  "_ucm_printMapping", referenced from:
      _CnvExtAddTable in gencnvex.o
      _generateToUTable in gencnvex.o
      _generateFromUTable in gencnvex.o
  "_ucm_processStates", referenced from:
      readFile(ConvData*, char const*, UErrorCode*) in makeconv.o
  "_ucm_readTable", referenced from:
      readFile(ConvData*, char const*, UErrorCode*) in makeconv.o
  "_ucm_sortTable", referenced from:
      createConverter(ConvData*, char const*, UErrorCode*) in makeconv.o
  "_udata_create", referenced from:
      writeConverterData(ConvData*, char const*, char const*, UErrorCode*) in makeconv.o
  "_udata_finish", referenced from:
      writeConverterData(ConvData*, char const*, char const*, UErrorCode*) in makeconv.o
  "_udata_writeBlock", referenced from:
      _CnvExtWrite in gencnvex.o
      MBCSWrite(NewConverter*, UConverterStaticData const*, UNewDataMemory*, int) in genmbcs.o
      writeConverterData(ConvData*, char const*, char const*, UErrorCode*) in makeconv.o
  "_uprv_free_71", referenced from:
      _CnvExtClose in gencnvex.o
      MBCSClose(NewConverter*) in genmbcs.o
      MBCSDestruct(MBCSData*) in genmbcs.o
      icu_71::MaybeStackArray<char, 40>::releaseArray() in makeconv.o
  "_uprv_isInvariantString_71", referenced from:
      _main in makeconv.o
  "_uprv_malloc_71", referenced from:
      _CnvExtOpen in gencnvex.o
      _MBCSOpen in genmbcs.o
      MBCSStartMappings(MBCSData*) in genmbcs.o
  "_uprv_stricmp_71", referenced from:
      _main in makeconv.o
  "_utm_alloc", referenced from:
      _CnvExtAddTable in gencnvex.o
      _CnvExtWrite in gencnvex.o
  "_utm_allocN", referenced from:
      _generateToUTable in gencnvex.o
      _getFromUBytesValue in gencnvex.o
      _generateFromUTable in gencnvex.o
  "_utm_close", referenced from:
      _CnvExtClose in gencnvex.o
  "_utm_countItems", referenced from:
      _CnvExtAddTable in gencnvex.o
      _CnvExtWrite in gencnvex.o
      _generateToUTable in gencnvex.o
      _getFromUBytesValue in gencnvex.o
      _generateFromUTable in gencnvex.o
  "_utm_getStart", referenced from:
      _CnvExtWrite in gencnvex.o
  "_utm_open", referenced from:
      _CnvExtAddTable in gencnvex.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [../../bin/makeconv] Error 1
make[1]: *** [all-recursive] Error 2
make: *** [all-recursive] Error 2


/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/executable.rb:73:in `execute_command'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/executable.rb:27:in `block in executable'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/pod_source_preparer.rb:66:in `block (2 levels) in run_prepare_command'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/pod_source_preparer.rb:60:in `chdir'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/pod_source_preparer.rb:60:in `block in run_prepare_command'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/pod_source_preparer.rb:59:in `run_prepare_command'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/pod_source_preparer.rb:37:in `prepare!'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/downloader/cache.rb:288:in `block in copy_and_clean'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/downloader/cache.rb:128:in `lock'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/downloader/cache.rb:99:in `write_lock'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/downloader/cache.rb:285:in `copy_and_clean'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/downloader/cache.rb:244:in `block (2 levels) in uncached_pod'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/downloader/cache.rb:242:in `each'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/downloader/cache.rb:242:in `block in uncached_pod'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/downloader/cache.rb:266:in `in_tmpdir'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/downloader/cache.rb:238:in `uncached_pod'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/downloader/cache.rb:33:in `download_pod'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/downloader.rb:42:in `download'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/pod_source_installer.rb:118:in `download_source'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/pod_source_installer.rb:69:in `install!'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:563:in `install_source_of_pod'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:514:in `block (2 levels) in install_pod_sources'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:86:in `titled_section'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:513:in `block in install_pod_sources'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:496:in `each'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:496:in `install_pod_sources'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:255:in `block in download_dependencies'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:254:in `download_dependencies'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:162:in `install!'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command/install.rb:52:in `run'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:52:in `run'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/bin/pod:55:in `<top (required)>'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/bin/pod:25:in `load'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/bin/pod:25:in `<main>'

[!] The Podfile contains command line tool target(s) (ICUdep) which are attempting to integrate dynamic frameworks or libraries.
This may not behave as expected, because command line tools are usually distributed as a single binary and cannot contain their own dynamic dependencies.

I'll continue to explore and try to figure out what's going on, but any help from experience building this would be beneficial.

pod install fails

Running pod install fails on macOS 11.4 with many errors similar to:

...failed darwin.compile.asm bin.v2/libs/context/build/darwin-ios/release/abi-aapcs/architecture-arm/instruction-set-arm64/link-static/target-os-iphone/threading-multi/visibility-hidden/asm/jump_arm64_aapcs_macho_gas.o...
darwin.compile.asm bin.v2/libs/context/build/darwin-ios/release/abi-aapcs/architecture-arm/instruction-set-arm64/link-static/target-os-iphone/threading-multi/visibility-hidden/asm/ontop_arm64_aapcs_macho_gas.o
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:58:21: error: unexpected token in argument list
    ; prepare stack for GP + FPU
                    ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:59:17: error: unknown token in expression
    sub sp, sp, #0xb0
                ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:61:7: error: invalid instruction mnemonic 'save'
    ; save d8 - d15
      ^~~~
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:62:17: error: brackets expression not supported on this target
    stp d8, d9, [sp, #0x00]
                ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:63:19: error: brackets expression not supported on this target
    stp d10, d11, [sp, #0x10]
                  ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:64:19: error: brackets expression not supported on this target
    stp d12, d13, [sp, #0x20]
                  ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:65:19: error: brackets expression not supported on this target
    stp d14, d15, [sp, #0x30]
                  ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:67:7: error: invalid instruction mnemonic 'save'
    ; save x19-x30
      ^~~~
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:68:19: error: brackets expression not supported on this target
    stp x19, x20, [sp, #0x40]
                  ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:69:19: error: brackets expression not supported on this target
    stp x21, x22, [sp, #0x50]
                  ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:70:19: error: brackets expression not supported on this target
    stp x23, x24, [sp, #0x60]
                  ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:71:19: error: brackets expression not supported on this target
    stp x25, x26, [sp, #0x70]
                  ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:72:19: error: brackets expression not supported on this target
    stp x27, x28, [sp, #0x80]
                  ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:73:19: error: brackets expression not supported on this target
    stp x29, x30, [sp, #0x90]
                  ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:75:15: error: unexpected token in argument list
    ; save LR as PC
              ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:76:14: error: brackets expression not supported on this target
    str x30, [sp, #0xa0]
             ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:78:18: error: expected register here
    ; store RSP (pointing to context-data) in X5
                 ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:79:5: error: unknown use of instruction mnemonic without a size suffix
    mov x4, sp
    ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:81:20: error: expected register here
    ; restore RSP (pointing to context-data) from X1
                   ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:82:5: error: unknown use of instruction mnemonic without a size suffix
    mov sp, x0
    ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:84:7: error: invalid instruction mnemonic 'load'
    ; load d8 - d15
      ^~~~
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:85:17: error: brackets expression not supported on this target
    ldp d8, d9, [sp, #0x00]
                ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:86:19: error: brackets expression not supported on this target
    ldp d10, d11, [sp, #0x10]
                  ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:87:19: error: brackets expression not supported on this target
    ldp d12, d13, [sp, #0x20]
                  ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:88:19: error: brackets expression not supported on this target
    ldp d14, d15, [sp, #0x30]
                  ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:90:7: error: invalid instruction mnemonic 'load'
    ; load x19-x30
      ^~~~
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:91:19: error: brackets expression not supported on this target
    ldp x19, x20, [sp, #0x40]
                  ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:92:19: error: brackets expression not supported on this target
    ldp x21, x22, [sp, #0x50]
                  ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:93:19: error: brackets expression not supported on this target
    ldp x23, x24, [sp, #0x60]
                  ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:94:19: error: brackets expression not supported on this target
    ldp x25, x26, [sp, #0x70]
                  ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:95:19: error: brackets expression not supported on this target
    ldp x27, x28, [sp, #0x80]
                  ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:96:19: error: brackets expression not supported on this target
    ldp x29, x30, [sp, #0x90]
                  ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:98:25: error: unexpected token in argument list
    ; return transfer_t from jump
                        ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:99:23: error: unexpected token in argument list
    ; pass transfer_t as first arg in context function
                      ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:100:10: error: unknown token in expression
    ; X0 == FCTX, X1 == DATA
         ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:101:5: error: unknown use of instruction mnemonic without a size suffix
    mov x0, x4
    ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:103:7: error: invalid instruction mnemonic 'skip'
    ; skip pc
      ^~~~
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:104:21: error: unexpected token in argument list
    ; restore stack from GP + FPU
                    ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:105:17: error: unknown token in expression
    add sp, sp, #0xb0
                ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:107:15: error: unexpected token in argument list
    ; jump to ontop-function
              ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:108:5: error: unknown use of instruction mnemonic without a size suffix
    ret x2
    ^
libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S:109:1: error: assembler local symbol 'LR' not defined

^

    "g++" -x assembler-with-cpp -pthread -O3 -Wall -fvisibility=hidden -gdwarf-2 -fexceptions -Wno-inline  -DBOOST_ALL_NO_LIB=1 -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DBOOST_SPIRIT_THREADSAFE -DBOOST_TEST_NO_MAIN -DNDEBUG -D_LITTLE_ENDIAN -I"." -c -o "bin.v2/libs/context/build/darwin-ios/release/abi-aapcs/architecture-arm/instruction-set-arm64/link-static/target-os-iphone/threading-multi/visibility-hidden/asm/ontop_arm64_aapcs_macho_gas.o" "libs/context/src/asm/ontop_arm64_aapcs_macho_gas.S"

...failed darwin.compile.asm bin.v2/libs/context/build/darwin-ios/release/abi-aapcs/architecture-arm/instruction-set-arm64/link-static/target-os-iphone/threading-multi/visibility-hidden/asm/ontop_arm64_aapcs_macho_gas.o...
darwin.compile.c++ bin.v2/libs/container/build/darwin-ios/release/architecture-arm/instruction-set-arm64/link-static/target-os-iphone/threading-multi/visibility-hidden/synchronized_pool_resource.o
boost-install.generate-cmake-config- bin.v2/libs/context/build/stage/boost_context-config.cmake

Armv7 and i386 support

Are you planning to add Arm7 and i386 support ? Because when you archive the app, it also builds it in arm7. i386 is the intel architecture for 32 bit simulator

Also in M1 machines simulators are of type arm64 too, so if we can have that then it would be awesome.

Can we change the min iOS version to 10 or less ?

Right now I am not able to use this pod because its min supported platform version for iOS is 12, which is quite high. Is there a reason for this.

I am getting the following

    Flipper-Folly (from `/Users/prit91/fbsource/xplat/sonar/iOS/Podspecs/Flipper-Folly.podspec`) was resolved to 2.6.0, which depends on
      boost-iosx (~> 1.76.0)

Specs satisfying the `boost-iosx (~> 1.76.0)` dependency were found, but they required a higher minimum deployment target.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.