Machine learning framework MediaPipe for iOS development (5)

Continuing from the previous chapter: MediaPipe, a machine learning framework for iOS development (4)_hbblzjy’s blog-CSDN blog

After researching for so long, I can finally write down how to generate the desired function package framework and then put it into my own project.

First of all, in the source code, each Demo file has a corresponding BUILD file. In fact, the configuration in this file is to run each different Demo.

View the BUILD file in helloworld and analyze the source code:

load(
    "@build_bazel_rules_apple//apple:ios.bzl",
    "ios_application",
) # 加载编译对应的bazel,加载ios_application,也就是编译app对应的数据配置
load(
    "//mediapipe/examples/ios:bundle_id.bzl",
    "BUNDLE_ID_PREFIX",
    "example_provisioning",
) # 加载源码中对应的文件,加载宏定义,加载之前配置开发者生成的provisioning文件

licenses(["notice"])

MIN_IOS_VERSION = "11.0" # 宏定义

alias(
    name = &

Guess you like

Origin blog.csdn.net/hbblzjy/article/details/127802675