-1

Just updated my project to Xcode12 and tried to compile. I keep getting "file not found" errors for multiple modules from the pods included in my project.

I tried to follow these instructions mentioned here but that didn't work. Error: Could not build Objective-C module 'Firebase'

I still see this error

enter image description here

Btw, this error isn't specific to just Firebase. My project is mostly objective c with some swift files.

Any thoughts on how to fix this ?

ArdenDev
  • 4,051
  • 5
  • 29
  • 50
  • Try this: https://stackoverflow.com/questions/24924809/the-file-myapp-app-couldnt-be-opened-because-you-dont-have-permission-to-vi/64016147#64016147 – Narendar Singh Saini Sep 25 '20 at 06:20

3 Answers3

0

Changing the 'Build Active Architecture' to NO in the pods project fixed the issue for me.

ArdenDev
  • 4,051
  • 5
  • 29
  • 50
0

Change the Build System can fix the errors. On your Xcode Workspace, Go File -> Workspace Settings. Then change to "Legacy Build System".

Dharman
  • 30,962
  • 25
  • 85
  • 135
htq287
  • 113
  • 7
0

See my explanation, which contains the second section that can help by some Podfile attachment:

post_install do |installer|
  installer.pods_project.build_configurations.each do |config|
  config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = 
  "arm64"
  end
end

and some project configurations, for more info go to:

https://github.com/ElizaSapir/KnowlageSharing/blob/main/Xcode12Issues.md

ElizaS
  • 850
  • 1
  • 9
  • 22