0

I cloned a React Native app from github and followed the instructions in the Readme file (yarn install; cd ios && pod install). The app was built successfully in Xcode, but when i try to run it from my terminal using yarn ios the build failed.

The error is not descriptive enough, i can't figure out what caused the problem!!

Here is the error I am getting

enter image description here

If anyone has experienced such a thing before, please help me.

bilalo
  • 129
  • 1
  • 1
  • 7

1 Answers1

0

This article helped me fix the problem the link

What I did ?

At the end of my Podfile i add the following snippet and i run pod install command through terminal.

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings["ONLY_ACTIVE_ARCH"] = "YES"
    end
  end
end
bilalo
  • 129
  • 1
  • 1
  • 7