The problem was with one of our external dependencies and SPM. When moving all of them back to cocoapods, the problem disappears.
In case anyone wants to replicate, this is a list of dependencies. The ones at the bottom are the ones we moved to SPM and the problem started.
ruby
pod 'Amplitude-iOS'
pod 'AppsFlyerFramework'
pod 'Appboy-iOS-SDK/Core'
pod 'ZendeskSupportSDK'
pod 'ZendeskAnswerBotSDK'
pod 'SDWebImage'
pod 'SnapSDK/SCSDKCreativeKit'
pod 'AWSCore', :git = 'https://github.com/onuniverse/aws-sdk-ios.git', :branch = 'catalyst'
pod 'AWSS3', :git = 'https://github.com/onuniverse/aws-sdk-ios.git', :branch = 'catalyst'
We tried moving the following pods to SPM but it broke the console (printing any property from a breakpoint was not possible)
pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
pod 'FBSDKShareKit'
pod 'AppCenter'
pod 'Auth0', '~ 1.32'
pod 'KeychainAccess'
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: