Failed to remove "Info.plist" couldn't be removed
Solution 1
Removed those manually added files from my Project then made a fresh install using Pod now I don't have that error.
Solution 2
I began experiencing this issue right after making a pod install
with Fabric (that made some changes to Info.plist
). Then I realized that there was two Info.plist
references in my project.
To solve the problem I just removed one of them, cleaned my project (Cmd + Shift + K
) and built it again.
Hope this helps.
Solution 3
I fixed the similar issue by removing info.plist from BuildPhases-> Copy bundle resources -> "info.plist"
remove error specific .plist file from "Copy bundle resources" (in my case info.plist in MGSwipeTableCell creating issue)
Solution 4
you may need to add the files to your project. While in XCode right click on your files and select "add files to project" navigate to your project folder and select JSQMessagesViewController files then build.
You may also want to clean your derived data if you press Command Option Shift K
then build the project again.
![Joker](https://i.stack.imgur.com/lEpy3.jpg?s=256&g=1)
Comments
-
Joker almost 2 years
I have been trying to fix this a few days before. I was adding JSQMessagesViewController to my iOS project. Added the library manually by dragging and dropping the JSQMessagesViewController folder downloaded from Github. tried to add a Bridging header for jsqmessagesviewcontroller. tried to add
#import JSQMessagesViewController #import JSQMessages.h
later then when I build the project I found this error message
error: failed to remove /Users/user/Library/Developer/Xcode/DerivedData/CHATAPP-gcvyuyhkvbxvnlfnrrbmaebxevhx/Build/Products/Debug-iphonesimulator/CHATAPP.app/Info.plist: “Info.plist” couldn’t be removed.
I tried searching but didn't help any... what went wrong? How Can I remove this error ? using swift 2.2 and xcode 7.2
-
Joker over 8 years@Mohmad Farhand ... I am new to iOS... that's why I manually added jSQMessagesViewController . I don't know how to use pod or what pod is for ...!!!
-
Amir Foghel almost 6 yearsthanks, didn't think about it when imported another project. thanks