Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Failed to set plugin placeholders" message?

Xcode 9.1 Simulator 10.0 OSX 10.12.6

I would like to upload a new build of my sticker pack to iTunes Connect. But Product > Archive is grayed out. So I ran the Simulator and got ""Failed to set plugin placeholders for (name)."

Only one answer anywhere in the whole world -- delete Derived Data Folder. I did and got same error message.

BTW Under General in Xcode the Version is 1. The build is 1.4. Does the build number have to be changed somewhere else as well?

like image 881
markgrant Avatar asked Nov 17 '17 05:11

markgrant


2 Answers

What worked for me, Go to your target Build Phases and on "Embedded App Extensions" check the "Copy only when installing" checkbox.

enter image description here

like image 86
James Rochabrun Avatar answered Nov 20 '22 02:11

James Rochabrun


I had the same problem today. In my situation I had a different identifier in my original app than in the extension identifier "base". The extension has to have the same identifier as the original app plus something else.

E.g:

  • Dummy App: com.company.dummy-app
  • Dummy App Extension: com.company.dummy-app.extensionName

After Xcode told me that, I changed my wrong names to look like above and then the problem occurred: The problem was, that I had "automatic manage signing" turned on but Xcode didn't recognize that I changed the identifier.

Solution: Just change the identifier again and check if "automatic manage signing" has created a new provisioning profile. Deleting derived data may also helps.

like image 30
d.ennis Avatar answered Nov 20 '22 04:11

d.ennis