Comments (3)
这部分已经很成熟了,请严格按照步骤来,不要放过每一个报错,将操作步骤和第一个报错信息发出来
from libpag.
操作步骤如下:
【电脑环境】
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.
这里没那么麻烦,对于 iOS,在 macOS 平台上 git 拉取仓库源码后:
1、
执行脚本看是否有报错
npm install -g depsync 是其它平台的,不需要执行
2、1 无报错,在 ios 目录下
然后修改相关配置运行 PAGViewer.xcworkspace 即可
from libpag.
Related Issues (20)
- iOS 使用PAG 存在内存泄漏,希望尽快解决,有Demo源码 HOT 1
- android 崩溃Java_org_libpag_PAGPlayer_flushAndFenceSync
- iOS pag使用过程中捕捉到的崩溃 HOT 4
- 开发者工具能正常播放动画,但真机调试时报错,PAGInit fail! Please check .wasm file path valid.
- PAG动画播放时占用系统cpu资源高,跟播放视频一个级别。 HOT 2
- 浏览器放到后台3s,切回到前台,BMP动画停止渲染
- 微信小程序set width out of range
- iOS 15.6.1 [AGXG14Device originalObject]: unrecognized selector sent to instance 0x15680ea00 HOT 1
- 是否支持 pag 文件边下边播? HOT 1
- 导出pag文件和ae工程出入很大,出现了转场图片不显示和文本被裁剪
- 是否支持加载pag格式的网络资源, 类似于iOS的SDWebImage, 可以缓存网络资源. HOT 2
- Android 首次进行动画,且替换动画内的文本 PGAView Crash HOT 3
- iOS crash HOT 2
- iOS 17.4 debug环境加载pag文件时崩溃 HOT 4
- BMP动画播放存在残留
- memory safety bugs
- 使用pagImageview来实现seek的操作,如果外部传入的是时间戳,怎么进行seek? HOT 1
- 4.1.49版本 安卓14崩溃,我们不愿意升级版本,能否基于4.1.49修复安卓14的兼容? HOT 1
- Android 4.3.47 setPathAsync NetworkOnMainThreadException HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libpag.