Long story short, for more than 1 year ago, Apple released SPM as a replacement for CocoaPods and Carthage.
The first issue is that if we use FlashPhoner in our app, we cannot enable SPM at all, because it requires the Build System option: "New Build System". FlashPhoner integration required...