security: SecKeychainItemImport: MAC verification failed during PKCS12 import (wrong password?)

Have a problem with ios building.

LOGS

creating keychain

creating keychain…

creating new keychain…

Executing command: security show-keychain-info /private/tmp/xdl/eb457d10-9a49-11e8-98ce-e959e428cdfd.keychain

Keychain “/private/tmp/xdl/eb457d10-9a49-11e8-98ce-e959e428cdfd.keychain” timeout=360000s

created new keychain

done creating keychain

importing distribution certificate into keychain…
importing certificate into keychain…
certificate has password
[stderr] security: SecKeychainItemImport: MAC verification failed during PKCS12 import (wrong password?)
unable to import distribution certificate into keychain
Error: Process exited with non-zero code: 1
at ChildProcess.child.on (/usr/local/turtle-js/node_modules/@expo/spawn-async/build/spawnAsync.js:39:21)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:554:12)

Hey @softgeneration,

I’m thinking this may be a certs issue. Can you try clearing the credentials with Expo by running the command exp build:ios -c and also looking at the Apple Developer Portal and making sure everything is copacetic with your certs.

Cheers,

Adam

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.