admin管理员组

文章数量:1389897

I have currently an iOS app consisting of 4 different schemes which are different flavors of a same base code. These 4 schemes are eventually published as 4 different apps on the App Store. I have created a Widget Extension that I want to be used only in one of these apps. I understand that I can remove/add the .appex within XCode manually, but I would like to automate this in my CI. I do not use XCodeGen currently, though I think it might finally be a good idea. But I would prefer not to use it, as my app is also a Flutter app and I don't want to mess with the already complex configuration of it. What I would really like is a command line tool, or maybe a Build Phase that would remove/add the .appex based on the scheme. Any clue?

I tried to do it manually and it actually works, but I do not know how to do it automatically.

本文标签: iosHow to automatize embedding an app extension for only one schemeStack Overflow