"Command CodeSign failed with a nonzero exit code" after enrollment to a development team

Hi all,

I have two apple accounts. Stupidly my project is written in Account A and my paid developer account is Account B. When I tried to archive and publish under Account A, it says "Team "*** (Personal Team)" is not enrolled in the Apple Developer Program". But when I add a team to Account B, "Command CodeSign failed with a nonzero exit code". I know it is not the code itself because it runs fine when I use Account A. Just couldn't publish.

Any advice? Many many thanks

It’s hard to say what’s going on here without knowing more about the underlying failure. My Command [something] failed with a nonzero exit code post explains how you get that info.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

"Command CodeSign failed with a nonzero exit code" after enrollment to a development team
 
 
Q