Xcode Project Automation for iOS

I made 4 iphone apps for different different categories of industry. Now I want to make more applications for the same category. So I want to know how to make an iPhone project using any other scripts .. like applescrippting, command line tool, etc. I also want to learn about:

  • How to create a new project using scripts?
  • How to copy another project file to a new project?
  • how to compile and make a .ipa file using scripts.

Please, any script writer and other iOS developer will help me find out about this.

Can someone help me create the same project using scripts with a different name

+4
source share
2 answers

If you want to create “the same project” but with a different name, why not set up a new Target in Xcode.

  • Click project title
  • Click "Add Target" in the panel on the right.

This will allow you to create and archive another application, but keeping the same code base. This way you don't have to worry about duplicating code sets. NB: If you want each application to perform different functions, this is not the best approach, but judging by your last line, this is probably the right approach.

+5
source

Check out this blog - http://tmblr.co/Z7_TitY4veew The Automatically Download Downloads to TestFlight section from Xcode will give you an idea of ​​how to prepare the assembly and download it anywhere, for example, TestFlight.

This stream in Stackoverflow should give you an idea of ​​how to copy files - Applescript Copy the file to a new folder

+3
source

Source: https://habr.com/ru/post/1447897/


All Articles