Finally figured. The issue was detailed in documentation always. I was mixing direct integration wit...
s
Finally figured. The issue was detailed in documentation always. I was mixing direct integration with cocoapod integration. You cannot have both and the flag to suppress the warning made it hide under the bed. I went pure Cocoapod integration and MSAL library is integrating as expected.
Direct integration
You can connect the iOS framework directly from the Kotlin Multiplatform project by adding a special script to your Xcode project. The script is integrated into the build phase of your project's build settings.
This integration method can work for you if you do not import CocoaPods dependencies in your Kotlin Multiplatform project.
If you use the Kotlin Multiplatform IDE plugin, direct integration is applied by default.
For more information, see Direct integration.
CocoaPods integration with a local podspec
You can connect the iOS framework from the Kotlin Multiplatform project through CocoaPods, a popular dependency manager for Swift and Objective-C projects.
This integration method works for you if:
• You have a mono repository setup with an iOS project that uses CocoaPods
• You import CocoaPods dependencies in your Kotlin Multiplatform project
To set up a workflow with a local CocoaPods dependency, you can either edit the scripts manually.
For more information, see CocoaPods overview and setup.
🧵 1
f
take a look at the alternative spmforkmp
s
Thanks. Yes, I should. I just want to follow official documentation and stay with jetbrains tooling as much as I can. But that is in my roadmap. Should be easy switch over later.
f
you will switch to the default integration instead of the cocoapods integration
👍 1
s
acknowledged - I will keep it 🧵 going forward.