Open BenGWeeks opened 1 year ago
I use them for development all the time.
This is not easy to build. Make sure to read the build instructions carefully and make sure, you have all external build tool dependencies installed.
If you still run into issues, you can provide a build log here, and I'll see what I can do. Please note, though, I expect you to be familiar with Xcode, iOS, macOS, Swift, Objective-C and C development. Make sure your problems are specific to Tor.framework. Try to build and run something easier first, if you never have done so before.
@BenGWeeks If your project is under folder that contains space(" "), your build might fail.
Example: If the project is under ~/Documents/Xcode Project/
, build fails.
@fel1x-developer, can you provide a log so I can fix this problem eventually?
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by tor configure 0.4.7.13, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ ./configure --enable-silent-rules --enable-pic --disable-module-relay --disable-module-dirauth --disable-tool-name-check --disable-unittests --enable-static-openssl --enable-static-libevent --disable-asciidoc --disable-system-torrc --disable-linker-hardening --disable-dependency-tracking --disable-manpage --disable-html-manual --disable-gcc-warnings-advisory --prefix=/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/tor-x86_64 --with-libevent-dir=/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS --with-openssl-dir=/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS --enable-lzma --enable-zstd=no 'CC=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk' 'CPP=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -E -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk' 'CPPFLAGS=-g -O0 -fembed-bitcode-marker -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/tor/src/core -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/include -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/openssl/include -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS/openssl-x86_64 -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/libevent/include -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS/libevent-x86_64 -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS/liblzma-x86_64 -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/tor-sys -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk -DOPENSSL_NO_ENGINE' cross_compiling=yes ac_cv_func__NSGetEnviron=no ac_cv_func_clock_gettime=no ac_cv_func_getentropy=no 'LDFLAGS=-lz -fembed-bitcode-marker'
## --------- ##
## Platform. ##
## --------- ##
hostname = Minsoos-iMac.local
uname -m = x86_64
uname -r = 23.0.0
uname -s = Darwin
uname -v = Darwin Kernel Version 23.0.0: Tue Jun 13 21:16:25 PDT 2023; root:xnu-10002.0.116.505.3~3/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 23.0.0: Tue Jun 13 21:16:25 PDT 2023; root:xnu-10002.0.116.505.3~3/RELEASE_X86_64
Kernel configured for up to 16 processors.
8 processors are physically available.
16 processors are logically available.
Processor type: x86_64h (Intel x86-64h Haswell)
Processors active: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Primary memory available: 64.00 gigabytes
Default processor set: 653 tasks, 2382 threads, 16 processors
Load average: 2.74, Mach factor: 13.24
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/
PATH: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/appleinternal/bin/
PATH: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin/
PATH: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec/
PATH: /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin/
PATH: /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/appleinternal/bin/
PATH: /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin/
PATH: /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/
PATH: /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin/
PATH: /Applications/Xcode-beta.app/Contents/Developer/usr/bin/
PATH: /Applications/Xcode-beta.app/Contents/Developer/usr/local/bin/
PATH: /usr/local/bin/
PATH: /usr/bin/
PATH: /bin/
PATH: /usr/sbin/
PATH: /sbin/
PATH: /usr/local/bin/
PATH: /usr/local/opt/gettext/bin/
PATH: /usr/local/opt/automake/bin/
PATH: /usr/local/opt/aclocal/bin/
PATH: /opt/homebrew/bin/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:3057: looking for aux files: ar-lib config.guess config.sub compile missing install-sh
configure:3070: trying ./
configure:3099: ./ar-lib found
configure:3099: ./config.guess found
configure:3099: ./config.sub found
configure:3099: ./compile found
configure:3099: ./missing found
configure:3081: ./install-sh found
configure:3250: checking for a BSD-compatible install
configure:3323: result: /usr/bin/install -c
configure:3334: checking whether build environment is sane
configure:3389: result: yes
configure:3490: checking for strip
configure:3511: found /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip
configure:3522: result: strip
configure:3534: WARNING: using cross tools not prefixed with host triplet
configure:3548: checking for a race-free mkdir -p
configure:3592: result: ./install-sh -c -d
configure:3599: checking for gawk
configure:3634: result: no
configure:3599: checking for mawk
configure:3634: result: no
configure:3599: checking for nawk
configure:3634: result: no
configure:3599: checking for awk
configure:3620: found /usr/bin/awk
configure:3631: result: awk
configure:3642: checking whether make sets $(MAKE)
configure:3665: result: yes
configure:3695: checking whether make supports nested variables
configure:3713: result: yes
configure:3867: checking whether make supports nested variables
configure:3885: result: yes
configure:3912: checking whether make supports the include directive
configure:3927: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:3930: $? = 0
configure:3949: result: yes (GNU style)
configure:4025: checking for gcc
configure:4057: result: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk
configure:4410: checking for C compiler version
configure:4419: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk --version >&5
Apple clang version 15.0.0 (clang-1500.0.29.1)
Target: x86_64-apple-darwin23.0.0
Thread model: posix
InstalledDir: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
configure:4430: $? = 0
configure:4419: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk -v >&5
Apple clang version 15.0.0 (clang-1500.0.29.1)
Target: x86_64-apple-darwin23.0.0
Thread model: posix
InstalledDir: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
clang: warning: argument unused during compilation: '-isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk' [-Wunused-command-line-argument]
configure:4430: $? = 0
configure:4419: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:4430: $? = 1
configure:4419: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk -qversion >&5
clang: error: unknown argument '-qversion'; did you mean '--version'?
clang: error: no input files
configure:4430: $? = 1
configure:4419: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk -version >&5
clang: error: unknown argument '-version'; did you mean '--version'?
clang: error: no input files
configure:4430: $? = 1
configure:4450: checking whether the C compiler works
configure:4472: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk -g -O0 -fembed-bitcode-marker -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/tor/src/core -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/include -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/openssl/include -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS/openssl-x86_64 -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/libevent/include -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS/libevent-x86_64 -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS/liblzma-x86_64 -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/tor-sys -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk -DOPENSSL_NO_ENGINE -lz -fembed-bitcode-marker conftest.c >&5
clang: error: no such file or directory: 'Projects/Tor.framework/Example/Pods/../../Tor/tor/src/core'
clang: error: no such file or directory: 'Projects/Tor.framework/Example/Pods/../../Tor/include'
clang: error: no such file or directory: 'Projects/Tor.framework/Example/Pods/../../Tor/openssl/include'
clang: error: no such file or directory: 'Projects/Tor.framework/Example/Pods/../../Tor/libevent/include'
configure:4476: $? = 1
configure:4516: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tor"
| #define PACKAGE_TARNAME "tor"
| #define PACKAGE_VERSION "0.4.7.13"
| #define PACKAGE_STRING "tor 0.4.7.13"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define CONFIG_FLAGS "--enable-silent-rules --enable-pic --disable-module-relay --disable-module-dirauth --disable-tool-name-check --disable-unittests --enable-static-openssl --enable-static-libevent --disable-asciidoc --disable-system-torrc --disable-linker-hardening --disable-dependency-tracking --disable-manpage --disable-html-manual --disable-gcc-warnings-advisory --prefix=/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/tor-x86_64 --with-libevent-dir=/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS --with-openssl-dir=/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS --enable-lzma --enable-zstd=no CC=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk CPP=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -E -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk CPPFLAGS=-g -O0 -fembed-bitcode-marker -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/tor/src/core -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/include -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/openssl/include -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS/openssl-x86_64 -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/libevent/include -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS/libevent-x86_64 -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS/liblzma-x86_64 -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/tor-sys -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk -DOPENSSL_NO_ENGINE cross_compiling=yes ac_cv_func__NSGetEnviron=no ac_cv_func_clock_gettime=no ac_cv_func_getentropy=no LDFLAGS=-lz -fembed-bitcode-marker"
| #define APPROX_RELEASE_DATE "2023-01-12"
| #define PACKAGE "tor"
| #define VERSION "0.4.7.13"
| /* end confdefs.h. */
|
| int
| main (void)
| {
|
| ;
| return 0;
| }
configure:4521: error: in `/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Tor/tor':
configure:4523: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=set
ac_cv_env_CC_value='/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk'
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-g -O0 -fembed-bitcode-marker -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/tor/src/core -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/include -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/openssl/include -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS/openssl-x86_64 -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/libevent/include -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS/libevent-x86_64 -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS/liblzma-x86_64 -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/tor-sys -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk -DOPENSSL_NO_ENGINE'
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value='/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -E -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk'
ac_cv_env_JEMALLOC_CFLAGS_set=
ac_cv_env_JEMALLOC_CFLAGS_value=
ac_cv_env_JEMALLOC_LIBS_set=
ac_cv_env_JEMALLOC_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-lz -fembed-bitcode-marker'
ac_cv_env_LIBSYSTEMD209_CFLAGS_set=
ac_cv_env_LIBSYSTEMD209_CFLAGS_value=
ac_cv_env_LIBSYSTEMD209_LIBS_set=
ac_cv_env_LIBSYSTEMD209_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LZMA_CFLAGS_set=
ac_cv_env_LZMA_CFLAGS_value=
ac_cv_env_LZMA_LIBS_set=
ac_cv_env_LZMA_LIBS_value=
ac_cv_env_NSS_CFLAGS_set=
ac_cv_env_NSS_CFLAGS_value=
ac_cv_env_NSS_LIBS_set=
ac_cv_env_NSS_LIBS_value=
ac_cv_env_PERL_set=
ac_cv_env_PERL_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_SYSTEMD_CFLAGS_set=
ac_cv_env_SYSTEMD_CFLAGS_value=
ac_cv_env_SYSTEMD_LIBS_set=
ac_cv_env_SYSTEMD_LIBS_value=
ac_cv_env_TCMALLOC_CFLAGS_set=
ac_cv_env_TCMALLOC_CFLAGS_value=
ac_cv_env_TCMALLOC_LIBS_set=
ac_cv_env_TCMALLOC_LIBS_value=
ac_cv_env_ZSTD_CFLAGS_set=
ac_cv_env_ZSTD_CFLAGS_value=
ac_cv_env_ZSTD_LIBS_set=
ac_cv_env_ZSTD_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func__NSGetEnviron=no
ac_cv_func_clock_gettime=no
ac_cv_func_getentropy=no
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_ac_ct_CC='/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk'
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
A2X=''
ACLOCAL='${SHELL} '\''/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Tor/tor/missing'\'' aclocal-1.16'
ADD_MULODI4_FALSE=''
ADD_MULODI4_TRUE=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR=''
ASCIIDOC=''
AUTOCONF='${SHELL} '\''/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Tor/tor/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Tor/tor/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Tor/tor/missing'\'' automake-1.16'
AWK='awk'
BINDIR=''
BUILDDIR=''
BUILD_CURVE25519_DONNA_C64_FALSE=''
BUILD_CURVE25519_DONNA_C64_TRUE=''
BUILD_CURVE25519_DONNA_FALSE=''
BUILD_CURVE25519_DONNA_TRUE=''
BUILD_HTML_DOCS_FALSE=''
BUILD_HTML_DOCS_TRUE=''
BUILD_KECCAK_TINY_FALSE=''
BUILD_KECCAK_TINY_TRUE=''
BUILD_LIBTORRUNNER_FALSE=''
BUILD_LIBTORRUNNER_TRUE=''
BUILD_MANPAGE_FALSE=''
BUILD_MANPAGE_TRUE=''
BUILD_MODULE_DIRAUTH_FALSE=''
BUILD_MODULE_DIRAUTH_TRUE=''
BUILD_MODULE_DIRCACHE_FALSE=''
BUILD_MODULE_DIRCACHE_TRUE=''
BUILD_MODULE_RELAY_FALSE=''
BUILD_MODULE_RELAY_TRUE=''
BUILD_NT_SERVICES_FALSE=''
BUILD_NT_SERVICES_TRUE=''
BUILD_READPASSPHRASE_C_FALSE=''
BUILD_READPASSPHRASE_C_TRUE=''
CC='/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk'
CCDEPMODE=''
CFLAGS=''
CFLAGS_BUGTRAP=''
CFLAGS_CONSTTIME=''
CONFDIR=''
COVERAGE_ENABLED_FALSE=''
COVERAGE_ENABLED_TRUE=''
CPP='/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -E -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk'
CPPFLAGS='-g -O0 -fembed-bitcode-marker -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/tor/src/core -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/include -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/openssl/include -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS/openssl-x86_64 -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/libevent/include -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS/libevent-x86_64 -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS/liblzma-x86_64 -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/tor-sys -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk -DOPENSSL_NO_ENGINE'
CSCOPE='cscope'
CTAGS='ctags'
CURVE25519_LIBS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DISABLE_ASSERTS_IN_UNIT_TESTS_FALSE=''
DISABLE_ASSERTS_IN_UNIT_TESTS_TRUE=''
DOXYGEN_FATAL_WARNINGS=''
DOXYGEN_WARN_ON_MISSING=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
ETAGS='etags'
EXEEXT=''
F_OMIT_FRAME_POINTER=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
JEMALLOC_CFLAGS=''
JEMALLOC_LIBS=''
LDFLAGS='-lz -fembed-bitcode-marker'
LIBFUZZER_ENABLED_FALSE=''
LIBFUZZER_ENABLED_TRUE=''
LIBOBJS=''
LIBS=''
LIBSYSTEMD209_CFLAGS=''
LIBSYSTEMD209_LIBS=''
LOCALSTATEDIR=''
LOGFACILITY=''
LTLIBOBJS=''
LZMA_CFLAGS=''
LZMA_LIBS=''
MAKEINFO='${SHELL} '\''/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Tor/tor/missing'\'' makeinfo'
MKDIR_P='./install-sh -c -d'
NSS_CFLAGS=''
NSS_LIBS=''
OBJEXT=''
OSS_FUZZ_ENABLED_FALSE=''
OSS_FUZZ_ENABLED_TRUE=''
PACKAGE='tor'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='tor'
PACKAGE_STRING='tor 0.4.7.13'
PACKAGE_TARNAME='tor'
PACKAGE_URL=''
PACKAGE_VERSION='0.4.7.13'
PATH_SEPARATOR=':'
PERL=''
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
PYTHON=''
RANLIB=''
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
SYSTEMD_CFLAGS=''
SYSTEMD_LIBS=''
TCMALLOC_CFLAGS=''
TCMALLOC_LIBS=''
THREADS_PTHREADS_FALSE=''
THREADS_PTHREADS_TRUE=''
THREADS_WIN32_FALSE=''
THREADS_WIN32_TRUE=''
TORGROUP=''
TORUSER=''
TOR_CPPFLAGS_libevent=''
TOR_CPPFLAGS_openssl=''
TOR_CPPFLAGS_zlib=''
TOR_LDFLAGS_libevent=''
TOR_LDFLAGS_openssl=''
TOR_LDFLAGS_zlib=''
TOR_LIBEVENT_LIBS=''
TOR_LIB_BCRYPT=''
TOR_LIB_CRYPT32=''
TOR_LIB_GDI=''
TOR_LIB_IPHLPAPI=''
TOR_LIB_MATH=''
TOR_LIB_SHLWAPI=''
TOR_LIB_USERENV=''
TOR_LIB_WS32=''
TOR_LZMA_CFLAGS=''
TOR_LZMA_LIBS=''
TOR_MODULES_ALL_ENABLED=''
TOR_OPENSSL_LIBS=''
TOR_STATIC_LDFLAGS=''
TOR_SYSTEMD_CFLAGS=''
TOR_SYSTEMD_LIBS=''
TOR_TRACE_LIBS=''
TOR_WARNING_FLAGS=''
TOR_ZLIB_LIBS=''
TOR_ZSTD_CFLAGS=''
TOR_ZSTD_LIBS=''
UNITTESTS_ENABLED_FALSE=''
UNITTESTS_ENABLED_TRUE=''
USEPYTHON_FALSE=''
USEPYTHON_TRUE=''
USE_ANDROID_FALSE=''
USE_ANDROID_TRUE=''
USE_ASCIIDOC_FALSE=''
USE_ASCIIDOC_TRUE=''
USE_NSS_FALSE=''
USE_NSS_TRUE=''
USE_OPENBSD_MALLOC_FALSE=''
USE_OPENBSD_MALLOC_TRUE=''
USE_OPENSSL_FALSE=''
USE_OPENSSL_TRUE=''
USE_PERL_FALSE=''
USE_PERL_TRUE=''
USE_TRACING_FALSE=''
USE_TRACING_INSTRUMENTATION_LOG_DEBUG_FALSE=''
USE_TRACING_INSTRUMENTATION_LOG_DEBUG_TRUE=''
USE_TRACING_INSTRUMENTATION_LTTNG_FALSE=''
USE_TRACING_INSTRUMENTATION_LTTNG_TRUE=''
USE_TRACING_INSTRUMENTATION_USDT_FALSE=''
USE_TRACING_INSTRUMENTATION_USDT_TRUE=''
USE_TRACING_TRUE=''
VERSION='0.4.7.13'
WIN32_FALSE=''
WIN32_TRUE=''
ZSTD_CFLAGS=''
ZSTD_LIBS=''
ac_ct_AR=''
ac_ct_CC='/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} '\''/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Tor/tor/install-sh'\'''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pprint_tput=''
prefix='/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/tor-x86_64'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "tor"
#define PACKAGE_TARNAME "tor"
#define PACKAGE_VERSION "0.4.7.13"
#define PACKAGE_STRING "tor 0.4.7.13"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define CONFIG_FLAGS "--enable-silent-rules --enable-pic --disable-module-relay --disable-module-dirauth --disable-tool-name-check --disable-unittests --enable-static-openssl --enable-static-libevent --disable-asciidoc --disable-system-torrc --disable-linker-hardening --disable-dependency-tracking --disable-manpage --disable-html-manual --disable-gcc-warnings-advisory --prefix=/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/tor-x86_64 --with-libevent-dir=/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS --with-openssl-dir=/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS --enable-lzma --enable-zstd=no CC=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk CPP=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -E -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk CPPFLAGS=-g -O0 -fembed-bitcode-marker -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/tor/src/core -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/include -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/openssl/include -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS/openssl-x86_64 -I/Users/minsoochoo/Documents/Xcode Projects/Tor.framework/Example/Pods/../../Tor/libevent/include -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS/libevent-x86_64 -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Products/Debug-iphonesimulator/Tor-iOS/liblzma-x86_64 -I/Users/minsoochoo/Library/Developer/Xcode/DerivedData/Tor-cqabgnpoobgzeteetrcbnezuqddu/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/tor-sys -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk -DOPENSSL_NO_ENGINE cross_compiling=yes ac_cv_func__NSGetEnviron=no ac_cv_func_clock_gettime=no ac_cv_func_getentropy=no LDFLAGS=-lz -fembed-bitcode-marker"
#define APPROX_RELEASE_DATE "2023-01-12"
#define PACKAGE "tor"
#define VERSION "0.4.7.13"
configure: exit 77
This is caused by line 55 of tor.sh
./configure --enable-silent-rules --enable-pic --disable-module-relay --disable-module-dirauth --disable-tool-name-check --disable-unittests --enable-static-openssl --enable-static-libevent --disable-asciidoc --disable-system-torrc --disable-linker-hardening --disable-dependency-tracking --disable-manpage --disable-html-manual --disable-gcc-warnings-advisory --prefix="${CONFIGURATION_TEMP_DIR}/tor-${ARCH}" --with-libevent-dir="${BUILT_PRODUCTS_DIR}" --with-openssl-dir="${BUILT_PRODUCTS_DIR}" --enable-lzma --enable-zstd=no CC="$(xcrun -f --sdk ${PLATFORM_NAME} clang) -arch ${ARCH} -isysroot ${SDKROOT}" CPP="$(xcrun -f --sdk ${PLATFORM_NAME} clang) -E -arch ${ARCH} -isysroot ${SDKROOT}" CPPFLAGS="${DEBUG_CFLAGS} ${BITCODE_CFLAGS} -I${PODS_TARGET_SRCROOT}/Tor/tor/src/core -I${PODS_TARGET_SRCROOT}/Tor/include -I${PODS_TARGET_SRCROOT}/Tor/openssl/include -I${BUILT_PRODUCTS_DIR}/openssl-${ARCH} -I${PODS_TARGET_SRCROOT}/Tor/libevent/include -I${BUILT_PRODUCTS_DIR}/libevent-${ARCH} -I${BUILT_PRODUCTS_DIR}/liblzma-${ARCH} -I${PSEUDO_SYS_INCLUDE_DIR} -isysroot ${SDKROOT} -DOPENSSL_NO_ENGINE" cross_compiling="yes" ac_cv_func__NSGetEnviron="no" ac_cv_func_clock_gettime="no" ac_cv_func_getentropy="no" LDFLAGS="-lz ${BITCODE_CFLAGS}"
${PODS_TARGET_SRCROOT} should be "${PODS_TARGET_SRCROOT}"
Urgh. Because of all the layers of shell interpretation, this is surprisingly hard to fix.
I use them for development all the time.
This is not easy to build. Make sure to read the build instructions carefully and make sure, you have all external build tool dependencies installed.
If you still run into issues, you can provide a build log here, and I'll see what I can do. Please note, though, I expect you to be familiar with Xcode, iOS, macOS, Swift, Objective-C and C development. Make sure your problems are specific to Tor.framework. Try to build and run something easier first, if you never have done so before.
../xz.sh: line 12: ./autogen.sh: No such file or directory
../xz.sh: line 78: ./configure: No such file or directory
make: No targets specified and no makefile found. Stop.
make: No rule to make target install'. Stop. make: *** No rule to make target
distclean'. Stop.
cp: /Users/liuyanqin/Library/Developer/Xcode/DerivedData/Tor-csdsugxyrhturkedhbiordazjpkp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/liblzma-arm64/lib/.a: No such file or directory
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/liuyanqin/Library/Developer/Xcode/DerivedData/Tor-csdsugxyrhturkedhbiordazjpkp/Build/Products/Debug-iphonesimulator/Tor-iOS/liblzma..a (No such file or directory)
rm: /Users/liuyanqin/Library/Developer/Xcode/DerivedData/Tor-csdsugxyrhturkedhbiordazjpkp/Build/Products/Debug-iphonesimulator/Tor-iOS/liblzma..a: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code
please help me
@danransmile, it's this script that fails.
It can't find the autogen.sh
file in the xz
folder. That looks like you didn't properly check out the git submodules.
Try git submodule update --init --recursive
.
Hi there,
Is it a known issue that the example projects don't run?
Thanks.
Ben