I’m using the CLI to create an iOS build, an opted to provide my own certificate. At one step it asks for the path of my p12 file. When I give it the path it says “File does not exist.” I’ve tried endless options, including dragging the p12 file from Finder to the Terminal, so the path is automatically populated.
Seems like the build process is broken when you try to supply your own p12 file.
this certainly works for other folks and i’m personally not familiar with this so i can’t help too much unfortunately, but i’ve pinged @edgar on this and he may be able to help when he’s around
Not sure if this matters, but I previously built successfully when I had
the CLI create my certificate for me. At some point the build process
stopped working, telling me to use the “-c” command. So I did, but it kept
failing, telling me to use the “-c” command. So now I’m trying it with
supplying my own certificate and getting the error about the File not
existing.
I run exp build:ios -c
It asks for my login information, which I provide.
It asks whether I want to provide my own p12 file. I do.
The prompt says “Path to p12 file”.
I enter a path, it returns “File does not exist”
The file is definitely there. I can drag it straight from finder to populate the path for me in the CLI tool. When I do that, it uses the first path I listed.
I also face the same issue.
the cmd running in Desktop also the p.p12 file is in the Desktop [Mac OSX high seria]
I tried it all with ~/User/xxx/Desktop/p.p12, /User/xxx/Desktop/p.p12, p.p12
I’m still having this issue. I use v47.1.4 and there is no way to make exp convince there is p12 file. I’ve tried to write, nope. I’ve tried to drag file to terminal, big nope! what should I do?
sure if this matters, but I previously built successfully when I had
the CLI create my certificate for me. At some point the build process
stopped working, Click HereClick Here telling me to use the “-c” command. So I did, but it kept
failing, telling me to use the “-c” command. So now I’m trying it with
supplying my own certi
FYI I ran into this today despite dragging and dropping my file into terminal but found the solution:
Turns out the issue was that after dragging, the path automatically had a space at the end. Once deleted, it worked.
(It may be a good idea for the CLI to trim whitespace from the path for this reason, but I’ll leave this up to the maintainers to determine since they have a lot on their plate…!)