After updating to Xcode 12 I get The linked library 'libPods-*****.a' is missing one or more architectures required by this target: arm64.
See original GitHub issueDescription
After updating to Xcode 12 I get this error:
The linked library 'libPods-*****.a' is missing one or more architectures required by this target: arm64.
Anyone knows how can solve it?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:86
- Comments:68 (20 by maintainers)
Top Results From Across the Web
React Native on Apple Silicon M1 - The linked library 'libPods ...
xcodeproj The linked library 'libPods-ProjectName.a' is missing one or more architectures required by this target: x86_64. I tried to add x86_64 ...
Read more >Xcode12 build error. The linked fr… | Apple Developer Forums
The linked framework 'Pods_projectA.framework'is missing one or more architectures required by this target: arm64.
Read more >M1 Build issue > The linked library 'libPods-mobile ... - YouTrack
M1 Build issue > The linked library 'libPods-mobile.a' is missing one or more architectures required by this target: arm64. ; Type, Bug B...
Read more >React Native on Apple Silicon M1 - The linked library 'libPods ...
... Apple Silicon M1 - The linked library ' libPods -ProjectName.a' is missing one or more architectures required by this target : x86_64...
Read more >How to get a React Native project to work on M1 mac
After updating to Xcode 12 I get The linked library 'libPods-*****.a' is missing one or more architectures required by this target: arm64.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
Top Related Hashnode Post
No results found
For everyone running into
Please upgrade to the latest CocoaPods (at least
1.10.0
).If doesn’t work:
Please go to Build Settings -> Excluded Architectures ->
Debug
(or the schema you are using to run on an iOS Simulator) and addarm64
there. See https://stackoverflow.com/questions/63607158/xcode-12-building-for-ios-simulator-but-linking-in-object-file-built-for-ios for more.If doesn’t work:
Do it for both your project and Pods. If your project is named
RNTestProject
(react-native init RNTestProject
), you will have to do it forRNTestProject
andPods
. Remember to do it in both places, otherwise, the error will keep happening.More information on this workaround is available in this StackOverflow issue: https://stackoverflow.com/a/64139830
Please keep in mind that this is workaround and not an official answer to the problem. We will investigate this and publish a recommendation once we have analysed all the pros and cons of each alternative solutions.
Running into this after I updated Xcode to v12.
On
"react-native": "0.62.2"