1

I was trying to connect Firebase and after importing the info.pList file, I got this error:

Multiple commands produce '/Users/user/Library/Developer/Xcode/DerivedData/-cprwjjarcsfhrsbrbdfvepabszpu/Build/Products/Debug-iphonesimulator/app.app/Info.plist':
1) Target 'app' (projectapp') has copy command from '/Users/user/Desktop/app/app/Info.plist' to '/Users/user/Library/Developer/Xcode/DerivedData/-cprwjjarcsfhrsbrbdfvepabszpu/Build/Products/Debug-iphonesimulator/app.app/Info.plist'
2) Target ' app' (project 'app') has process command with output '/Users/usr/Library/Developer/Xcode/DerivedData/app-cprwjjarcsfhrsbrbdfvepabszpu/Build/Products/Debug-iphonesimulator/app.app/Info.plist'

1 Answer 1

7

Open Info.plist file in Xcode, open file inspector and check for Target Membership for your app.

enter image description here

This option must be unchecked, if it's checked, please uncheck and build again.

Sign up to request clarification or add additional context in comments.

5 Comments

Select your app target under TARGETS in the project, Go to Build Settings, search for Info.plist and make sure this path value and the path at which Info.plist is present in Finder matches.
I'm not sure I can check if the path values are same or how I can edit them, I am pretty new to this. I've updated the question and put a screenshot of the build setting
Where it says Multiple Values, double tap that area and paste following $(SRCROOT)/Bakery app/Info.plist and then try building.
This should be the accepted answer, @LisaS please mark it as such for the benefit of others :)
Hey Tarun, and if I need this in bitrise, how can I I do this? There I can't access xcode directly

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.