René's URL Explorer Experiment


Title: Xcode build archive fails · Issue #79 · SwiftyLab/MetaCodable · GitHub

Open Graph Title: Xcode build archive fails · Issue #79 · SwiftyLab/MetaCodable

X Title: Xcode build archive fails · Issue #79 · SwiftyLab/MetaCodable

Description: I have read the documentation. Describe the bug xcodebuild archive fails in the following scenario. To Reproduce Steps to reproduce the behavior: Create a Swift Package, which depends on MetaCodable Create a Target which depends on MetaC...

Open Graph Description: I have read the documentation. Describe the bug xcodebuild archive fails in the following scenario. To Reproduce Steps to reproduce the behavior: Create a Swift Package, which depends on MetaCodabl...

X Description: I have read the documentation. Describe the bug xcodebuild archive fails in the following scenario. To Reproduce Steps to reproduce the behavior: Create a Swift Package, which depends on MetaCodabl...

Opengraph URL: https://github.com/SwiftyLab/MetaCodable/issues/79

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Xcode build archive fails","articleBody":"- [x] I have read the [documentation](https://swiftpackageindex.com/SwiftyLab/MetaCodable/main/documentation/metacodable).\r\n\r\n**Describe the bug**\r\n`xcodebuild archive` fails in the following scenario.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. Create a Swift Package, which depends on MetaCodable\r\n2. Create a Target which depends on `MetaCodable`, `HelperCoders` and uses the `MetaProtocolCodable` plugin.\r\n3. Include this target as a product of the package\r\n4. Add types into the target which make use of dynamic data variations, in particular Step 9 from the tutorial: https://swiftpackageindex.com/swiftylab/metacodable/v1.3.0/tutorials/metacodable/dynamic\r\n5. Create an Xcode project for an iOS app which imports the product from the package.\r\n6. Add code-signing for your app\r\n7. Build and Archive from Xcode Product menu (or using `xcodebuild archive`)\r\n\r\n\r\n**Expected behavior**\r\nI should be able to archive the product.\r\n\r\n**Actual behaviour**\r\nBuild script fails because build tools cannot find the executable tool `ProtocolGen`.\r\n\r\n\r\n\u003e Showing All Issues\r\n\u003e sandbox-exec: execvp() of '//Users/daniel/Library/Developer/Xcode/DerivedData/Posts-aaxhnzolyyfxrgcsibzfeeijakbj/Build/Intermediates.noindex/ArchiveIntermediates/Posts/BuildProductsPath/Release/ProtocolGen' failed: No such file or directory\r\n\u003e \r\n\r\n**Screenshots**\r\n\r\n\u003cimg width=\"1033\" alt=\"Screenshot 2024-05-01 at 11 17 44\" src=\"https://github.com/SwiftyLab/MetaCodable/assets/309420/a369090c-cb30-4cac-8251-6feb921bef3b\"\u003e\r\n\r\n\r\n**Environment (please complete the following information, remove ones not applicable):**\r\n - OS: macOS\r\n - Version 14.4.1 (23E224)\r\n - Xcode Version 15.3 (15E204a)\r\n - Swift $ swift -version\r\nswift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)\r\nTarget: arm64-apple-macosx14.0\r\n - CocoaPods N/A\r\n\r\n**Additional context**\r\nI have created a small project to demonstrate this issue: https://github.com/danthorpe/metacodable_demo\r\n\r\nA possible solution, would be to export `ProtocolGen` as a Swift artefact bundle, and reference this as a binary target in your Package.swift. e.g. how [SwiftLint is packaged](https://github.com/realm/SwiftLint/blob/99a990d88f06ec8bdef292299121110ef1f3d264/Package.swift#L11). In this project, on macOS, the dependency is a binary target instead of the source code executable.","author":{"url":"https://github.com/danthorpe","@type":"Person","name":"danthorpe"},"datePublished":"2024-05-01T10:48:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/79/MetaCodable/issues/79"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:544a3d58-58b1-b8c2-fab7-3ff98f0201ea
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE950:D5FCA:BAFC92:FC4997:698E4142
html-safe-nonce3cfecadb0d08926abfb491c0ee541873e6b3121a747439dbe9c9dc089d3b6639
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTUwOkQ1RkNBOkJBRkM5MjpGQzQ5OTc6Njk4RTQxNDIiLCJ2aXNpdG9yX2lkIjoiNjg3ODU5Nzk2ODM3MjMxODUzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac018fb1ef058ef5d19b45f4c9c362c1b9888fea15f3943e7fe434ebb7834810a6
hovercard-subject-tagissue:2273315190
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/SwiftyLab/MetaCodable/79/issue_layout
twitter:imagehttps://opengraph.githubassets.com/57a44181d6a75e50ba4a519534427e0fc340d9523a292fbc6ded8689f092c802/SwiftyLab/MetaCodable/issues/79
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/57a44181d6a75e50ba4a519534427e0fc340d9523a292fbc6ded8689f092c802/SwiftyLab/MetaCodable/issues/79
og:image:altI have read the documentation. Describe the bug xcodebuild archive fails in the following scenario. To Reproduce Steps to reproduce the behavior: Create a Swift Package, which depends on MetaCodabl...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedanthorpe
hostnamegithub.com
expected-hostnamegithub.com
Nonea5632af64f7fed7bff1d6a428d1aca1b94fa7a48f760de2d39d9b1effdbf0082
turbo-cache-controlno-preview
go-importgithub.com/SwiftyLab/MetaCodable git https://github.com/SwiftyLab/MetaCodable.git
octolytics-dimension-user_id106015847
octolytics-dimension-user_loginSwiftyLab
octolytics-dimension-repository_id655068226
octolytics-dimension-repository_nwoSwiftyLab/MetaCodable
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id655068226
octolytics-dimension-repository_network_root_nwoSwiftyLab/MetaCodable
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3dda52e29a416820ced574e74040033b820613a2
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/issues/79#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FSwiftyLab%2FMetaCodable%2Fissues%2F79
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FSwiftyLab%2FMetaCodable%2Fissues%2F79
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=SwiftyLab%2FMetaCodable
Reloadhttps://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/issues/79
Reloadhttps://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/issues/79
Reloadhttps://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/issues/79
SwiftyLab https://patch-diff.githubusercontent.com/SwiftyLab
MetaCodablehttps://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable
Please reload this pagehttps://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/issues/79
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FSwiftyLab%2FMetaCodable
Fork 43 https://patch-diff.githubusercontent.com/login?return_to=%2FSwiftyLab%2FMetaCodable
Star 761 https://patch-diff.githubusercontent.com/login?return_to=%2FSwiftyLab%2FMetaCodable
Code https://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable
Issues 4 https://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/issues
Pull requests 6 https://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/pulls
Discussions https://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/discussions
Actions https://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/actions
Projects 0 https://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/projects
Security 0 https://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/security
Insights https://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/pulse
Code https://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable
Issues https://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/issues
Pull requests https://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/pulls
Discussions https://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/discussions
Actions https://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/actions
Projects https://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/projects
Security https://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/security
Insights https://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/SwiftyLab/MetaCodable/issues/79
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/SwiftyLab/MetaCodable/issues/79
Xcode build archive failshttps://patch-diff.githubusercontent.com/SwiftyLab/MetaCodable/issues/79#top
enhancementNew feature or requesthttps://github.com/SwiftyLab/MetaCodable/issues?q=state%3Aopen%20label%3A%22enhancement%22
good first issueGood for newcomershttps://github.com/SwiftyLab/MetaCodable/issues?q=state%3Aopen%20label%3A%22good%20first%20issue%22
https://github.com/danthorpe
https://github.com/danthorpe
danthorpehttps://github.com/danthorpe
on May 1, 2024https://github.com/SwiftyLab/MetaCodable/issues/79#issue-2273315190
documentationhttps://swiftpackageindex.com/SwiftyLab/MetaCodable/main/documentation/metacodable
https://swiftpackageindex.com/swiftylab/metacodable/v1.3.0/tutorials/metacodable/dynamichttps://swiftpackageindex.com/swiftylab/metacodable/v1.3.0/tutorials/metacodable/dynamic
https://private-user-images.githubusercontent.com/309420/327101520-a369090c-cb30-4cac-8251-6feb921bef3b.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzA5MzA3OTgsIm5iZiI6MTc3MDkzMDQ5OCwicGF0aCI6Ii8zMDk0MjAvMzI3MTAxNTIwLWEzNjkwOTBjLWNiMzAtNGNhYy04MjUxLTZmZWI5MjFiZWYzYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDIxMlQyMTA4MThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jZjA3MjJhM2Q5Y2U0YjA4Yjc0MDMyMDU0Y2RhNDI5NzE1NjVmNDFiOTA1NDRmYTUwYmVjN2MyMzRkOGU4NDgwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.CPavP5KF3s3S5v8lynk3uSRCxRKE9lqqf5Crt_IaX3M
https://github.com/danthorpe/metacodable_demohttps://github.com/danthorpe/metacodable_demo
SwiftLint is packagedhttps://github.com/realm/SwiftLint/blob/99a990d88f06ec8bdef292299121110ef1f3d264/Package.swift#L11
enhancementNew feature or requesthttps://github.com/SwiftyLab/MetaCodable/issues?q=state%3Aopen%20label%3A%22enhancement%22
good first issueGood for newcomershttps://github.com/SwiftyLab/MetaCodable/issues?q=state%3Aopen%20label%3A%22good%20first%20issue%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.