zsmatrix62 / rust-ffi-boilerplate Goto Github PK
View Code? Open in Web Editor NEWcreate multi platform lib using uniffi-rs
License: MIT License
create multi platform lib using uniffi-rs
License: MIT License
Showing Recent Errors Only
Ld /Users/vv/Library/Developer/Xcode/DerivedData/WhyNotTry-esffdomtkfhylzduvibnowbmbewd/Build/Products/Debug-iphonesimulator/WhyNotTry.app/WhyNotTry normal (in target 'WhyNotTry' from project 'WhyNotTry')
cd /Users/vv/proj/swift/WhyNotTry
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target x86_64-apple-ios17.2-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk -O0 -L/Users/vv/Library/Developer/Xcode/DerivedData/WhyNotTry-esffdomtkfhylzduvibnowbmbewd/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphonesimulator -L/Users/vv/Library/Developer/Xcode/DerivedData/WhyNotTry-esffdomtkfhylzduvibnowbmbewd/Build/Products/Debug-iphonesimulator -F/Users/vv/Library/Developer/Xcode/DerivedData/WhyNotTry-esffdomtkfhylzduvibnowbmbewd/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphonesimulator -F/Users/vv/Library/Developer/Xcode/DerivedData/WhyNotTry-esffdomtkfhylzduvibnowbmbewd/Build/Products/Debug-iphonesimulator/PackageFrameworks -F/Users/vv/Library/Developer/Xcode/DerivedData/WhyNotTry-esffdomtkfhylzduvibnowbmbewd/Build/Products/Debug-iphonesimulator -filelist /Users/vv/Library/Developer/Xcode/DerivedData/WhyNotTry-esffdomtkfhylzduvibnowbmbewd/Build/Intermediates.noindex/WhyNotTry.build/Debug-iphonesimulator/WhyNotTry.build/Objects-normal/x86_64/WhyNotTry.LinkFileList -Xlinker -rpath -Xlinker /Users/vv/Library/Developer/Xcode/DerivedData/WhyNotTry-esffdomtkfhylzduvibnowbmbewd/Build/Products/Debug-iphonesimulator/PackageFrameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/vv/Library/Developer/Xcode/DerivedData/WhyNotTry-esffdomtkfhylzduvibnowbmbewd/Build/Intermediates.noindex/WhyNotTry.build/Debug-iphonesimulator/WhyNotTry.build/Objects-normal/x86_64/WhyNotTry_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/vv/Library/Developer/Xcode/DerivedData/WhyNotTry-esffdomtkfhylzduvibnowbmbewd/Build/Intermediates.noindex/WhyNotTry.build/Debug-iphonesimulator/WhyNotTry.build/Objects-normal/x86_64/WhyNotTry.swiftmodule -Wl,-no_warn_duplicate_libraries -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/vv/Library/Developer/Xcode/DerivedData/WhyNotTry-esffdomtkfhylzduvibnowbmbewd/Build/Intermediates.noindex/WhyNotTry.build/Debug-iphonesimulator/WhyNotTry.build/WhyNotTry.app-Simulated.xcent -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __ents_der -Xlinker /Users/vv/Library/Developer/Xcode/DerivedData/WhyNotTry-esffdomtkfhylzduvibnowbmbewd/Build/Intermediates.noindex/WhyNotTry.build/Debug-iphonesimulator/WhyNotTry.build/WhyNotTry.app-Simulated.xcent.der -framework MyPkgFFI -framework MyPkgFFI -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/vv/Library/Developer/Xcode/DerivedData/WhyNotTry-esffdomtkfhylzduvibnowbmbewd/Build/Intermediates.noindex/WhyNotTry.build/Debug-iphonesimulator/WhyNotTry.build/Objects-normal/x86_64/WhyNotTry_dependency_info.dat -o /Users/vv/Library/Developer/Xcode/DerivedData/WhyNotTry-esffdomtkfhylzduvibnowbmbewd/Build/Products/Debug-iphonesimulator/WhyNotTry.app/WhyNotTry -Xlinker -add_ast_path -Xlinker /Users/vv/Library/Developer/Xcode/DerivedData/WhyNotTry-esffdomtkfhylzduvibnowbmbewd/Build/Intermediates.noindex/MyPkg.build/Debug-iphonesimulator/MyPkg.build/Objects-normal/x86_64/MyPkg.swiftmodule
ld: Undefined symbols:
_ffi_rust_ffi_rustbuffer_free, referenced from:
closure #1 (Swift.UnsafeMutablePointer<__C.RustCallStatus>) -> () in (extension in MyPkg):__C.RustBuffer.(deallocate in _62A0FF1B6F7E9159EC59F512CEA897E1)() -> () in MyPkg.o
_ffi_rust_ffi_rustbuffer_from_bytes, referenced from:
closure #1 (Swift.UnsafeMutablePointer<__C.RustCallStatus>) -> __C.RustBuffer in static (extension in MyPkg):__C.RustBuffer.(from in _62A0FF1B6F7E9159EC59F512CEA897E1)(Swift.UnsafeBufferPointer<Swift.UInt8>) -> __C.RustBuffer in MyPkg.o
_ffi_rust_ffi_uniffi_contract_version, referenced from:
MyPkg.(initializationResult in _62A0FF1B6F7E9159EC59F512CEA897E1).getter : MyPkg.(InitializationResult in _62A0FF1B6F7E9159EC59F512CEA897E1) in MyPkg.o
_uniffi_rust_ffi_checksum_func_hello, referenced from:
MyPkg.(initializationResult in _62A0FF1B6F7E9159EC59F512CEA897E1).getter : MyPkg.(InitializationResult in _62A0FF1B6F7E9159EC59F512CEA897E1) in MyPkg.o
_uniffi_rust_ffi_fn_func_hello, referenced from:
closure #1 (Swift.UnsafeMutablePointer<__C.RustCallStatus>) -> __C.RustBuffer in MyPkg.hello(search: Swift.String) -> Swift.String in MyPkg.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols:
Linker command failed with exit code 1 (use -v to see invocation)
请问如何解决,谢谢!
It would be even cooler if is an Android template..
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.