P12 "File does not exist"


#1

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.


#2

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


#3

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.


#4

@edgar @skevy - please help @thenewt15 :open_mouth:


#5

hi, can you copy paste the exact commands that are given and the version of the exp CLI tool?


#6

Tried with both 46.0.5 and 46.0.6.

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”


#7

okay, what kind of path are you giving? Absolute? Relative? With ~? Are you entirely sure that the file does not exist?


#8

I’ve tried all three:

/Users/me/Desktop/cert.p12
~/Desktop/cert.p12
…/…/Desktop/cert.p12

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.


#9

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

but no luck.


#10

I have the same problem. Android keystore file path too…


#11

Hey everyone, this issue should be fixed now in the latest version of exp (v47.0.0). Let me know, if you’re still having this problem after upgrading!


#12

hello fson,

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?


#13

I am also having trouble finding my p12 file


#14

Hi, replied in other post.


#15

if anyone having this problem now then here is the solution

Do not drag and drop a file to the terminal.

add the path from your home

~/dev/folder/file.p12

~/ is important to start from Home


#16

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 Here Click 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