Configure EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE in build pipeline to fetch iOS On-Demand resources from static server

╄→尐↘猪︶ㄣ 提交于 2020-05-04 10:46:19

问题


When I archive my iOS App for testing purposes I need to configure it to fetch On-Demand resources from a web server instead of Apple servers.

For local development, during the Archive steps in Xcode, I simply choose "Host on Server" instead of "Embed in App" and enter the URL of the webserver where the ODR bundles are hosted.

How can I configure that setting programmatically in a build pipeline though?

I did read that I need to set EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE to false and add the URL but not sure where and how.


Can I achieve that using FastLane? (Fastlane is already in use but I'm not familiar with it yet)




( XCode > Product > Archive > On-Demand Resources )

来源:https://stackoverflow.com/questions/61463826/configure-embed-asset-packs-in-product-bundle-in-build-pipeline-to-fetch-ios-on

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!