Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Build iOS faild #613

Open
ChokWah opened this issue Oct 9, 2022 · 0 comments
Open

Build iOS faild #613

ChokWah opened this issue Oct 9, 2022 · 0 comments

Comments

@ChokWah
Copy link

ChokWah commented Oct 9, 2022

Xcode Version 13.4 (13F17a)
MacOS 12.0.1 (21A559)
Python 3.9.5

❯ python scripts/build.py

Done. Made 1615 targets from 245 files in 23719ms
ninja: Entering directory out/Debug-device-arm64' ninja: no work to do. ninja: Entering directory out/Debug-device-arm64'
ninja: no work to do.
ninja: Entering directory out/Debug-device-arm64' ninja: no work to do. ninja: Entering directory out/Debug-device-arm64'
ninja: no work to do.
ninja: Entering directory out/Debug-device-arm64' ninja: no work to do. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (audio_receive_stream.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(audio_receive_stream.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(audio_receive_stream.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (audio_send_stream.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(audio_send_stream.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(audio_send_stream.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (audio_state.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(audio_state.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(audio_state.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (auto_correlation.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(auto_correlation.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(auto_correlation.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (base64.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(base64.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(base64.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (clock.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(clock.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(clock.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (convert.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(convert.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(convert.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (cross_correlation.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(cross_correlation.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(cross_correlation.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (decoder_database.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(decoder_database.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(decoder_database.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (dtls_transport.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(dtls_transport.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(dtls_transport.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (encoded_frame.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(encoded_frame.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(encoded_frame.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (err.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(err.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(err.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (escaping.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(escaping.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(escaping.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (helpers.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(helpers.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(helpers.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (histogram.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(histogram.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(histogram.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (jsep_ice_candidate.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(jsep_ice_candidate.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(jsep_ice_candidate.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (logging.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(logging.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_sdk_base.a(logging.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (moving_average.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(moving_average.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(moving_average.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (mutex.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(mutex.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(mutex.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (packet_buffer.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(packet_buffer.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(packet_buffer.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (rtp_sender.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(rtp_sender.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(rtp_sender.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (sctp_transport.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(sctp_transport.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(sctp_transport.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (socket.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(socket.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(socket.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (splitting_filter.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(splitting_filter.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(splitting_filter.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (stream.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(stream.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_sdk_base.a(stream.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (sysinfo.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_sdk_base.a(sysinfo.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(sysinfo.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (thread.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(thread.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(thread.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (video_common.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(video_common.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(video_common.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (video_frame_buffer.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(video_frame_buffer.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(video_frame_buffer.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (video_receive_stream.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(video_receive_stream.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(video_receive_stream.o) due to use of basename, truncation and blank padding /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (video_send_stream.o) in output file used for input files: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(video_send_stream.o) and: out/Debug-device-arm64/obj/talk/owt/libowt_deps.a(video_send_stream.o) due to use of basename, truncation and blank padding Done. Made 1643 targets from 255 files in 23445ms Start running unit tests. ninja: Entering directory out/Debug-simulator-x64'
ninja: no work to do.
ninja: Entering directory out/Debug-simulator-x64' ninja: no work to do. ninja: Entering directory out/Debug-simulator-x64'
ninja: no work to do.
ninja: Entering directory out/Debug-simulator-x64' ninja: no work to do. ninja: Entering directory out/Debug-simulator-x64'
ninja: no work to do.
ninja: Entering directory `out/Debug-simulator-x64'
[27/32] OBJCXX clang_x64/obj/testing/iossim/iossim/iossim.o

FAILED: clang_x64/obj/testing/iossim/iossim/iossim.o

../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF clang_x64/obj/testing/iossim/iossim/iossim.o.d -D_LIBCPP_HAS_NO_ALIGNED_ALLOCATION -DCR_XCODE_VERSION=1340 -DCR_CLANG_REVISION="llvmorg-12-init-11060-g118c3f3c-1" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -D_LIBCPP_DEBUG=0 -DCR_LIBCXX_REVISION=375504 -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -I../.. -Iclang_x64/gen -fno-delete-null-pointer-checks -fno-strict-aliasing -fstack-protector-strong -fcolor-diagnostics -fmerge-all-constants -arch x86_64 -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Werror -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wunguarded-availability -Wno-range-loop-analysis -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O0 -fno-omit-frame-pointer -gdwarf-4 -g2 -isysroot ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mmacosx-version-min=10.11.0 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=c++14 -fno-trigraphs -Wno-trigraphs -stdlib=libc++ -fobjc-call-cxx-cdtors -Wobjc-missing-property-synthesis -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -fvisibility-inlines-hidden -c ../../testing/iossim/iossim.mm -o clang_x64/obj/testing/iossim/iossim/iossim.o
In file included from ../../testing/iossim/iossim.mm:4:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:12:
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h:91:143: error: function does not return NSString

  • (NSAttributedString *)localizedAttributedStringForKey:(NSString *)key value:(nullable NSString *)value table:(nullable NSString *)tableName NS_FORMAT_ARGUMENT(1) NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
    ~~~~~~~~~~~~~~ ^ ~
    ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:103:48: note: expanded from macro 'NS_FORMAT_ARGUMENT'
    #define NS_FORMAT_ARGUMENT(A) attribute ((format_arg(A)))
    ^ ~
    In file included from ../../testing/iossim/iossim.mm:4:
    In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:130:
    ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:500:168: error: expected ')'
  • (void)readDataOfMinLength:(NSUInteger)minBytes maxLength:(NSUInteger)maxBytes timeout:(NSTimeInterval)timeout completionHandler:(void (^) (NSData * _Nullable_result data, BOOL atEOF, NSError * _Nullable error))completionHandler;
    ^
    ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h:500:141: note: to match this '('
  • (void)readDataOfMinLength:(NSUInteger)minBytes maxLength:(NSUInteger)maxBytes timeout:(NSTimeInterval)timeout completionHandler:(void (^) (NSData * _Nullable_result data, BOOL atEOF, NSError * _Nullable error))completionHandler;
    ^
    2 errors generated.
    [28/32] CODE SIGNING //third_party/webrtc/examples:AppRTCMobile(//build/toolchain/mac:ios_clang_x64)
    ninja: build stopped: subcommand failed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant