Skip to content

nativescript ios on Mac M1 ld: framework not found FirebaseCore clang: error: linker command failed with exit code 1 (use -v to see invocation) #10378

Answered by rigor789
GuineaPing asked this question in Q&A
Discussion options

You must be logged in to vote

Seems like this is an old project, pre Apple Silicon era. Some of the plugins used don't have arm64 architecture slices in them to run natively on the new mac/simulators.

One option is to run on physical devices - which should work because the device slices haven't changed with the introduction of Apple Silicon. You might need to replace tns-ios: 6.5.6 with @nativescript/[email protected] (latest) which should work fine regardless of the rest of your project dependencies.

Alternatively, you need to either update the project to latest, including replacing deprecated plugins like nativescript-plugin-firebase, or use something like patch-package to patch incompatible plugins directly after identifying…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rigor789
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #10346 on September 07, 2023 13:33.