xcarchive malformed due to missing Info.plist

I have two project which I build based on the same Rake script, which internally uses XCode build. Building it with xcodebuild -archivePath (ARCHIVE succeeds), then I package app with xcodebuild -