ios - 织物添加 $(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH) 不起作用
<p><p>我正在使用最新的 Xcode 10.1。</p>
<p>我按照 Xcode 10 上的说明将 $(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH) 添加到输入文件中:
<a href="/image/tJJZq.png" rel="noreferrer noopener nofollow"><img src="/image/tJJZq.png" alt="enter image description here"/></a> </p>
<p>但是当我尝试使用 faSTLane 构建它时,我仍然得到 </p>
<pre><code>❌error: Fabric: Info.plist Error
** ARCHIVE FAILED **
The following build commands failed:
PhaseScriptExecution Run\ Script /Users/xuanliu/appannie/development/brandapp/build/Build/Intermediates.noindex/ArchiveIntermediates/BrandedApp/IntermediateBuildFilesPath/BrandedApp.build/Release-iphoneos/BrandedApp.build/Script-7477C8581AA993830001D3B0.sh
(1 failure)
: Exit status: 65
</code></pre>
<p>我检查了我的build设置,信息 plist 文件显示:
<a href="/image/uVLeG.png" rel="noreferrer noopener nofollow"><img src="/image/uVLeG.png" alt="enter image description here"/></a> </p>
<p>我的项目设置有什么问题,有人可以帮忙吗?</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>我也有同样的问题,如果你的 info.plist 像这样在你的根目录中:</p>
<p> <a href="/image/WwV2i.png" rel="noreferrer noopener nofollow"><img src="/image/WwV2i.png" alt="enter image description here"/></a> </p>
<p>您应该像这样更改 <strong>$(SRCROOT)/$(BUILT_PRODUCTS_DIR)/info.plist</strong>:</p>
<p> <a href="/image/hHWy7.png" rel="noreferrer noopener nofollow"><img src="/image/hHWy7.png" alt="enter image description here"/></a> </p></p>
<p style="font-size: 20px;">关于ios - 织物添加 $(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH) 不起作用,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/53551183/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/53551183/
</a>
</p>
页:
[1]