Swift - Unable to open file in target Xcode 10

前端 未结 15 967
独厮守ぢ
独厮守ぢ 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条回答
  •  Happy的楠姐
    2020-12-30 23:20

    This happened due to change the Project Name or Miss the Pods from Your Project

    if the Pods are Miss Then Following Method

    1. open the Project and Command + Shift + K
    2. Close the Project
    3. Open Terminal got to Your Xcode Project Directory cd /your-Xcode-project
    4. if coca pods already installed so skip this Point if not sudo gem install cocoa pods run this Command on terminal
    5. pod install

    If Above Method not Working so its Project name Issue then Go with following Method

    1. First, open your Pod File and change the target
    2. target 'your Xcode project name' do

    run the Following Commands from Terminal

    go to Your directory from terminal

    pod deintegrate

    pod clean

    pod install

    Done now open your xcWorkSpace file

提交回复
热议问题