Hi! Quick question: I want to move my `iosApp` int...
# ios
f
Hi! Quick question: I want to move my
iosApp
into an
apps
directory. I was able to move everything else but the iOS project, for some reason, it won't work. I've tried moving it with the Terminal, but it will not allow me to run the iOS project from the IDE (trough the Kotlin Multiplatform Project) Does anybody knows how can I move it while being able to run it from the IDE?
p
I believe you will have to change the framework path in xcode to the new location.
f
As in, in the build phase where it builds the shared package? 🤔
p
If the ios app depends on a shared module you need to adjust the “Compile Kotlin Framework” task and adjust the framework search paths: Build Settings -> Search paths. I always search directly in the files for the paths to make sure I rename all references correctly.
FRAMEWORK_SEARCH_PATHS is the key inside the project file.
👍 1