问题
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