简体   繁体   中英

In iOS set product name ,app id and code signing identity during build

I want to set the iOS app 'product name' & 'appId' & 'code signing identity' during build time . I am building 2 app with same code base but 'product name', 'appId' & 'code signing identity' is different . I am manually changing the 'product name', 'appId' & 'code signing identity' for each build . I want to set a parameter in code , and according to that corresponding 'product name', 'appId' & 'code signing identity' should be changed during build time. Can anybody help me on this.

You don't need to set anything during build time, you just have to create 2 different build targets. You can find a related tutorial at http://www.reigndesign.com/blog/building-flockwork-creating-targets-for-free-and-full-versions-in-a-single-xcode-project/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM