I have GoogleService-info.plist
file in my project file of my app. The way I copy that file to my project is like this
I download the GoogleService-info.plist
from Firebase site to my download folder on my Mac. and then I copy by dragging that file from download folder to Xcode by using this
and my problem is ....
when I delete the GoogleService-info.plist
from the download folder on my mac, it will cause error on my Xcode project, the file is also dissappear from my project like this
Build input file cannot be found: '/Users/dev.adsapps/Downloads/GoogleService-Info.plist'
what went wrong in here ?
I have tried to search the answer like in this thread Problems after upgrading to Xcode 10: Build input file cannot be found but it seems the problem is little bit different
do I have the wrong way when copying the file to my project ?
I am using Xcode 10.
Clean the Build Folder To clean the build folder you can use the shortcut Command+Option+Shift+K or Menu Bar → Product → Hold Option Key → Clean build Folder .
The Project navigator displays your project's files and lets you open, add, delete, and rearrange those files. To open the Project navigator, at the top of your project window's navigator area, click the icon that resembles a file folder.
Look for Added folder options while adding GoogleService-Info.plist
. You should select the first radio button Create groups instead of Create folder references and it will not be removed when you remove it from the other location, for now you are just referencing the item while adding it to the workspace.
Hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With