Xcode, Pods ProjectName.debug.xcconfig unable to open file. Wrong directory

后端 未结 6 1380
花落未央
花落未央 2020-12-08 13:34

When I build project, I see build error: ProjectName.debug.xcconfig unable to open file. I couldn\'t understand my problem for a long time, but today I take att

相关标签:
6条回答
  • 2020-12-08 13:38

    Xcode 10.1 After trying other suggestions found here #8091 (comment) and at Incorrect path for Pods.debug.xcconfig in Xcode? I found that Kaspik's suggestion worked:

    pod deintegrate
    pod install
    

    edit the .xcodeproj/project.pbxproj file and change the PBXGroup "path = Pods" to "name = Pods" source https://github.com/CocoaPods/CocoaPods/issues/8091

    updated from: pod reintegrate to: pod deintegrate

    0 讨论(0)
  • 2020-12-08 13:38

    I was able to manage by reopening Xcode, in my case i had already run pod install with the ide open (Xcode 12.0).

    0 讨论(0)
  • 2020-12-08 13:41

    Remove the duplicates from the Pods folder ƒrom xcode project here:

    0 讨论(0)
  • 2020-12-08 13:46

    Do the following

    1. Delete .xcworkspace file
    2. Go to project build phases - delete Check Pods Manifest.lock and Embed Pods Framework section
    3. Remove Pods folder from the left project navigator
    4. Remove Pods folder from the project directory
    5. Delete everything related to pods except Podfile
    6. Do Pod install

    This should resolve the problem.

    0 讨论(0)
  • 2020-12-08 13:47

    Deleting extra files in target->Linked Frameworks and Libraries solved my problem

    0 讨论(0)
  • 2020-12-08 13:49

    I have encored with this solution...Here is how I solved

    Close Xcode, 
    run on terminal "pod install"
    open xcode,
    clean build folder and run again
    
    0 讨论(0)
提交回复
热议问题