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
- URLSession requesting JSON array from server not working
- Incorrect display of LinearGradientBrush in IOS
- Module not found when building flutter app for IOS
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- On iOS, the keyboard does not offer a 6-character SMS code
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- Hide LiveActivityIntent Button from Shortcuts App
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Actionable notification api call not working in background
- Accessibility : Full keyboard access with scroll view in swiftui
- There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Related Questions in BUILD
- Build issue in my STM32-NUCLEO project using the Eclipse IDE
- Module not found when building flutter app for IOS
- Why am I getting this error ? error CS0103: The name 'EnhancedStackTrace' does not exist in the current context
- Gradle 8.7 cannot find installed JDK 22 in IntelliJ
- Build LLVM, Clang and Libfuzzer
- when I open a ktor project, error Cannot invoke "java.nio.file.Path.toString()" because the return value of "java.nio.file.Path.getFileName()" is null
- Cannot make Django run the frontend from Vite's build ("was blocked because of a disallowed MIME type (“text/html”)")
- Distorted CSS after Build process
- how to build nextjs app unable to build and deploy
- How to build custom mediapipe python model i.e. adding flow_limiter_calculator to face_landmark_front_cpu.binarypb
- Assets not showing after build process in Vite and React
- "Config.guess failed to determine the host type" when trying build binutils-2.7 with Cygwin
- The assembled Python application does not launch
- Why rebuild module does not recompile dependency module, but build module does in IntelliJ Idea?
- Gitlab pipeline stuck with nx cloud issue
Related Questions in VERSIONING
- Finding all available versions of a NuGet package within a specific version range
- Flutter - How to get the build number of the app?
- Django drf-yasg API versions switch from drop down
- Sharing dependency version with NPM workspaces in monorepo
- Versioning C# projects with visual studio
- How to implement js and css versioning in hybris based project via wro4j
- Why does the Haskell PVP describe new functions as non-breaking?
- How to update version in package.json using calendar versioning
- Develop a service mesh solution that enables developers deploy and test multiple code versions
- how to add the property to delete the blob versions after X days in terraform
- Is symbol versioning widely used in linux libraries or is it just used in some specific and rare cases?
- Relocate bookmarks.xml file to maintain Sourcetree bookmarks throughout several machines (Windows)
- If a parent entity is SCD type 4 with a history table, should the child entities (one-to-many) also have a history table?
- How to make a dynamic Relationship with versioning in SQL?
- Package management - list of common version named tags? - E.g., "latest", "lts"
Related Questions in PROJECTS
- Can't see items from one project in another C#
- Separate IntelliJ settings for projects
- Should I Use Multiple Targets or Separate Xcode Projects?
- How to compile a C++ File without making a project in Visual Studio 2017?
- Project Online read-only Error
- How to get my projects back on the "projects" window after clicking "close all projects" in file tab?
- VSTS Workflow for Microservices / Share Service Endpoints
- Search functionality in Github/Repo/Projects
- Organize Eclipse Projects
- All about C memory management
- run several .py file with local packages
- Merge two project with GIT
- SBT dynamic project dependency based on command line argument
- How to compile and run a C file in CodeBlocks which is outside a project?
- linux directory location best practices for software development
Related Questions in AGVTOOL
- agvtool new-marketing-version doesn't work on Xcode 13
- agvtool is reporting “Cannot find Foo.xcodeproj/../NO”
- Automatic version management using agvtool
- Xcode: Increment build number
- Using agvtool with multiple .xcodeproject files in one directory
- Run a shell script before build in Xcode
- Xcode build with Jenkins on Yosemite agvtool not working
- Xcode Versioning Build Settings on frameworks
- Is there a way of automatically writing custom values to the bundle's .plist during a build phase?
- Bump build number without using `CURRENT_PROJECT_VERSION`
- AGVTool new-version and what-version do not correspond
- versioning tool for nodejs
- Better way of incrementing build number?
- (iOS, XCode 4.2) Setting bundle version using Git post-commit hook causes my project to turn into a Mac project
- Does agvtool work under Xcode 4?
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 # Hahtags
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.