Develop/React Native

[React Native] iOS Build Error On M1 Chip

kimpeupeu 2021. 3. 25. 11:59

After 'pod install',  i run 'npx react-native run-ios'. But, the command return to me the message "BUILD FAILED".

So i struggled for 10 hours, finally find the solution.

 

This is just my guess. Pod cache repos and when i install pod use the cache. so if i have ever use wrong dependencies, after that time, my whole dependencies will be failed.

So. i have to clean the cache with:

pod cache clean
rm -rf Pods
ios pod install

Now, it works well.

반응형