$(inherited) "$(SRCROOT) 修改.a文件的路径 --Library Search Paths

本文详细介绍了在Xcode项目中如何正确地使用相对路径引用.a文件,避免因工程位置变动而导致的运行错误。通过实例展示了正确的配置方式。

 $(inherited) "$(SRCROOT)/.a文件所在的文件名"

 

 //如果有多个.a文件格式就像这样

$(inherited) "$(SRCROOT)/xxxx" "$(SRCROOT)/xx"

 

如果取的是相对是绝对路径那么工程移到别的地方就有可能导致运行出错。所以要改成相对路径

转载于:https://www.cnblogs.com/qingjoin/p/3469653.html

[19-Jul-2025 02:06:28] NOTICE: using inherited socket fd=7, "/tmp/php-cgi-74.sock" [19-Jul-2025 02:06:28] NOTICE: using inherited socket fd=7, "/tmp/php-cgi-74.sock" [19-Jul-2025 02:06:28] NOTICE: fpm is running, pid 9880 [19-Jul-2025 02:06:28] NOTICE: ready to handle connections [19-Jul-2025 04:30:01] NOTICE: Reloading in progress ... [19-Jul-2025 04:30:01] NOTICE: reloading: execvp("/www/server/php/74/sbin/php-fpm", {"/www/server/php/74/sbin/php-fpm", "--daemonize", "--fpm-config", "/www/server/php/74/etc/php-fpm.conf", "--pid", "/www/server/php/74/var/run/php-fpm.pid"}) [19-Jul-2025 04:30:01] NOTICE: using inherited socket fd=7, "/tmp/php-cgi-74.sock" [19-Jul-2025 04:30:01] NOTICE: using inherited socket fd=7, "/tmp/php-cgi-74.sock" [19-Jul-2025 04:30:01] NOTICE: fpm is running, pid 16670 [19-Jul-2025 04:30:01] NOTICE: ready to handle connections [20-Jul-2025 04:30:01] NOTICE: Reloading in progress ... [20-Jul-2025 04:30:01] NOTICE: reloading: execvp("/www/server/php/74/sbin/php-fpm", {"/www/server/php/74/sbin/php-fpm", "--daemonize", "--fpm-config", "/www/server/php/74/etc/php-fpm.conf", "--pid", "/www/server/php/74/var/run/php-fpm.pid"}) [20-Jul-2025 04:30:01] NOTICE: using inherited socket fd=7, "/tmp/php-cgi-74.sock" [20-Jul-2025 04:30:01] NOTICE: using inherited socket fd=7, "/tmp/php-cgi-74.sock" [20-Jul-2025 04:30:01] NOTICE: fpm is running, pid 81380 [20-Jul-2025 04:30:01] NOTICE: ready to handle connections 是什么意思
最新发布
07-22
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值