-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 #6216
Comments
Recent versions of Realm JS are not built for macOS Monterey. When you do You have to upgrade macOS or use an older version of Realm JS. |
Thank you @kneth , can you also mention the version i can use? I tried to install 11.10.2 and also 10.24.0 , both give some warnings for deprecated packages and when i run it on ios the app just crashes without giving any error. |
Hi @kneth , I upgraded macOS to the latest version (sonoma 14.1). still i am facing the same issue. here's the complete log of errors when i run "npm run ios". er/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-CoreModules.build/React-CoreModules-project-headers.hmap -I/Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Products/Debug-iphonesimulator/React-CoreModules/include -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/DoubleConversion -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/FBLazyVector -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/RCT-Folly -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/RCTRequired -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/RCTTypeSafety -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React-Codegen -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React-Core -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React-NativeModulesApple -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React-RCTBlob -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React-callinvoker -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React-cxxreact -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React-debug -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React-hermes -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React-jsi -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React-jsiexecutor -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React-jsinspector -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React-logger -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React-perflogger -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React-runtimeexecutor -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React-utils -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/ReactCommon -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/SocketRocket -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/Yoga -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/fmt -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/glog -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/hermes-engine -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/libevent -I/Users/sjigoa/Desktop/RonesdyApp/node_modules/react-native/React/CoreModules/React/CoreModules -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/RCT-Folly -I/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React-Codegen/react/renderer/components -I/Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Products/Debug-iphonesimulator/React-Codegen/React_Codegen.framework/Headers -I/Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-CoreModules.build/DerivedSources-normal/arm64 -I/Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-CoreModules.build/DerivedSources/arm64 -I/Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-CoreModules.build/DerivedSources -F/Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Products/Debug-iphonesimulator/React-CoreModules -F/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/hermes-engine/destroot/Library/Frameworks/universal -F/Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/hermes-engine/Pre-built -fmodule-map-file=/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/RCTTypeSafety/RCTTypeSafety.modulemap -fmodule-map-file=/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React/React-Core.modulemap -fmodule-map-file=/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/ReactCommon/ReactCommon.modulemap -fmodule-map-file=/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React_Codegen/React-Codegen.modulemap -fmodule-map-file=/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/React_NativeModulesApple/React-NativeModulesApple.modulemap -fmodule-map-file=/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/folly/RCT-Folly.modulemap -fmodule-map-file=/Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Headers/Public/yoga/Yoga.modulemap -DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-nullability-completeness -include /Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Target\ Support\ Files/React-CoreModules/React-CoreModules-prefix.pch -MMD -MT dependencies -MF /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-CoreModules.build/Objects-normal/arm64/RCTDevLoadingView.d --serialize-diagnostics /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-CoreModules.build/Objects-normal/arm64/RCTDevLoadingView.dia -c /Users/sjigoa/Desktop/RonesdyApp/node_modules/react-native/React/CoreModules/RCTDevLoadingView.mm -o /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-CoreModules.build/Objects-normal/arm64/RCTDevLoadingView.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/React-CoreModules.build/Objects-normal/arm64/RCTDevLoadingView.o CompileC /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-CoreModules.build/Objects-normal/arm64/RCTClipboard.o /Users/sjigoa/Desktop/RonesdyApp/node_modules/react-native/React/CoreModules/RCTClipboard.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'React-CoreModules' from project 'Pods') CompileC /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-CoreModules.build/Objects-normal/arm64/RCTAppState.o /Users/sjigoa/Desktop/RonesdyApp/node_modules/react-native/React/CoreModules/RCTAppState.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'React-CoreModules' from project 'Pods') CompileC /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-CoreModules.build/Objects-normal/arm64/RCTActionSheetManager.o /Users/sjigoa/Desktop/RonesdyApp/node_modules/react-native/React/CoreModules/RCTActionSheetManager.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'React-CoreModules' from project 'Pods') WriteAuxiliaryFile /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RealmJS.build/Script-46EB2E0001DBE0.sh (in target 'RealmJS' from project 'Pods') WriteAuxiliaryFile /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RealmJS.build/OutputFileList-46EB2E0001DBE0-RealmJS-xcframeworks-output-files-46e0c6d900392bd4c1305e1a93ab076e-resolved.xcfilelist (in target 'RealmJS' from project 'Pods') WriteAuxiliaryFile /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RealmJS.build/InputFileList-46EB2E0001DBE0-RealmJS-xcframeworks-input-files-e9d6991df32f1eeeafcebac6c882dcbd-resolved.xcfilelist (in target 'RealmJS' from project 'Pods') PhaseScriptExecution [CP]\ Copy\ XCFrameworks /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RealmJS.build/Script-46EB2E0001DBE0.sh (in target 'RealmJS' from project 'Pods') sent 39507973 bytes received 76 bytes 79016098.00 bytes/sec CompileC /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RealmJS.build/Objects-normal/arm64/RealmReact.o /Users/sjigoa/Desktop/RonesdyApp/node_modules/realm/react-native/ios/RealmReact/RealmReact.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RealmJS' from project 'Pods') WriteAuxiliaryFile /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RealmJS.build/DerivedSources/RealmJS_vers.c (in target 'RealmJS' from project 'Pods') CompileC /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RealmJS.build/Objects-normal/arm64/RealmJS-dummy.o /Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Target\ Support\ Files/RealmJS/RealmJS-dummy.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'RealmJS' from project 'Pods') CompileC /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RealmJS.build/Objects-normal/arm64/RealmJS_vers.o /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RealmJS.build/DerivedSources/RealmJS_vers.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'RealmJS' from project 'Pods') WriteAuxiliaryFile /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Pods-RonesdyApp.build/Pods-RonesdyApp-project-headers.hmap (in target 'Pods-RonesdyApp' from project 'Pods') ProcessProductPackaging "" /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/RonesdyApp.build/Debug-iphonesimulator/RonesdyApp.build/RonesdyApp.app-Simulated.xcent (in target 'RonesdyApp' from project 'RonesdyApp')
}
CompileC /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Pods-RonesdyApp.build/Objects-normal/arm64/Pods-RonesdyApp-dummy.o /Users/sjigoa/Desktop/RonesdyApp/ios/Pods/Target\ Support\ Files/Pods-RonesdyApp/Pods-RonesdyApp-dummy.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Pods-RonesdyApp' from project 'Pods') ProcessProductPackaging "" /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/RonesdyApp.build/Debug-iphonesimulator/RonesdyApp.build/RonesdyApp.app.xcent (in target 'RonesdyApp' from project 'RonesdyApp')
}
Libtool /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Products/Debug-iphonesimulator/React-CoreModules/libReact-CoreModules.a normal (in target 'React-CoreModules' from project 'Pods') Libtool /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Products/Debug-iphonesimulator/RealmJS/libRealmJS.a normal (in target 'RealmJS' from project 'Pods') Libtool /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Products/Debug-iphonesimulator/libPods-RonesdyApp.a normal (in target 'Pods-RonesdyApp' from project 'Pods') PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/RonesdyApp.build/Debug-iphonesimulator/RonesdyApp.build/Script-C38B50BA6285516D6DCD4F65.sh (in target 'RonesdyApp' from project 'RonesdyApp') PhaseScriptExecution Start\ Packager /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/RonesdyApp.build/Debug-iphonesimulator/RonesdyApp.build/Script-FD10A7F022414F080027D42C.sh (in target 'RonesdyApp' from project 'RonesdyApp') CompileC /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/RonesdyApp.build/Debug-iphonesimulator/RonesdyApp.build/Objects-normal/arm64/RonesdyApp_vers.o /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/RonesdyApp.build/Debug-iphonesimulator/RonesdyApp.build/DerivedSources/RonesdyApp_vers.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'RonesdyApp' from project 'RonesdyApp') CompileC /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/RonesdyApp.build/Debug-iphonesimulator/RonesdyApp.build/Objects-normal/arm64/main.o /Users/sjigoa/Desktop/RonesdyApp/ios/RonesdyApp/main.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'RonesdyApp' from project 'RonesdyApp') CompileC /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/RonesdyApp.build/Debug-iphonesimulator/RonesdyApp.build/Objects-normal/arm64/AppDelegate.o /Users/sjigoa/Desktop/RonesdyApp/ios/RonesdyApp/AppDelegate.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RonesdyApp' from project 'RonesdyApp') Ld /Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Products/Debug-iphonesimulator/RonesdyApp.app/RonesdyApp normal (in target 'RonesdyApp' from project 'RonesdyApp') note: Removed stale file '/Users/sjigoa/Library/Developer/Xcode/DerivedData/RonesdyApp-ejoclxcidrbpmrbaxwaygopobiah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/YogaKit.build/Script-46EB2E0001CB50.sh' 2023-10-30 10:02:45.610 xcodebuild[3531:37190] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore The following build commands failed: |
@mandarjoshi-sj23 I have tried to build an app using our template using Xcode 14.2, MacOS 13.6.1 and node 20.5.1 and I am not able to reproduce it. Can you provide a small reproduction case? |
How frequently does the bug occur?
Always
Description
When i install realm and run pod install, it does not give any error. but when i try to run the app on ios it gives me this error and build fails.
Stacktrace & log output
No response
Can you reproduce the bug?
Always
Reproduction Steps
No response
Version
12.2.1
What services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
MacOS Monterey 12.3
Build environment
No response
Cocoapods version
1.13.0
The text was updated successfully, but these errors were encountered: