Instal the new version for ios Coco10/23/2023 This could take a while.ĮRROR: Failed to build gem native extension.Ĭurrent directory: /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.4/ext/ffi_c Here is terminal output for sudo gem install ~ % sudo gem install cocoapodsīuilding native extensions. If your project has any Git, HTTP, or custom Podspec repository dependencies, you should also specify the path to the Podspec in the Podfile.Unable to install Cocoapods in MacOS 12.0 Beta and Xcode Version 13.0 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. See the full syntax of Kotlin DSL in the Kotlin Gradle plugin repository. XcodeConfigurationToNativeBuildType = NativeBuildType.RELEASE XcodeConfigurationToNativeBuildType = NativeBuildType.DEBUG Maps custom Xcode configuration to NativeBuildType 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.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |