My GitHub CI was failing with a xcodebuild when I included a swift package that contains some macros. The build with xcodebuild was simply telling me xcodebuild: error: Failed writing xctestrun file: The folder .xctestrun doesn’t exist. and failed. The package resolving worked but the build failed. Locally it is working properly.
Use `-skipMacroValidation` for xcodebuild command when using an external package that includes macros
727 Views Asked by Quambadeur At
2
There are 2 best solutions below
Related Questions in SWIFT
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Swift code with multiple NSDateFormatter - optimization
- How do I add multiple in app purchases in Swift Spritekit?
- cellForRowAtIndexPath and prepareForSegue return different label colors
- Getting this message in my console in xcode "Ignoring restoreCompletedTransactionsWithApplicationUsername: because already restoring transactions"?
- Change background of an Accessory View in a UITableViewCell
- fade in an bounce animation subview
- Create a PFObject and PFRelation after PFUser Sign Up
- Swift 2 - Pattern matching in "if"
- How do I give inputs through NSURL
- How do I add custom cells to TableView in Swift?
- UIWebView not loading URL in simulator
- Compiler complains that 'Expression resolved to unused function' when removing index in array of functions
- Cast from 'Int?' to unrelated type 'NSNumber' always fails
Related Questions in CONTINUOUS-INTEGRATION
- Installing Teamcity build agent as a user: failed to install the service. selected account does not have enough rights
- Restrict number of instances of a build in the queue
- SShpass not allowed with Travis CI
- docker build with a template Dockerfile
- Team City pending changes for specific build configuration is not as per default branch
- Deployment of multiple Jenkins slaves on a Mac
- How do you get a BitBucket pull request to trigger a Bamboo build?
- [Jenkins]Why User-Defined axis doesn't work with slaves
- Switch job on online Node jenkins
- Git/CI workflow: remote branch to specify version to deploy on integration-test system?
- Jenkins CI pipeline radiator
- Can I schedule a Jenkins Build without CRON or REST API?
- Compile custom Platform in Teamcity 9
- OS X Server kills WiFi connection
- Git tag at the end of build on Visual Studio Online (Build vNext, hosted pool)
Related Questions in XCODEBUILD
- xcodebuild setting parameter equivalent in Xcode GUI build?
- How to build a workspace with frameworks from command line with overridden non-wildcard PROVISIONING_PROFILE
- Xcode 8.2, Swift Compiler Error: error: unexpected input file
- xcodebuild error on file path
- Bitrise.io scheme not found
- xcodebuild test-without-building. How to override test run parameters from command line
- Xcode 8 and exportPath
- Configuring Xcode project to be built with specific build tools version
- xcodebuild flag overrides code signing for pods project targets
- xcodebuild error - SecKey API returned: -25308
- Specify individual target build settings with xcodebuild
- Import CommmonCrypto library to Swift project
- xcodebuild fails to create Archive due to SymLink error with Alamofire
- Build bundle using xcodebuild
- Order of library search path entries
Related Questions in SWIFT-PACKAGE-MANAGER
- `swift test` produces "symbol(s) not found for architecture x86_64" linker error
- Swift test give error "Undefined symbols for architecture x86_64"
- How to build a custom Swift framework and how is it related to the SPM?
- Test-only Dependencies When Using the Swift Package Manager
- Swift Package Manager and Xcode: Retaining Xcode Settings?
- XCode can't find library which is in embedded framework
- swift build use of unresolved identifier
- Swift Package Manager: illegal instruction 4 on trivial system module
- How to load file and run swift code from Swift Package Manager manifest file?
- Swift Package Manager - Unexpected duplicate tasks: Target AppTests (project App) has copy command - SwiftDate
- Xcode Schema symbol with Swift Package Manage (SPM)
- Can't submit iOS app to iTunes connect when using a SPM package
- Xcode project template and Swift Package dependencies
- How to expose CoreData to swift package unit tests?
- Why is there an option to declare a Swift Package's product dynamic or static?
Related Questions in GITHUB-CI
- Use `-skipMacroValidation` for xcodebuild command when using an external package that includes macros
- Codecov on github: why is Codecov failing?
- Getting pull request messages that merged into master branch
- authenticate to GitHub ghcr in workflow
- Absolute paths for React app on Github CI with Firebase hosting
- github action check if first commit to a branch before doing the action
- Get last commit of file in github actions PR
- How to run a Docker image under Github CI?
- Docker Github workflow with database dependency: No such container
- How can I use a recent version of GCC in GitHub CI?
- How to view inputs for an action using github-cli while the action is running?
- Need help setting up a github repo
- Encountering 'E:Invalid archive signature' on GitHub workflow ansible execution when same execution succeeds in local Docker container
- Github Actions doesn't get triggered on release creation
- Show live state of Jenkins build in Github PR
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?
After a very long journey I finally found out:
xcodebuildneeds the parameter-skipMacroValidationto work properly.Obviously locally it was working because I initially enabled the package when adding it to the dependencies.