iOSProjects | contains different applications developed with Swift-5 | iOS library
kandi X-RAY | iOSProjects Summary
kandi X-RAY | iOSProjects Summary
It's project that contains different applications developed with Swift-5
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of iOSProjects
iOSProjects Key Features
iOSProjects Examples and Code Snippets
Community Discussions
Trending Discussions on iOSProjects
QUESTION
I have followed the KMM hands-on tutorial on how to build a sample app with KMM and I was able to complete all the steps successfully! (Yu-huu!) Now I am trying to do a small POC in the production application. So I created a new KMM shared module and added it to the Android project. For the Android part it works fine, but I can't figure out how to include the shared module into the iOS app.
According to this link, the iOS project directory should be referenced in the gradle.properties
file:
ANSWER
Answered 2021-Jan-11 at 17:31So I suppose that simply referencing the iOS project in the gradle.properties is not enough.
Correct. The hands-on does not appear to describe how you'd actually integrate with Xcode. We generally use cocoapods to make this all a little simpler, but in the hands-on, you need to run :shared:packForXCode
from the gradle command line to build the actual framework (you could maybe run it from Android Studio).
That should build a framework in your build dir. Look at the Xcode project in the hands-on. You will see a linked framework pointing at the KMM framework. In your prod Xcode project, you'll need to add that. In the hands-on, look in the build scripts for the one that runs gradle. You'll want to carry that over to your prod Xcode project (see here).
To manually set all that up, you'll need a pretty solid understanding of Xcode config.
If your prod Xcode uses Cocoapods, I'd suggest that route (and self-promo KaMP Kit as an example).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install iOSProjects
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page