提问人:Besart 提问时间:11/2/2023 最后编辑:Besart 更新时间:11/2/2023 访问量:33
由于 RealmJS framwork,运行 react-native iOS 应用程序失败
Running react-native iOS app fails due to RealmJS framwork
问:
我正在创建一个 react-native 应用程序,我在其中将 MongoDB 与 Realm 一起使用。 当我在 Android 中运行时。它可以正常工作,但在 iOS 中,我在使用 RealmJS 时遇到了一些问题。
我尝试过删除并重新安装,也删除了 pod 并重新安装,但没有解决问题。node_modules
这是尝试运行 iOS 应用程序时发生的情况:
Ld /Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/RealmJS/RealmJS.framework/RealmJS normal (in target 'RealmJS' from project 'Pods') cd /Users/user/Desktop/petsquare/ios/Pods /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target x86_64-apple-ios11.0-simulator -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk -L/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/RealmJS -L/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/RealmJS -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/RealmJS -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/DoubleConversion -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/RCT-Folly -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/RCTTypeSafety -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-Codegen -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-Core -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-NativeModulesApple -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-RCTAnimation -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-RCTBlob -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-RCTImage -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-RCTLinking -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-RCTNetwork -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-RCTSettings -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-RCTText -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-RCTVibration -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-cxxreact -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-debug -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-hermes -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-jsi -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-jsiexecutor -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-jsinspector -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-logger -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-perflogger -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/React-utils -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/ReactCommon -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/SocketRocket -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/Yoga -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/fmt -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/glog -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/libevent -F/Users/user/Desktop/petsquare/ios/Pods/../../node_modules/realm/react-native/ios -F/Users/user/Desktop/petsquare/ios/Pods/hermes-engine/destroot/Library/Frameworks/universal -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/hermes-engine/Pre-built -filelist /Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RealmJS.build/Objects-normal/x86_64/RealmJS.LinkFileList -install_name @rpath/RealmJS.framework/RealmJS -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RealmJS.build/Objects-normal/x86_64/RealmJS_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -lc++ -lcompression -lrealm-js-ios -lz -framework React -framework Foundation -framework React -Xlinker -no_adhoc_codesign -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RealmJS.build/Objects-normal/x86_64/RealmJS_dependency_info.dat -o /Users/user/Library/Developer/Xcode/DerivedData/MyApp-ejiysjmdywzzteaetozpazepiqjs/Build/Products/Debug-iphonesimulator/RealmJS/RealmJS.framework/RealmJS
我正在使用:
realm: 12.2.1
react-native: 0.72
@realm/react: 0.6.0
node: 15.8.0
npm: 9.6.2
Xcode: 13.2.1
答: 暂无答案
评论