Error: failed to parse iOS XcArchive error: profile not exists

I am trying to deploy an unsigned .xcarchive but it fails saying “profile not found at: /var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/__xcarhive__096258969/appname.xcarchive/Products/Applications/appname.app/embedded.mobileprovision”
Since this is unsigned, there is no profile. How can I skip the xcarchive analyzer?