Hard to say without looking at it. It’s an xcode/build thing rather than a Kotlin-specific thing, though. First to try is check which file you have opened in Xcode. I’d close Xcode, and make sure you open the
*.xcworkspace
rather than
*.xcodeproj
. When you use cocoapods, you need to open a different project file. I don’t know that AS would still be failing, though (not sure how the plugin picks project configs, and I use Xcode most of the time)
✅ 1
🙏 1
thank you color 1
j
julioromano
04/22/2022, 6:02 AM
Sharing code is not a problem, I just wish I knew which code I could share to help with this 🙂
julioromano
04/22/2022, 6:14 AM
Wow… opening the
*.xcworkspace
did the trick, now the app builds and launches from Xcode. But still no luck launching it from within AS (
ld: framework not found Pods_iosApp
).
julioromano
04/22/2022, 6:27 AM
Ok, it was the same issue from within AS too. The iosApp launch configuration still pointed to the
*.xcodeproj
. Deleting it and doing a sync made AS recreate it correctly pointing to the
*.xcworkspace
.
julioromano
04/22/2022, 6:28 AM
Thanks a lot!!!
🎉 1
r
Raed Ghazal
11/27/2023, 4:41 AM
2 years later, thanks, got the same issue and this fixed it 😄