Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using agvtool with multiple .xcodeproject files in one directory

Tags:

I have tried using agvtool for ios build versionining. It works great when there is a single .xcodeproj file in the directory. In my case, our project structure is such that it has 4 .xcodeproj files in a single directory. When firing agvtool command in this directory it throws error message, 'agvtool does not work with multiple projects in the same directory'. Anyone has any idea how can I make agvtool work with this folder structure?

like image 785
user1728406 Avatar asked Aug 31 '15 11:08

user1728406


1 Answers

For people finding this post and using Fastlane, I just wanted to tell about the plugin https://github.com/SiarheiFedartsou/fastlane-plugin-versioning which have a increment_version_number_in_plist command which does not use agvtool (and support multiple .xcodeproj files in a single folder.

You just need to install the plugin above and replace your increment_version_number action with increment_version_number_in_plist .. they have a very similar contract.

like image 190
Peter Theill Avatar answered Sep 20 '22 12:09

Peter Theill