Swift - Unable to open file in target Xcode 10

前端 未结 15 883
独厮守ぢ
独厮守ぢ 2020-12-30 23:06

I am trying to run Aplication which I have downloaded from GitHub.

When I run get error unable to open file in target, I have Xcode 10.

I already searched f

15条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-30 23:18

    I was facing the same error opening an old project in a new macbook with a recent installation of Xcode and no cocoa pods or anything related on it.

    My way to fix this was following some of the steps en the issues #1727 of alamofire and change some things. Open the terminal and cd project where the pod file is.

    So, this is what worked for me:

    • sudo gem install cocoa pods
    • pod repo remove master
    • pod setup
    • pod repo update
    • pod install

    Then just, clean build folder and build the project.

提交回复
热议问题