Code Monkey home page Code Monkey logo

Comments (3)

kevingpqi123 avatar kevingpqi123 commented on June 24, 2024

这部分已经很成熟了,请严格按照步骤来,不要放过每一个报错,将操作步骤和第一个报错信息发出来

from libpag.

tgitpushping avatar tgitpushping commented on June 24, 2024

操作步骤如下:

【电脑环境】
Apple M3 Pro 14.1 (23B2073)

Xcode Version 15.1 (15C65)
gcc version 15.0.0
nodejs v21.6.2

【执行步骤】

1、执行./sync_deps.sh,使用sudo + ./sync_deps.sh 命令执行 -- 无异常

2、执行 sudo npm install -g depsync 命令,提示如下:

changed 4 packages in 101ms

1 package is looking for funding
run npm fund for details

3、执行depsync 无异常

4、使用CLion 编译项目,可以编译成功。提示如下:
-- Configuring done (1.9s)
-- Generating done (0.1s)
-- Build files have been written to: /Users/yanzi/Documents/Project/PAG/libpag/cmake-build-debug
此目录底下有libpag.framework 的产物

5、cd到iOS目录 ,执行./gen_ios 生成了,PAGViewer.xcworkspace 文件

6、点击PAGViewer.xcworkspace 文件, 并配置 bundleid 及 pp描述文件进行编译,报错(此步骤选择的target是PAGViewer)。报错内容如上,并配置了本地的node.js的访问路径。设置了 ~/.bashrc 和 ~/.zshrc

from libpag.

kevingpqi123 avatar kevingpqi123 commented on June 24, 2024

这里没那么麻烦,对于 iOS,在 macOS 平台上 git 拉取仓库源码后:
1、image
执行脚本看是否有报错

npm install -g depsync 是其它平台的,不需要执行

2、1 无报错,在 ios 目录下
image
然后修改相关配置运行 PAGViewer.xcworkspace 即可

from libpag.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.