![]() Here is the error we keep running into in XCode Cloud: Is there a best practice around automating this? However, we are running into a minor nuisance where the version number still needs to be manually updated. XCode Cloud is successfully bumping our build number as explained in How is the revision field in the Package.resolved file calculated? Can It be done by a script? Is there a way to trigger Xcode to resolve dependencies after I changed the project file and generate the Package.resolved file again? Is there a way to change application project settings by telling Xcode to change branch package dependency from develop to a feature branch? ( I wrote a script for that but it seems risky to change project file with a bash script) The problem is that I don’t want to commit these changes to git, I want my project to remain pointing to develop branch and write a script that generates these changes automatically when I create a pull request. Package.resolved file changes after Xcode resolved dependencies with updated branch and some “revision” value that is generated by Xcode. The internal file “project.pbxproj” contains a line “branch = develop ” is modified to “branch = “feature/feature-01234-sdk” ” Manually I can open Xcode locally, change the dependency in my project to take the latest changes from the feature branch, this results in changes in 2 files: When I create the git pull-request for the application feature I want Xcode cloud to build the application using the special branch in the package repository. When I develop a new feature, I create a branch “feature/feature-01234-app” in the app repository and a new branch “feature/feature-01234-sdk” in the swift package repository. In my project I have an application and a swift package each in their own private GitHub repository. Please help me solving this error! Thank you very much and sorry for any bad English! I'm confused and cannot find any solution for this particular problem. It complains about not finding the project file in the directory. It seems Xcode Cloud added this script for my project. I've checked my build phases in my xcodeproj file and found no extra script phases. T16:44:29.724948266Z There are no Xcode project files in this directory. However every time I push a new build to the cloud it always failed at "Run post-actions" step. I've joined Apple Developer Program recently and been trying out the Xcode Cloud build system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |