I'm tryging to configure a CI pipeline and run unit tests automatically, but I'm handling with no schemes for the current workspace. I know I can create them by using Xcode/ Manage Schemes etc... but since the nature it self of the automation in the tests routine, I'm figuring out if there's a way to automatize the scheme creation step.
Is there a way to autocreate schemes for a Xcode Project from command line
2.3k Views Asked by YadirHB At
1
There are 1 best solutions below
Related Questions in XCODE
- How can you know the sequence/names of the bands of a GeoTIFF/TIFF file in Java?
- How to fix the reprojection from EASE-2 grid product SMAP to geographic coordinates?
- Google Earth Engine : Exporting MODIS images from GEE to AWS S3 bucket
- Reading Hyperion Satellite E-01 dataset (.L1R file) in python
- How to read wavelength information from envi file in spectral python libraray?
- Sentinel3 OLCI (chl) Average of netcdf files on Python
- rast function error with MOD09GA hdf images in R
- Optimizing TensorFlow Image Generation for CNN Training with xarray Data
- Export image with nodatavalue
- calculations on big satellite image crashes python and computer freezes
Related Questions in XCODEBUILD
- How can you know the sequence/names of the bands of a GeoTIFF/TIFF file in Java?
- How to fix the reprojection from EASE-2 grid product SMAP to geographic coordinates?
- Google Earth Engine : Exporting MODIS images from GEE to AWS S3 bucket
- Reading Hyperion Satellite E-01 dataset (.L1R file) in python
- How to read wavelength information from envi file in spectral python libraray?
- Sentinel3 OLCI (chl) Average of netcdf files on Python
- rast function error with MOD09GA hdf images in R
- Optimizing TensorFlow Image Generation for CNN Training with xarray Data
- Export image with nodatavalue
- calculations on big satellite image crashes python and computer freezes
Related Questions in XCODE-PROJECT
- How can you know the sequence/names of the bands of a GeoTIFF/TIFF file in Java?
- How to fix the reprojection from EASE-2 grid product SMAP to geographic coordinates?
- Google Earth Engine : Exporting MODIS images from GEE to AWS S3 bucket
- Reading Hyperion Satellite E-01 dataset (.L1R file) in python
- How to read wavelength information from envi file in spectral python libraray?
- Sentinel3 OLCI (chl) Average of netcdf files on Python
- rast function error with MOD09GA hdf images in R
- Optimizing TensorFlow Image Generation for CNN Training with xarray Data
- Export image with nodatavalue
- calculations on big satellite image crashes python and computer freezes
Related Questions in XCODEPROJ
- How can you know the sequence/names of the bands of a GeoTIFF/TIFF file in Java?
- How to fix the reprojection from EASE-2 grid product SMAP to geographic coordinates?
- Google Earth Engine : Exporting MODIS images from GEE to AWS S3 bucket
- Reading Hyperion Satellite E-01 dataset (.L1R file) in python
- How to read wavelength information from envi file in spectral python libraray?
- Sentinel3 OLCI (chl) Average of netcdf files on Python
- rast function error with MOD09GA hdf images in R
- Optimizing TensorFlow Image Generation for CNN Training with xarray Data
- Export image with nodatavalue
- calculations on big satellite image crashes python and computer freezes
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?
Firstly to test an Xcode project is mandatory to use at least one scheme configured to run tests. After that the test should be ran from command line with xcodebuild. So there was two steps to fulfill, first automatically generate the schemes required, and secondly run the tests for the test-configured-schemes.
1- By using a ruby gem CocoaPods/Xcodeproj in a script I was able to perform the creation of the schemes. The following code creates the schemes for all targets:
Step 1 (OK)
2- Create a shell script to run the tests from command line. This script receives can be edited to include the scheme(s) in which the tests must run, looping scheme by scheme until all tests pass or one fail.
Step 2 (OK)
Hope this helps!