![]() ![]() The build will fail, saying: Command PhraseScriptExecution failed with a nonzero exit code. The next step is a little messy but creates the right setup and only has to be done once. Second: It merges the two build frameworks into a single framework that can handle both ARM and 圆4 CPUs let’s call this our universal framework. First: It creates the build framework for the given CPU (ARM or 圆4). Move the Run Script to the top of the list Important: Move the Run Script to the top of the Build Phases! You can read more about CPU architecture here. This differentiation lets us use the KMM components on a real iPhone (using an ARM CPU) and a simulator. I won’t go further into this (standard) script, except to mention that it distinguishes the build between iOS Arm64 and 圆4. Into the Shell script field, paste: #!/bin/sh PARENTDIR="$(dirname "$SRCROOT/")" cd "$ tasks.getByName("build").dependsOn(packForXcode) This script enables us to build the KMM application for iOS without Android Studio or running Gradle in the terminal. The Run Script lets you run any shell script when building the project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |