After adding my Share Extension also to the Mac Target the Archive doesn't go

I had a Share Extension on my iPhone app, but I decided to also add it to my Mac (it was literally 2 checks). When I run the app everything works (see attached below)

But the moment I try to Archive the build to go on TestFlight, I get this error:

Invalid bundle location. Bundle Bookmark PRO.app/Contents/Resources/Share.appex must be contained in parent bundle's Contents/PlugIns directory. With error code STATE_ERROR.VALIDATION_ERROR.90354 for id 003b6544-0809-4cc5-a13b-8889c00361f3

Does anyone know how I can fix this?

I fixed it by going into the Build Phases of the Mac target and deleting the Share.appex from there!

I fixed it by going into the Build Phases

From which build phase? The Copy Bundle Resources one?

Share and Enjoy

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

Hi, sorry I forgot to write that. Yes I deleted it from the Copy Bundle Resources section.

After adding my Share Extension also to the Mac Target the Archive doesn't go
 
 
Q