Validate fail Archive bundle is invalid Unable to load ‘Info.plist’ for bundle at path

This bundle is invalid. Unable to load ‘Info.plist’ for bundle at path: ‘My App.app/Contents/Library/Spotlight/MyApp-SpotlightIndex.mdimporter’..

This mdimporter is embedded in my app with a Copy step in Build Phases and when I Archive the compiled app, I get that error when I try to Validate. The app works OK, the mdimporter Spotlight works OK, all runs fine. But the Validate on the Archive does not work, it fails with that error.

Answered by stayatplay in 812942022

Nevermind. Had copy of mdimporter twice in Build Phases, fixed by deleting the first copy and leaving the one going to the wrapper with Contents/Library/Spotlight.

Accepted Answer

Nevermind. Had copy of mdimporter twice in Build Phases, fixed by deleting the first copy and leaving the one going to the wrapper with Contents/Library/Spotlight.

Validate fail Archive bundle is invalid Unable to load ‘Info.plist’ for bundle at path
 
 
Q