Giter Site home page Giter Site logo

Comments (4)

link2xt avatar link2xt commented on July 30, 2024

Fix: #2145

Could be not the last issue.

from deltachat-ios.

r10s avatar r10s commented on July 30, 2024

Could be not the last issue.

indeed :)

the error above seems to be fixed by #2145 - thanks a lot! - i am compiling current core main, which requires rust 1.77 and therefore #2123 as well

however, we now get the ld error Could not find or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not found

i can have a look into adding the framework, however, first i am wondering why it is needed :)

Ld /Users/bpetersen/Library/Developer/Xcode/DerivedData/deltachat-ios-cqaxukpzciruunbbumougxcdugkj/Build/Products/Debug-iphoneos/DcCore.framework/DcCore normal (in target 'DcCore' from project 'DcCore')
    cd /Users/bpetersen/projects/deltachat-ios/DcCore
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-ios12.0 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk -O0 -L/Users/bpetersen/Library/Developer/Xcode/DerivedData/deltachat-ios-cqaxukpzciruunbbumougxcdugkj/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -L/Users/bpetersen/Library/Developer/Xcode/DerivedData/deltachat-ios-cqaxukpzciruunbbumougxcdugkj/Build/Products/Debug-iphoneos -L/Users/bpetersen/projects/deltachat-ios/DcCore/../deltachat-ios/libraries/deltachat-core-rust/deltachat-ffi -L/Users/bpetersen/projects/deltachat-ios/DcCore/../deltachat-ios/libraries -F/Users/bpetersen/Library/Developer/Xcode/DerivedData/deltachat-ios-cqaxukpzciruunbbumougxcdugkj/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -F/Users/bpetersen/Library/Developer/Xcode/DerivedData/deltachat-ios-cqaxukpzciruunbbumougxcdugkj/Build/Products/Debug-iphoneos -filelist /Users/bpetersen/Library/Developer/Xcode/DerivedData/deltachat-ios-cqaxukpzciruunbbumougxcdugkj/Build/Intermediates.noindex/DcCore.build/Debug-iphoneos/DcCore.build/Objects-normal/arm64/DcCore.LinkFileList -install_name @rpath/DcCore.framework/DcCore -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/bpetersen/Library/Developer/Xcode/DerivedData/deltachat-ios-cqaxukpzciruunbbumougxcdugkj/Build/Intermediates.noindex/DcCore.build/Debug-iphoneos/DcCore.build/Objects-normal/arm64/DcCore_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/bpetersen/Library/Developer/Xcode/DerivedData/deltachat-ios-cqaxukpzciruunbbumougxcdugkj/Build/Intermediates.noindex/DcCore.build/Debug-iphoneos/DcCore.build/Objects-normal/arm64/DcCore.swiftmodule -ldeltachat -framework SystemConfiguration -Xlinker -no_adhoc_codesign -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/bpetersen/Library/Developer/Xcode/DerivedData/deltachat-ios-cqaxukpzciruunbbumougxcdugkj/Build/Intermediates.noindex/DcCore.build/Debug-iphoneos/DcCore.build/Objects-normal/arm64/DcCore_dependency_info.dat -o /Users/bpetersen/Library/Developer/Xcode/DerivedData/deltachat-ios-cqaxukpzciruunbbumougxcdugkj/Build/Products/Debug-iphoneos/DcCore.framework/DcCore

ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not found
Undefined symbols for architecture arm64:
  "_kSCNetworkInterfaceTypeIrDA", referenced from:
      system_configuration::network_configuration::SCNetworkInterfaceType::from_cfstring::h5b25c757cbcd0d93 in libdeltachat.a[arm64][1397](system_configuration-d8584af5f460f2a8.system_configuration.e25abd7046603662-cgu.0.rcgu.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

from deltachat-ios.

r10s avatar r10s commented on July 30, 2024

hm, the error seems to be more that _kSCNetworkInterfaceTypeIrDA is missing; searching for that, it seems to be related to rist-libp2p, but i cannot make much sense of that

from deltachat-ios.

link2xt avatar link2xt commented on July 30, 2024

It is related to system-configuration crate, I force-pushed the fix into PR.

from deltachat-ios.

Related Issues (20)

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.