I’m having issues having multiple Configurations i...
# compose-ios
j
I’m having issues having multiple Configurations in out Xcode Project. We have Production
Debug
and
Release
and we have QA variant’s which have the
-QA
suffix to them. It’s all setup and works well, apart from our
Framework Search Paths
don’t seem to be working correctly. I’ve seen a few setup places mention using to add
KOTLIN_FRAMEWORK_BUILD_TYPE
which we have done, however building the project and the
embedAndSignAppleFrameworkForXcode
gradle task, we still get the local QA build
Debug-QA
destination in the build dir. Any help would be appreciated. I feel like we’re missing something small, but whatever I do it fails to find the search paths in our QA variant. 🙇
FYI, I’ve tried both of the following for the search paths, niether seem to work:
$(SRCROOT)/../composeApp/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)
and
$(SRCROOT)/../composeApp/build/xcode-frameworks/$(KOTLIN_FRAMEWORK_BUILD_TYPE)/$(SDK_NAME)
Currently we’re using direct integration setup, as shown here: https://kotlinlang.org/docs/multiplatform-direct-integration.html