![]() If your project has any Git, HTTP, or custom Podspec repository dependencies, you should also specify the path to the Podspec in the Podfile. If you want to import your Kotlin project in an Xcode project, you need to make some changes to your Podfile: The Podspec file includes a path to an output framework and script phases that automate building this framework during the build process of an Xcode project. ![]() When applied, the CocoaPods plugin does the following:Īdds both debug and release frameworks as output binaries for all macOS, iOS, tvOS, and watchOS targets.Ĭreates a podspec task which generates a Podspec file for the project. Generate the Gradle wrapper to avoid compatibility issues during an Xcode build. It lets you create new cross-platform mobile apps in just a few clicks and is tightly integrated with the iOS development ecosystem. See the full syntax of Kotlin DSL in the Kotlin Gradle plugin repository. The KMM plugin for Android Studio can help you develop cross-platform applications. ![]() XcodeConfigurationToNativeBuildType = NativeBuildType.RELEASE XcodeConfigurationToNativeBuildType = NativeBuildType.DEBUG Maps custom Xcode configuration to NativeBuildType KMM with iOS Arm64 Binary Framework (. TransitiveExport = false // This is default. Use this property instead of deprecated 'frameworkName' Configure the Pod name here instead of changing the Gradle project name Homepage = "Link to a Kotlin/Native module homepage" Summary = "Some description for a Kotlin/Native module" Otherwise, the Gradle project version is used. Specify the required Pod version here.
0 Comments
Leave a Reply. |