ChatSecure-iOS icon indicating copy to clipboard operation
ChatSecure-iOS copied to clipboard

unable to open configuration settings file

Open kamalkumar13 opened this issue 2 years ago • 1 comments

/Users/Saini/Desktop/ChatSecure-iOS/Pods/Target Support Files/Pods-ChatSecureCorePods-ChatSecure/Pods-ChatSecureCorePods-ChatSecure.ios_debug.xcconfig:1:1 unable to open configuration settings file

I am getting this issue after successfully install pods. Any solution for this? Screenshot 2023-10-03 at 7 57 38 PM Screenshot 2023-10-03 at 7 57 51 PM

kamalkumar13 avatar Oct 03 '23 14:10 kamalkumar13

I did follow these steps to resolve above issues:

Inside the project root directory

root |- <ProjectName> |- <ProjectName>.xcodeproj |- <ProjectName>.xcworkspace |- <ProjectName>Tests |- Podfile |- Podfile.lock |- Pods Delete the following files. Ensure you have copied the contents of Podfile.

Podfile Podfile.lock Pods Folder Open your .xcodeproj using Xcode or using terminal command

open <ProjectName>.xcodeproj Inside Xcode, locate the "Pods" folder which should contain something along the lines of...

Pods |- Pods-<ProjectName>.debug.xconfig |- Pods-<ProjectName>.release.xconfig Delete those references and select "move to trash" when prompted.

Close Xcode

Now run the following:

pod init && pod install Open your Podfile and paste in your previously copied old Podfile that was deleted earlier.

run the following command:

pod install In terminal open Xcode again with the following command

open <ProjectName>.xcworkspace Note: that I opened the xcworkspace file NOT the xcodeproj file.

At this point for me I was able to compile my code as normal without having to change back to the Legacy Build System.

kamalkumar13 avatar Oct 05 '23 05:10 kamalkumar13