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
729 Views Asked by Quambadeur At
2
There are 2 best solutions below
Related Questions in SWIFT
- Navigate after logged in with webservice
- URLSession requesting JSON array from server not working
- When using onDrag in SwiftUI on Mac how can I detect when the dragged object has been released anywhere?
- Protect OpenAI key using Firebase function
- How to correct error: "Cannot convert value of type 'MyType.Type' to expected argument type 'Binding<MyType>'"?
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Using @Bindable with a Observable type in SwiftUI
- How to make a scroll view of 9 images in a forEach loop open on image 6 if image 6 is clicked on from a grid?
- Using MTLPixelFormat.rgba16Float results in random round-off errors
- Search and highlight text of current text in PDFKit Swift
- How is passing a function as a parameter related to escaping autoclosure?
- Actionable notification api call not working in background
- Custom layout occupies all horizontal space
- Is it possible to fix slow CKAsset loading on Cloudkit?
- Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value - MapView.isMyLocationEnabled
Related Questions in CONTINUOUS-INTEGRATION
- Cannot connect to Postgres Database when running Quarkus Tests with Gitlab ci
- Android SafeArgs gives error with GitHub actions
- Display coverage report on browser
- How to set variables across several Earthfiles with earthly for continuous integration
- Getting " Unauthorized Access" error in Git Actions(CI) when trying to run Fastlane(CD)
- Cost saving recommendations and best practices for Azure
- NodeJS application deployment on Digital Ocean using Github Actions
- Getting CI/CD error on biulding step in React Azure Pipeline
- gitlab ci: 'compose' is not a docker command
- I'm in Playwright, how do I run specific test cases by tag in (CI) execution
- Incorrect java version on Jenkins agent
- Azure YAML Pipeline schedule to run on the last Sunday of the month at 4 AM
- how to provide custom variables in gitlab api?
- How to build an artifact from a given branch in azure pipelines?
- CI testing with platformio with one build
Related Questions in XCODEBUILD
- iOS App Certificates, Provisioning Profiles, Targets and Codesigning explained
- XCBCore MacroEvaluationProgram.executeInContext crashed
- xcodebuild is stuck indefinitely when few tests are failed
- Xcode 15 command line simulator build ignores simulator destination
- Do any Targets share their dependencies with their dependencies around them?
- I have error, when I build a Flutter project on the simulator iPhone 14 PRO iOS 17.0
- Rotate iOS Parallel Device Clones to Landscape Mode via Command Line
- xcodebuild destination with id logs warning with duplicates
- xcodebuild: why build dir differs for target and scheme
- Xcode Archive Release Takes Around 2 hours
- Xcode problem with resolving some spm package dependencies fetching stuck
- XcodeBuild command line is failed
- Programmatically remove all local Swift Packages before archiving
- AWS Device Farm XCTest UI generated .xctestrun file is not valid
- How to pin target iOS SDK version when building with xcodebuild
Related Questions in SWIFT-PACKAGE-MANAGER
- Package.resolved gets deleted on branch switching
- I can not install CocoaPods and any package from "Add package dependency"
- How to add a package from Swift Package Manager by build configuration? (workaround)
- What's the difference between ` Swift module` and ` Swift Package Manager module`?
- Fastlane run spm does not find Package.swift
- Including privacy manifest in package.swift with binary target
- XCFramework with SPM dependencies does not expose them to project it's used in
- Linker Command Failed with Exit Code 1 When Excluding arm64 Architecture on Simulator with Xcode 15
- How do I use Xcode to codesign a command line utility I created with SPM?
- Algolia InstantSearch Swift Package Manager throws Compile error
- Running Swift Package unit tests in release configuration: @testable module was not compiled for testing
- How to fix Xcode cloud build issues generated for third party libraries added through SPM?
- Xcode Cloud Errors Building Local SPMs that Work Locally "an out-of-date resolved file was detected"
- AudioKitEX not compiling
- Figure out .product line based on .package line for Package.swift dependencies?
Related Questions in GITHUB-CI
- Github Actions worklfow logs are not expandable anymore
- Sporadic Windows fatal error on Github Python CI (may be joblib related)
- Getting pull request messages that merged into master branch
- Use `-skipMacroValidation` for xcodebuild command when using an external package that includes macros
- Codecov on github: why is Codecov failing?
- Cancel workflows before archiving repo in GitHub
- GitHub CI - Docker .env file not found
- Rationale behing using Lighthouse as github CI
- Github CI run getting failed without change from 15 June ERROR: Error: ENOENT: no such file or directory, stat '/var/folders/sp/m
- How can I make sure a Github Workflow can be used by only selected repositories/workflows in my Github Organization?
- Error: User: *** is not authorized to perform: sts:AssumeRole on resource: *** Github
- Where does github actions stores the log files?
- Springboot test not connecting to database in github CI
- Github Actions doesn't get triggered on release creation
- Encountering 'E:Invalid archive signature' on GitHub workflow ansible execution when same execution succeeds in local Docker container
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?
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.