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?
Using agvtool with multiple .xcodeproject files in one directory
1.9k Views Asked by user1728406 At
2
There are 2 best solutions below
0
patel dhruval
On
For me, there were actually 2 xcode project files. i.e. projectName.xcodeproj and projectNameModule.xcodeproj. That happened as I removed some commits where we updated the project name from projectName to projectNameModule. For some reason even after reverting those name changes, the project *Module.xcodeproj and *Module.xcworkspace files were still existing. I just deleted those unused files and it fixed the issue for me.
Related Questions in IOS
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
Related Questions in BUILD
- Ionic cordova build
- Force GHC using local files
- RPM spec files with rpmbuild can have errors
- (automake, libtool) build fails in automake when using same source file name in different directory
- Backup strategy for build tool hosted on Azure VM
- include typescript file in output result build with TFS
- Android Build failed at ':app:dexDebug' with exception ( library and app project )
- GNU make - depend only on file existence and not modification time
- Error code 31 returned from mt.exe when building C++ projects in Visual Studio 2013
- IONIC FRAMEWORK Build Xcode Error :(
- Jenkins - Stage before "Source Code Management"
- Python: Trouble with dill installation
- Execution failed for task 'app:mergeDebugResources' Crunching Cruncher....png failed
- Android: Execution failed for task ':app:processDebugResources'
- Change assets urls to cdn adding absolute path in Grunt
Related Questions in VERSIONING
- How to handle distro versions in Yocto
- Biztalk: Side-by-Side Versioning in different Applications
- continuous integration - build separated projects or build all in one?
- C Compiler automatic Version increment
- How do multiple versions of a REST API share the same data model?
- Use version number in file links in Sphinx
- elasticsearch versions numbering algorithm
- how to maintain different versions of a symfony web site
- spring cloud handle multiple concurrent clients and servers
- How to manage POM version numbers in git without merge conflicts
- how to upgrade a dependency of a global package in npm
- Does node package.json support alpha or beta meta range according to SemVer?
- Why the substitution |version| is not working on Sphinx
- Trying to add versioning using filemtime but fail
- Git Eclipse and versioning
Related Questions in PROJECTS
- mercurial - several projects and repositories
- Transferring an Xcode project to another computer with all files/frameworks
- linux directory location best practices for software development
- how can i create vcproj (VSC++ project file ) from nmake file?
- Sample Projects on OPENGL
- Is project management necessary in a single dev shop?
- Eclipse Workspace/Project Setup Using Symlinks
- Play framework Crud and two projects
- Sharing project binaries across different team projects in TFS 2010
- PHP framework that can be included in other projects
- TFS Build Replication Project Web Base in others projects
- How to subscribe to C# GUI event from ProjectA in dll in ProjectB
- Creating a release branching cycle with shared projects
- Merging Projects
- How do Visual Studio 2010 projects work together under the same solution? I'm trying to combine my first four simple projects
Related Questions in AGVTOOL
- Xcode Versioning Build Settings on frameworks
- Xcode build with Jenkins on Yosemite agvtool not working
- (iOS, XCode 4.2) Setting bundle version using Git post-commit hook causes my project to turn into a Mac project
- AGVTool new-version and what-version do not correspond
- Bump build number without using `CURRENT_PROJECT_VERSION`
- agvtool new-marketing-version doesn't work on Xcode 13
- Automatic version management using agvtool
- agvtool is reporting “Cannot find Foo.xcodeproj/../NO”
- Is it possible to read the 'current project version' in the settings of an iPhone app
- versioning tool for nodejs
- Does agvtool work under Xcode 4?
- Run a shell script before build in Xcode
- $non_lazy_ptr link error with agvtool version variables?
- Using agvtool with multiple .xcodeproject files in one directory
- Is there a way of automatically writing custom values to the bundle's .plist during a build phase?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
For people finding this post and using Fastlane, I just wanted to tell about the plugin
https://github.com/SiarheiFedartsou/fastlane-plugin-versioningwhich have aincrement_version_number_in_plistcommand 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_numberaction withincrement_version_number_in_plist.. they have a very similar contract.