getreadystack's picture
Upload index.html with huggingface_hub
8717c62 verified
Raw History Blame Contribute Delete
57.8 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>CocoaPods Trunk deadline — find trunk dependencies in your browser</title>
<meta name="description" content="This browser tool maps Podfile and podspec dependencies that still resolve from CocoaPods trunk and writes a replacement Swift Package Manager line.">
<style>
:root{color-scheme:light}body{margin:0;font:15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;background:#faf9f5;color:#1a1512}
.wrap{max-width:960px;margin:0 auto;padding:28px 18px 60px}h1{font-size:26px;margin:0 0 6px}.lede{color:#4a403a;margin:0 0 16px}
textarea{width:100%;min-height:260px;font:13px/1.45 ui-monospace,Menlo,Consolas,monospace;padding:12px;border:1px solid #d9d0c4;border-radius:8px;box-sizing:border-box}
.bar{display:flex;gap:10px;align-items:center;margin:12px 0}button{font:600 15px system-ui;padding:10px 18px;border:0;border-radius:8px;background:#1a1512;color:#fff;cursor:pointer}
input[type=date]{font:14px system-ui;padding:8px;border:1px solid #d9d0c4;border-radius:6px}
table{border-collapse:collapse;width:100%;font-size:14px;margin-top:10px}th,td{text-align:left;padding:8px 10px;border-bottom:1px solid #eee;vertical-align:top}th{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#7a6e65}
.sev.error{color:#a8551f;font-weight:700}.sev.warn,.sev.warning{color:#96691f}.ok{color:#2a6446;font-weight:600}.sum{font-weight:600}
.note{font-size:13px;color:#7a6e65;margin-top:18px}#paid{margin-top:22px;padding:14px 16px;border:1px solid #e2d8cb;border-radius:10px;background:#fffdfa}
</style>
<script data-grow-initializer="">!(function(){window.growMe||((window.growMe=function(e){window.growMe._.push(e);}),(window.growMe._=[]));var e=document.createElement("script");(e.type="text/javascript"),(e.src="https://faves.grow.me/main.js"),(e.defer=!0),e.setAttribute("data-grow-faves-site-id","U2l0ZTphZjljMzgyMC0yMmU5LTRhYjgtYTIxNS03OTRhMGY1N2ExYzM=");var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t);})();</script>
<style data-yj-mfit="1">#out{max-width:100%}#out td,#out th{overflow-wrap:break-word}#out th{white-space:nowrap}#out pre{white-space:pre-wrap;overflow-wrap:anywhere}#out code{white-space:pre-wrap;overflow-wrap:break-word}@media (max-width:640px){#out td,#out th{overflow-wrap:anywhere}#out th{white-space:normal}table{display:block;max-width:100%;overflow-x:auto}pre{max-width:100%;overflow-x:auto}code,a{overflow-wrap:anywhere}img,svg,video,canvas,iframe{max-width:100%}textarea,input,select{max-width:100%;box-sizing:border-box}.yj-lgbar{position:static!important;justify-content:flex-end;margin:0 0 10px}h1,h2,h3,h4,p,li,dd,dt,blockquote,figcaption,summary,label,.res,.lead{overflow-wrap:anywhere}label{max-width:100%;box-sizing:border-box}#out table:not(:has(tr>:nth-child(4))){display:table;table-layout:fixed;width:100%}#out table:has(tr>:nth-child(4)),#out table:has(tr>:nth-child(4)) tbody,#out table:has(tr>:nth-child(4)) tr,#out table:has(tr>:nth-child(4)) td{display:block;width:auto;overflow:visible}#out table:has(tr>:nth-child(4)) thead{display:none}#out table:has(tr>:nth-child(4)) tr{padding:10px 0;border-bottom:1px solid rgba(128,128,128,.28)}#out table:has(tr>:nth-child(4)) td{border:0;padding:1px 0}#out table:has(tr>:nth-child(4)) td:nth-child(-n+3){display:inline-block;margin-right:10px;font-size:12px;opacity:.78}}</style>
<!--yj-canon-s101--><link rel="canonical" href="https://getreadystack.com/tools/swift-package-manager-migration-check"><!--yj-trust-org-s191--><script type="application/ld+json" data-yj="yj-trust-org">{"@context": "https://schema.org", "@type": "Organization", "name": "ReadyStack", "url": "https://getreadystack.com/", "logo": "https://getreadystack.com/branding/readystack_profile.png", "email": "support@getreadystack.com", "contactPoint": {"@type": "ContactPoint", "contactType": "customer support", "email": "support@getreadystack.com", "availableLanguage": ["English", "German", "Japanese", "Spanish", "Portuguese"]}}</script><!--/yj-trust-org-s191--></head>
<body>
<div class="wrap">
<h1>CocoaPods Trunk deadline — find trunk dependencies in your browser</h1>
<p class="lede">CocoaPods trunk turns read-only on 2026-12-02. Maps every Podfile and .podspec dependency that still resolves from trunk and writes the exact Swift Package Manager .package line to replace it. Runs entirely in your browser — nothing is uploaded.</p>
<textarea id="src" spellcheck="false"># ShopApp Podfile
platform :ios, '15.0'
use_frameworks!
target 'ShopApp' do
pod 'Alamofire', '~&gt; 5.8'
pod 'Kingfisher', '~&gt; 7.10.0'
pod 'SnapKit'
pod 'Firebase/Analytics', '~&gt; 10.0'
pod 'AcmeLegacyKit', '1.4.2'
pod 'SharedUI', :path =&gt; '../SharedUI'
end</textarea>
<div class="bar"><button id="go">Check</button><label>as of <input type="date" id="today"></label></div>
<div id="out" aria-live="polite"></div>
<div id="paid"><strong>Free here:</strong> Map every pod in the open Podfile or .podspec that still resolves from CocoaPods trunk, with its line and the exact Swift Package Manager line that replaces it. <strong>In the editor:</strong> Whole-workspace migration plan with a ready Package.swift dependencies block, a dated trunk exposure report for the company and a CI gate that fails a build adding a new trunk pod — that part asks for a licence key.</div>
<p class="note">Same engine as the VS Code extension, byte for byte.</p>
</div>
<script>var SPM_RULES = [
{
"id": "trunk-source-cdn",
"kind": "source",
"sev": "error",
"match": "cdn\\.cocoapods\\.org",
"msg": "source points at the CocoaPods trunk CDN; every pod below resolves from trunk, which accepts no new pod or version from 2026-12-02."
},
{
"id": "trunk-source-git",
"kind": "source",
"sev": "error",
"match": "github\\.com/CocoaPods/Specs",
"msg": "source points at the CocoaPods/Specs git repo (trunk); it is archived read-only from 2026-12-02."
},
{
"id": "trunk-source-implicit",
"kind": "implicit",
"sev": "error",
"msg": "no source line, so CocoaPods resolves every pod from trunk (cdn.cocoapods.org) by default; trunk accepts no new pod or version from 2026-12-02."
},
{
"id": "podspec-trunk-push",
"kind": "podspec",
"sev": "error",
"msg": "this podspec is released with pod trunk push, which trunk refuses from 2026-12-02. Ship a Package.swift at the repo root and tag the same version so users can add it with Swift Package Manager."
},
{
"id": "podspec-prepare-command",
"kind": "prepare",
"sev": "error",
"msg": "prepare_command: trunk has refused new pods that use it since May 2025, and Swift Package Manager has no equivalent. Move the script into a build tool plugin or ship a prebuilt XCFramework as a .binaryTarget."
},
{
"id": "pod-unmapped",
"kind": "unmapped",
"sev": "warn",
"msg": "has no Swift package in this map. After 2026-12-02 trunk keeps the versions it has but no newer one can arrive. Check the vendor repo for a Package.swift, or vendor it as an XCFramework (.binaryTarget)."
},
{
"id": "map-alamofire",
"kind": "map",
"sev": "warn",
"url": "https://github.com/Alamofire/Alamofire.git",
"package": "Alamofire",
"pods": {
"Alamofire": "Alamofire"
}
},
{
"id": "map-kingfisher",
"kind": "map",
"sev": "warn",
"url": "https://github.com/onevcat/Kingfisher.git",
"package": "Kingfisher",
"pods": {
"Kingfisher": "Kingfisher"
}
},
{
"id": "map-snapkit",
"kind": "map",
"sev": "warn",
"url": "https://github.com/SnapKit/SnapKit.git",
"package": "SnapKit",
"pods": {
"SnapKit": "SnapKit"
}
},
{
"id": "map-sdwebimage",
"kind": "map",
"sev": "warn",
"url": "https://github.com/SDWebImage/SDWebImage.git",
"package": "SDWebImage",
"pods": {
"SDWebImage": "SDWebImage",
"SDWebImageMapKit": "SDWebImageMapKit"
}
},
{
"id": "map-rxswift",
"kind": "map",
"sev": "warn",
"url": "https://github.com/ReactiveX/RxSwift.git",
"package": "RxSwift",
"pods": {
"RxSwift": "RxSwift",
"RxCocoa": "RxCocoa",
"RxRelay": "RxRelay",
"RxBlocking": "RxBlocking",
"RxTest": "RxTest"
}
},
{
"id": "map-moya",
"kind": "map",
"sev": "warn",
"url": "https://github.com/Moya/Moya.git",
"package": "Moya",
"pods": {
"Moya": "Moya",
"Moya/RxSwift": "RxMoya",
"Moya/Combine": "CombineMoya",
"RxMoya": "RxMoya",
"CombineMoya": "CombineMoya"
}
},
{
"id": "map-swiftyjson",
"kind": "map",
"sev": "warn",
"url": "https://github.com/SwiftyJSON/SwiftyJSON.git",
"package": "SwiftyJSON",
"pods": {
"SwiftyJSON": "SwiftyJSON"
}
},
{
"id": "map-lottie",
"kind": "map",
"sev": "warn",
"url": "https://github.com/airbnb/lottie-ios.git",
"package": "lottie-ios",
"pods": {
"lottie-ios": "Lottie"
}
},
{
"id": "map-realm",
"kind": "map",
"sev": "warn",
"url": "https://github.com/realm/realm-swift.git",
"package": "realm-swift",
"pods": {
"RealmSwift": "RealmSwift",
"Realm": "Realm"
}
},
{
"id": "map-googlesignin",
"kind": "map",
"sev": "warn",
"url": "https://github.com/google/GoogleSignIn-iOS.git",
"package": "GoogleSignIn-iOS",
"pods": {
"GoogleSignIn": "GoogleSignIn"
}
},
{
"id": "map-iqkeyboardmanager",
"kind": "map",
"sev": "warn",
"url": "https://github.com/hackiftekhar/IQKeyboardManager.git",
"package": "IQKeyboardManager",
"pods": {
"IQKeyboardManagerSwift": "IQKeyboardManagerSwift"
}
},
{
"id": "map-keychainaccess",
"kind": "map",
"sev": "warn",
"url": "https://github.com/kishikawakatsumi/KeychainAccess.git",
"package": "KeychainAccess",
"pods": {
"KeychainAccess": "KeychainAccess"
}
},
{
"id": "map-nuke",
"kind": "map",
"sev": "warn",
"url": "https://github.com/kean/Nuke.git",
"package": "Nuke",
"pods": {
"Nuke": "Nuke",
"NukeUI": "NukeUI"
}
},
{
"id": "map-sentry",
"kind": "map",
"sev": "warn",
"url": "https://github.com/getsentry/sentry-cocoa.git",
"package": "sentry-cocoa",
"pods": {
"Sentry": "Sentry",
"SentrySwiftUI": "SentrySwiftUI"
}
},
{
"id": "map-grdb",
"kind": "map",
"sev": "warn",
"url": "https://github.com/groue/GRDB.swift.git",
"package": "GRDB.swift",
"pods": {
"GRDB.swift": "GRDB"
}
},
{
"id": "map-cryptoswift",
"kind": "map",
"sev": "warn",
"url": "https://github.com/krzyzanowskim/CryptoSwift.git",
"package": "CryptoSwift",
"pods": {
"CryptoSwift": "CryptoSwift"
}
},
{
"id": "map-firebase",
"kind": "map_firebase",
"sev": "warn",
"url": "https://github.com/firebase/firebase-ios-sdk.git",
"package": "firebase-ios-sdk",
"products": [
"FirebaseAnalytics",
"FirebaseAuth",
"FirebaseAppCheck",
"FirebaseCore",
"FirebaseCrashlytics",
"FirebaseDatabase",
"FirebaseFirestore",
"FirebaseFunctions",
"FirebaseInstallations",
"FirebaseMessaging",
"FirebasePerformance",
"FirebaseRemoteConfig",
"FirebaseStorage"
]
}
];</script>
<script>// Swift Package Manager migration check: finds Podfile / .podspec dependencies that still
// resolve from CocoaPods trunk (read-only from 2026-12-02) and writes the SPM line for each.
(function () {
var RULES = (typeof module !== 'undefined' && typeof require !== 'undefined')
? require('./rules.json') : window.SPM_RULES;
var READ_ONLY = Date.UTC(2026, 11, 2); // 2026-12-02, trunk stops accepting podspecs
var TEST_RUN = Date.UTC(2026, 10, 1); // 2026-11-01..07, announced test run
var DAY = 86400000;
function rule(id) { for (var i = 0; i < RULES.length; i++) if (RULES[i].id === id) return RULES[i]; return null; }
function dateTail(today) {
var m = String(today || '').match(/(\d{4})-(\d{2})-(\d{2})/);
if (!m) return '';
var t = Date.UTC(+m[1], +m[2] - 1, +m[3]);
if (isNaN(t)) return '';
var toRo = Math.round((READ_ONLY - t) / DAY);
if (toRo <= 0) return ' On ' + m[0] + ' trunk has been read-only for ' + (-toRo) + ' days: no new pod version can arrive.';
if (t < TEST_RUN) return ' On ' + m[0] + ': ' + Math.round((TEST_RUN - t) / DAY) + ' days to the trunk test run (2026-11-01 to 11-07), ' + toRo + ' days to read-only.';
return ' On ' + m[0] + ': ' + toRo + ' days until trunk turns read-only on 2026-12-02.';
}
// Drop Ruby comments outside quotes.
function stripComment(line) {
var q = null;
for (var i = 0; i < line.length; i++) {
var c = line[i];
if (q) { if (c === q) q = null; }
else if (c === '"' || c === "'") q = c;
else if (c === '#') return line.slice(0, i);
}
return line;
}
// Join statements continued with a trailing comma; keep the first line number.
function statements(text) {
var raw = String(text || '').replace(/\r\n?/g, '\n').split('\n');
var out = [];
for (var i = 0; i < raw.length; i++) {
var s = stripComment(raw[i]), start = i + 1;
while (/,\s*$/.test(s) && i + 1 < raw.length) { i++; s = s.replace(/\s+$/, '') + ' ' + stripComment(raw[i]).trim(); }
out.push({ line: start, text: s.replace(/\s+/g, ' ').trim() });
}
return out;
}
function norm(v) { var p = v.split('.'); while (p.length < 3) p.push('0'); return p.slice(0, 3).join('.'); }
// CocoaPods requirement -> SPM requirement.
function spmReq(req) {
var r = String(req || '').trim(), m;
if (!r) return 'from: "<version in Podfile.lock>"';
if ((m = r.match(/^~>\s*(\d+(?:\.\d+){0,2})/))) {
var n = m[1].split('.').length;
return n === 3 ? '.upToNextMinor(from: "' + m[1] + '")' : 'from: "' + norm(m[1]) + '"';
}
if ((m = r.match(/^>=?\s*(\d+(?:\.\d+){0,2})/))) return 'from: "' + norm(m[1]) + '"';
if ((m = r.match(/^=?\s*(\d+(?:\.\d+){0,2})$/))) return 'exact: "' + norm(m[1]) + '"';
return 'from: "<version in Podfile.lock>"';
}
function mapPod(name) {
for (var i = 0; i < RULES.length; i++) {
var r = RULES[i];
if (r.kind === 'map') {
var p = r.pods[name] || r.pods[name.split('/')[0]];
if (p) return { rule: r, product: p };
} else if (r.kind === 'map_firebase' && /^Firebase/.test(name)) {
var prod = name === 'Firebase' ? 'FirebaseCore' : name.replace(/^Firebase\//, 'Firebase');
if (r.products.indexOf(prod) >= 0) return { rule: r, product: prod };
}
}
return null;
}
function podFinding(name, req, line, where) {
var hit = mapPod(name);
var pin = req ? " '" + req + "'" : ' (no version)';
if (hit) {
return { check: hit.rule.id, sev: hit.rule.sev, line: line,
msg: where + " '" + name + "'" + pin + ' resolves from CocoaPods trunk. Swift Package Manager: .package(url: "' +
hit.rule.url + '", ' + spmReq(req) + ') + .product(name: "' + hit.product + '", package: "' + hit.rule.package + '")' };
}
var u = rule('pod-unmapped');
return { check: u.id, sev: u.sev, line: line, msg: where + " '" + name + "'" + pin + ' ' + u.msg };
}
function check(text, opts) {
opts = opts || {};
var tail = dateTail(opts.today);
var st = statements(text), findings = [];
var isSpec = st.some(function (s) { return /Pod::Spec\.new/.test(s.text); });
if (isSpec) {
var ver = '', git = '', specLine = 1;
st.forEach(function (s) {
var m;
if (/Pod::Spec\.new/.test(s.text)) specLine = s.line;
if ((m = s.text.match(/^\w+\.version\s*=\s*['"]([^'"]+)['"]/))) ver = m[1];
if (/^\w+\.source\s*=/.test(s.text) && (m = s.text.match(/:git\s*=>\s*['"]([^'"]+)['"]/))) git = m[1];
});
var pr = rule('podspec-trunk-push');
findings.push({ check: pr.id, sev: pr.sev, line: specLine,
msg: pr.msg + (git ? ' Users then write .package(url: "' + git + '", from: "' + norm(ver || '1.0.0') + '").' : '') + tail });
st.forEach(function (s) {
var m;
if (/^\w+\.prepare_command\s*=/.test(s.text)) {
var pc = rule('podspec-prepare-command');
findings.push({ check: pc.id, sev: pc.sev, line: s.line, msg: pc.msg });
}
if ((m = s.text.match(/^\w+\.dependency\s+['"]([^'"]+)['"](?:\s*,\s*['"]([^'"]+)['"])?/)))
findings.push(podFinding(m[1], m[2] || '', s.line, 'dependency'));
});
return { findings: findings };
}
var pods = [], sources = [];
st.forEach(function (s) {
var m;
if ((m = s.text.match(/^source\s+['"]([^'"]+)['"]/))) sources.push({ url: m[1], line: s.line });
if ((m = s.text.match(/^pod\s+['"]([^'"]+)['"]\s*(.*)$/))) {
var rest = m[2];
if (/:(git|path|podspec)\s*=>|\b(git|path|podspec):/.test(rest)) return; // not from trunk
var v = rest.match(/^,\s*['"]([^'"]+)['"]/);
pods.push({ name: m[1], req: v ? v[1] : '', line: s.line });
}
});
if (!pods.length) return { findings: findings };
var trunk = false;
if (!sources.length) {
var im = rule('trunk-source-implicit');
findings.push({ check: im.id, sev: im.sev, line: 1, msg: im.msg + tail });
trunk = true;
} else {
sources.forEach(function (src) {
['trunk-source-cdn', 'trunk-source-git'].forEach(function (id) {
var r = rule(id);
if (new RegExp(r.match, 'i').test(src.url)) {
findings.push({ check: r.id, sev: r.sev, line: src.line, msg: r.msg + tail });
trunk = true;
}
});
});
}
if (trunk) pods.forEach(function (p) { findings.push(podFinding(p.name, p.req, p.line, 'pod')); });
return { findings: findings };
}
var API = { engine: { check: check }, RULES: RULES, RULE_COUNT: RULES.length };
if (typeof module !== 'undefined' && module.exports) module.exports = API;
if (typeof window !== 'undefined') window.SPMENGINE = API;
})();
</script>
<script>// ⛔뼈대 — kit/scaffold.py 가 찍는다 (s143). findings [{check,sev,msg,line?}] → 글/HTML. 같은 파일이 Node 와 브라우저에서 산다.
'use strict';
function escapeHtml(s) { return String(s == null ? '' : s).replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;'); }
function summaryLine(res) {
const f = (res && res.findings) || []; const e = f.filter(function (x) { return String(x.sev || 'error').toLowerCase().startsWith('err'); }).length;
return f.length ? (f.length + ' finding' + (f.length === 1 ? '' : 's') + ' (' + e + ' error' + (e === 1 ? '' : 's') + ')') : 'Clean — no findings.';
}
function toText(res, label) {
const f = (res && res.findings) || [];
const lines = ['== ' + (label || '') + ' — ' + summaryLine(res)];
f.forEach(function (x) { lines.push(' ' + String(x.sev || 'error').toUpperCase().slice(0, 4) + ' ' + (x.line ? 'L' + x.line + ' ' : '') + (x.check || x.id || '') + ' ' + (x.msg || x.message || '')); });
return lines.join('\n');
}
function toHtml(res) {
const f = (res && res.findings) || [];
if (!f.length) return '<p class="ok">' + escapeHtml(summaryLine(res)) + '</p>';
const rows = f.map(function (x) { return '<tr><td class="sev ' + escapeHtml(String(x.sev || 'error')) + '">' + escapeHtml(String(x.sev || 'error')) + '</td><td>' + (x.line ? 'L' + escapeHtml(x.line) : '') + '</td><td><code>' + escapeHtml(x.check || x.id || '') + '</code></td><td>' + escapeHtml(x.msg || x.message || '') + '</td></tr>'; }).join('');
return '<p class="sum">' + escapeHtml(summaryLine(res)) + '</p><table><thead><tr><th>Level</th><th>Line</th><th>Check</th><th>What</th></tr></thead><tbody>' + rows + '</tbody></table>';
}
var SPMREPORT = { escapeHtml: escapeHtml, summaryLine: summaryLine, toText: toText, toHtml: toHtml };
if (typeof module !== 'undefined' && module.exports) module.exports = SPMREPORT;
else window.SPMREPORT = SPMREPORT;
</script>
<script>
(function(){
var src=document.getElementById('src'), out=document.getElementById('out'), go=document.getElementById('go'), today=document.getElementById('today');
today.value=new Date().toISOString().slice(0,10);
function run(){ try { var res=window.SPMENGINE.engine.check(src.value,{today:today.value}); out.innerHTML=window.SPMREPORT.toHtml(res); } catch(e){ out.innerHTML='<p class="sev error">Could not run: '+String(e.message||e)+'</p>'; } }
go.onclick=run; if (src.value.trim()) run();
})();
</script>
<section data-yj-install="free" style="margin:2rem auto 1rem;max-width:46rem;padding:1.25rem 1.25rem;border:1px solid #cfe3d6;border-radius:12px;background:#f6fbf8;font:16px/1.6 system-ui,-apple-system,Segoe UI,sans-serif"><h2 style="margin:0 0 .4rem;font-size:1.2rem">Install free</h2><p style="margin:0 0 .8rem;color:#41505f">Free for the file open in your editor - no key, no limit. The workspace sweep and the report ask for a key.</p><a href="https://marketplace.visualstudio.com/items?itemName=ReadyStack.swift-package-manager-migration-check" rel="noopener" data-yj-install-door="mp" onclick="try{navigator.sendBeacon('/api/ev',new Blob([JSON.stringify({t:'install',slug:'swift-package-manager-migration-check',src:'mp',path:location.pathname})],{type:'application/json'}))}catch(e){}" style="display:inline-block;margin:0 .5rem .5rem 0;padding:.6rem 1rem;border-radius:8px;background:#0f7b3f;color:#fff;text-decoration:none;font-weight:600">VS Code Marketplace</a><a href="https://open-vsx.org/extension/readystack/swift-package-manager-migration-check" rel="noopener" data-yj-install-door="ovsx" onclick="try{navigator.sendBeacon('/api/ev',new Blob([JSON.stringify({t:'install',slug:'swift-package-manager-migration-check',src:'ovsx',path:location.pathname})],{type:'application/json'}))}catch(e){}" style="display:inline-block;margin:0 .5rem .5rem 0;padding:.6rem 1rem;border-radius:8px;background:#0f7b3f;color:#fff;text-decoration:none;font-weight:600">Open VSX (Cursor, VSCodium)</a><pre style="margin:.5rem 0 0;padding:.6rem .8rem;background:#f3f5f8;border-radius:8px;font-size:.9rem;overflow:auto">ext install ReadyStack.swift-package-manager-migration-check</pre><p style="margin:.6rem 0 0;font-size:.92rem;color:#41505f"><a href="https://getreadystack.com/api/buy/team" rel="nofollow" style="color:#0f7b3f;text-decoration:underline">Team? One key for every ReadyStack linter, 5 seats, $149 once</a></p></section>
<section data-yj-alert="rule" style="margin:1rem auto 1.5rem;max-width:46rem;padding:1.1rem 1.25rem;border:1px solid #d9dee6;border-radius:12px;background:#fbfcfd;font:15px/1.55 system-ui,-apple-system,Segoe UI,sans-serif"><b style="font-size:1.05rem">Get one email when this rule changes</b><div style="opacity:.78;margin:.35rem 0 .8rem">We watch the regulation and vendor sources behind Swift Package Manager Migration: CocoaPods Trunk every day. When a rule changes, you get a single email with what changed and the updated check. No newsletter.</div><div style="display:flex;gap:8px;flex-wrap:wrap"><input id="yjae" type="email" placeholder="you@example.com" style="flex:1;min-width:210px;padding:11px 13px;border:1px solid rgba(140,150,165,.34);border-radius:8px;background:#fff;color:inherit"><button id="yjab" style="padding:11px 18px;border-radius:8px;border:0;cursor:pointer;background:#0f7b3f;color:#fff;font:600 15px system-ui,sans-serif">Notify me</button></div><div id="yjao" hidden style="margin-top:.6rem;color:#0f7b3f">You're on the list. One email when it changes.</div><script>(function(){var b=document.getElementById("yjab"),e=document.getElementById("yjae");if(!b||!e)return;b.addEventListener("click",function(){var v=e.value.trim();if(!/.+@.+\..+/.test(v))return;try{localStorage.setItem("yj_em","1");}catch(_){}fetch(location.origin+"/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:v,slug:"swift-package-manager-migration-check",lang:"en",source:"rule_alert"+((b.closest&&b.closest("section")&&b.closest("section").getAttribute("data-yj-moved"))?"_at_result":"")})}).then(function(r){var o=document.getElementById("yjao");o.hidden=false;if(!r.ok){o.textContent="Could not save - please try again.";}}).catch(function(){var o=document.getElementById("yjao");o.hidden=false;o.textContent="Could not save - please try again.";});});})();</script><script>(function(){var e=document.getElementById("yjae"),s=e&&e.closest?e.closest("section"):null,o=document.getElementById("out");if(!s||!o)return;var d=false;function mv(ev){if(d)return;if(ev&&ev.target&&s.contains(ev.target))return;d=true;var b=o;while(b.parentNode&&b.parentNode!==document.body&&b.parentNode.tagName!=="MAIN"&&b.parentNode.tagName!=="ARTICLE")b=b.parentNode;if(!b.parentNode||b===s||b.contains(s))return;try{b.parentNode.insertBefore(s,b.nextSibling);s.setAttribute("data-yj-moved","1");}catch(_){}}document.addEventListener("input",mv,true);document.addEventListener("change",mv,true);document.addEventListener("click",function(ev){var b=ev.target&&ev.target.closest?ev.target.closest("button,input[type=submit]"):null;if(b&&!b.closest("[data-yj],[data-yj-cta],[data-yj-install],[data-yj-alert],.yj-find,.yj-related,#yj-ask,.yjp"))mv(ev);},true);})();</script></section>
<section data-yj-cta="paid" style="margin:3rem auto;max-width:46rem;padding:1.5rem 1.25rem;border:1px solid #d8dee9;border-radius:12px;background:#fbfcfe;font:16px/1.6 system-ui,-apple-system,Segoe UI,sans-serif"><h2 style="margin:0 0 .5rem;font-size:1.25rem">Get the full version <span class="yj-price">$29</span></h2><p class="yj-cta-paid" style="margin:.25rem 0 .6rem;color:#1f2a37">Whole-workspace migration plan with a Package.swift dependencies block, a dated trunk exposure report and a CI gate for new trunk pods</p><p class="yj-cta-pay" style="margin:.25rem 0 1rem;color:#5b6b7c;font-size:.94rem">One payment, one licence key for this tool. The key is shown right after payment.</p><a href="https://getreadystack.com/api/buy/cl/polar_cl_1T72WGAs3r8W0f8zzsm0ws7NQGxJxOHMuAnWU0ZpwZn" rel="nofollow" style="display:inline-block;padding:.7rem 1.3rem;border-radius:8px;background:#1b64f2;color:#fff;text-decoration:none;font-weight:600">Buy the full version — $29</a></section><!--yj-trust-strip-s191--><aside data-yj="yj-trust-strip" style="max-width:46rem;margin:-1.8rem auto 2.4rem;padding:.9rem 1.2rem;border:1px solid #d8dee9;border-radius:12px;background:#f6f8fb;font:14.5px/1.55 system-ui,-apple-system,Segoe UI,sans-serif;color:#2b3640"><p style="margin:0 0 .3rem;font-weight:600">Buying here, plainly</p><ul style="margin:0;padding-left:1.2rem"><li style="margin:.25rem 0">Payment runs on Whop’s checkout: your card details go to Whop, not to us, and Whop emails you the receipt.</li><li style="margin:.25rem 0">Your licence key shows on the next page right after payment and stays in your Whop account (Your purchases).</li><li style="margin:.25rem 0">Chose a subscription? Cancel any time in your Whop account (Orders → Cancel membership); access lasts until the end of the period you paid.</li><li style="margin:.25rem 0">Your inputs are calculated in your browser and are not sent to us (unless you ask for the result by email).</li><li style="margin:.25rem 0">Questions before buying? support@getreadystack.com — we answer within 2 business days.</li></ul></aside><!--/yj-trust-strip-s191-->
<!--yj-embed-s178--><details id="embed" data-yj="yj-embed" style="max-width:46rem;margin:1.6rem auto;padding:.85rem 1.1rem;border:1px solid #8884;border-radius:10px"><summary style="cursor:pointer;font-weight:600">Embed this tool on your site (free)</summary><p style="margin:.6rem 0;opacity:.85">Paste this code into your page. It runs in your visitor’s browser and stays up to date. Nothing your visitors type is stored.</p><textarea readonly rows="6" style="width:100%;font:12px/1.4 ui-monospace,Menlo,Consolas,monospace;border:1px solid #8886;border-radius:7px;padding:.5rem">&lt;iframe src=&quot;https://getreadystack.com/embed/swift-package-manager-migration-check/&quot; title=&quot;Swift Package Manager Migration: CocoaPods Trunk — free online check&quot; loading=&quot;lazy&quot; data-rs-embed=&quot;en-swift-package-manager-migration-check&quot; style=&quot;width:100%;max-width:760px;height:640px;border:1px solid #e3e3e3;border-radius:10px&quot;&gt;&lt;/iframe&gt;
&lt;p style=&quot;font-size:13px;margin:6px 0 0&quot;&gt;&lt;a href=&quot;https://getreadystack.com/tools/swift-package-manager-migration-check&quot;&gt;Swift Package Manager Migration: CocoaPods Trunk — free online check&lt;/a&gt; by &lt;a href=&quot;https://getreadystack.com/&quot;&gt;ReadyStack&lt;/a&gt;&lt;/p&gt;
&lt;script&gt;window.addEventListener(&quot;message&quot;,function(e){if(e.origin!==&quot;https://getreadystack.com&quot;||!e.data||e.data.type!==&quot;readystack-embed&quot;)return;var f=document.querySelectorAll(&quot;iframe[data-rs-embed]&quot;);for(var i=0;i&lt;f.length;i++){if(f[i].contentWindow===e.source)f[i].style.height=Math.min(e.data.h+6,8000)+&quot;px&quot;;}});&lt;/script&gt;</textarea><p style="margin:.5rem 0 0"><button type="button" data-yj="yj-embed-copy" style="font:inherit;padding:8px 14px;border:1px solid #8884;border-radius:9px;background:transparent;cursor:pointer">Copy code</button> &nbsp;<a href="/embed/">All embeddable tools</a></p><p style="margin:.7rem 0 0;font-size:.92em;opacity:.9">For businesses: your name and logo instead of ours, and each visitor’s result + e-mail in your inbox (only when they tick consent) — Pro from $19/month. <a href="/embed/pro/?ref=embed_box">See Pro &rarr;</a></p></details><script data-yj="yj-embed">(function(){var b=document.querySelector("[data-yj=yj-embed-copy]");if(!b)return;var t=b.textContent;b.addEventListener("click",function(){var a=b.closest("details").querySelector("textarea");var v=a.value;function d(){b.textContent="Copied";setTimeout(function(){b.textContent=t;},1800);}if(navigator.clipboard&&navigator.clipboard.writeText){navigator.clipboard.writeText(v).then(d,function(){a.select();});}else{a.select();}});})();</script><!--yj-share-s101--><div style="margin:28px 0 8px;text-align:center"><button id="yjcp" type="button" style="font:inherit;padding:10px 18px;border:1px solid #8884;border-radius:10px;background:transparent;cursor:pointer">Copy link</button><button id="yjimg" type="button" style="font:inherit;padding:10px 18px;margin-left:8px;border:1px solid #8884;border-radius:10px;background:transparent;cursor:pointer">Save result as image</button></div><script>(function(){var b=document.getElementById("yjimg");if(!b)return;b.addEventListener("click",function(){var o=document.getElementById("out");var txt=(o&&(o.innerText||o.textContent)||"").trim();if(!txt){b.textContent="(no result yet)";setTimeout(function(){b.textContent="Save result as image";},1500);return;}var lines=txt.split(String.fromCharCode(10)).filter(function(x){return x.trim();}).slice(0,10);var W=1200,P=56,c=document.createElement("canvas");c.width=W;var lh=38,H=P*2+70+lines.length*lh+60;c.height=H;var x=c.getContext("2d");x.fillStyle="#1a1512";x.fillRect(0,0,W,H);x.fillStyle="#f3e9d2";x.font="600 34px system-ui,Segoe UI,Arial";var t=(document.title||"").split("|")[0].trim();x.fillText(t.slice(0,54),P,P+34);x.font="22px ui-monospace,Menlo,Consolas,monospace";x.fillStyle="#e8dcc4";for(var i=0;i<lines.length;i++){x.fillText(lines[i].slice(0,88),P,P+70+i*lh+22);}x.font="600 22px system-ui,Segoe UI,Arial";x.fillStyle="#c9a227";var d=location.hostname.replace("www.","");x.fillText(d,W-P-x.measureText(d).width,H-P+6);c.toBlob(function(bl){var u=URL.createObjectURL(bl),a=document.createElement("a");a.href=u;a.download=(t||"result").replace(/[^a-z0-9]+/gi,"-").toLowerCase()+"-"+d+".png";document.body.appendChild(a);a.click();setTimeout(function(){URL.revokeObjectURL(u);a.remove();},2000);},"image/png");});})();</script><script>(function(){var b=document.getElementById("yjcp");if(!b)return;var t=b.textContent;b.addEventListener("click",function(){var u=location.href.split("#")[0];function d(){b.textContent="Link copied";setTimeout(function(){b.textContent=t;},1800);}if(navigator.clipboard&&navigator.clipboard.writeText){navigator.clipboard.writeText(u).then(d,function(){prompt("",u);});}else{prompt("",u);}});})();</script>
<script data-yj="yj-view-beacon">(function(){try{var p=location.pathname;var k='yjv:'+p;if(sessionStorage.getItem(k))return;sessionStorage.setItem(k,'1');fetch('/api/ev',{method:'POST',keepalive:true,headers:{'Content-Type':'application/json'},body:JSON.stringify({path:p,lang:"en",ref:(document.referrer||''),src:(function(){try{return (new URLSearchParams(location.search).get('ref')||'').replace(/[^a-z_]/g,'').slice(0,12)}catch(e){return ''}})()})}).catch(function(){});}catch(e){}})();</script>
<script data-yj="yj-use-beacon">(function(){try{var o=document.getElementById('out');if(!o)return;var p=location.pathname,k='yju:'+p,sent=false;function fire(){if(sent||sessionStorage.getItem(k))return;if(!(o.textContent||'').replace(/\s+/g,'').length)return;sent=true;sessionStorage.setItem(k,'1');fetch('/api/ev',{method:'POST',keepalive:true,headers:{'Content-Type':'application/json'},body:JSON.stringify({path:p,lang:"en",t:'use',src:(function(){try{return (new URLSearchParams(location.search).get('ref')||'').replace(/[^a-z_]/g,'').slice(0,12)}catch(e){return ''}})()})}).catch(function(){});}var mo=new MutationObserver(function(){fire();if(sent)mo.disconnect();});mo.observe(o,{childList:true,characterData:true,subtree:true});}catch(e){}})();</script>
<script data-yj="yj-prefill-s181 v1">(function(){try{var q=new URLSearchParams(location.search);if(!q.toString())return;var P={"R": {"employee": ["employee|w-?2\\b|arbeitnehmer|angestellt|会社員|従業員|給与所得|trabajador|asalariad|empregad|clt\\b|salari", "Employee"], "self": ["self-?employ|freelanc|sole (trader|prop)|selbst(ä|ae)ndig|freiberuf|個人事業|フリーランス|aut(ó|o)nom|\\bmei\\b", "Freelancer / self-employed"], "landlord": ["landlord|rental|vermiet|大家|不動産|arrendador|alquiler|locador|aluguel", "Landlord"], "investor": ["invest|trader|anleger|投資|inversor|investidor", "Investor / trader"], "employer": ["employer|arbeitgeber|雇用主|事業主|empleador|empregador", "Employer"], "seller": ["seller|online shop|h(ä|ae)ndler|販売|vendedor|e-?commerce", "Online seller"]}, "C": {"US": "^(us|usa)$|united states|estados unidos|vereinigte staaten|アメリカ|米国", "UK": "^(uk|gb)$|united kingdom|great britain|reino unido|vereinigtes k|イギリス|英国", "DE": "^de$|germany|deutschland|alemania|alemanha|ドイツ", "JP": "^jp$|japan|jap(ó|ã|o)n?|日本", "ES": "^es$|spain|españa|espana|espanha|spanien|スペイン", "BR": "^br$|brazil|brasil|ブラジル"}, "B": "your 2027 dates", "L": "en"};function ours(el){return !!(el&&el.closest&&el.closest("[data-yj],[data-yj-cta],[data-yj-cal],.yj-email-gate,.yj-find,.yj-related,#yj-ask,#yjgo,#yjr,header,footer,nav"));}function fields(){var r=document.querySelector("main")||document.body;return [].filter.call(r.querySelectorAll("input,select,textarea"),function(el){var t=(el.type||"").toLowerCase();return !ours(el)&&!el.disabled&&["email","hidden","search","password","file","submit","button","reset","image"].indexOf(t)<0;});}function key(el){return el.getAttribute("data-k")||el.id||el.name||"";}function fire(el){["input","change"].forEach(function(n){try{el.dispatchEvent(new Event(n,{bubbles:true}))}catch(e){}});}function setv(el,v){v=String(v).slice(0,80);var t=(el.type||"").toLowerCase(),tg=el.tagName;if(tg=="SELECT"){var o=[].filter.call(el.options,function(o){return o.value==v||o.text.trim()==v})[0];if(!o)return false;el.value=o.value;}else if(t=="checkbox"||t=="radio"){if(!/^(1|0|true|false|on|off|yes|no)$/i.test(v))return false;el.checked=/^(1|true|on|yes)$/i.test(v);}else if(t=="number"||t=="range"){var n=parseFloat(v.replace(/\s/g,"").replace(",","."));if(!isFinite(n))return false;el.value=String(n);}else if(t=="date"){if(!/^\d{4}-\d{2}-\d{2}$/.test(v))return false;el.value=v;}else{if(/[<>]/.test(v))return false;el.value=v;}fire(el);return true;}function pick(el,rx){if(el.tagName!="SELECT")return false;var re=new RegExp(rx,"i");var o=[].filter.call(el.options,function(o){return re.test(o.value)||re.test(o.text)})[0];if(!o||el.value==o.value)return false;el.value=o.value;fire(el);return true;}function run(){var F=fields(),done={},n=0;q.forEach(function(v,k){if(n>=20||/^(ref|role|cc|utm_.*|fbclid|gclid)$/.test(k)||!/^[A-Za-z0-9_-]{1,40}$/.test(k))return;F.forEach(function(el){if(key(el)===k&&!done[k]&&setv(el,v)){done[k]=1;n++;}});});var cc=(q.get("cc")||"").toUpperCase().replace(/[^A-Z]/g,"");if(P.C[cc])F.forEach(function(el){var k=key(el);if(!done[k]&&/country|land|pa(i|í)s|pays|国/i.test(k+" "+(el.id||""))&&pick(el,P.C[cc])){done[k]=1;n++;}});var ro=(q.get("role")||"").replace(/[^a-z]/g,""),R=P.R[ro];if(R)F.forEach(function(el){var k=key(el);if(!done[k]&&el.tagName=="SELECT"&&[].some.call(el.options,function(o){return [].some.call(Object.keys(P.R),function(x){return new RegExp(P.R[x][0],"i").test(o.text)})})&&pick(el,R[0])){done[k]=1;n++;}});if(q.get("ref")=="calendar"){var h=document.querySelector("main h1")||document.querySelector("h1");var d=document.createElement("div");d.setAttribute("data-yj","yj-prefill-back");d.style.cssText="margin:.4rem 0 .8rem;font:15px/1.5 system-ui,sans-serif;opacity:.9";var a=document.createElement("a");a.href="/"+P.L+"/calendar/?ref=tool"+(R?"&role="+ro:"")+(P.C[cc]?"&cc="+cc:"");a.textContent=(R?R[1]+" \u00b7 ":"")+P.B+" \u2192";d.appendChild(a);if(h&&h.parentNode)h.parentNode.insertBefore(d,h.nextSibling);}document.documentElement.setAttribute("data-yj-prefilled",String(n));}if(document.readyState=="loading")document.addEventListener("DOMContentLoaded",run);else run();}catch(e){}})();</script><div class="yj-home-find"><div class="yj-lgbar"><a href="/" class="yj-lg on">EN</a><a href="/de/" class="yj-lg">DE</a><a href="/ja/" class="yj-lg">JA</a><a href="/es/" class="yj-lg">ES</a><a href="/pt/" class="yj-lg">PT</a></div><section class="yj-find"><h2>Find a tool</h2><input id="yjq" type="search" autocomplete="off" placeholder="Type a product name, format or task"><div id="yjr"></div></section><style>.yj-lgbar{position:absolute;top:14px;right:18px;display:flex;gap:6px;z-index:60}.yj-lg{font:600 12px/1 system-ui,sans-serif;padding:6px 9px;border-radius:4px;text-decoration:none;color:#8b96a3;border:1px solid rgba(140,150,165,.28)}.yj-lg:hover{color:#e8eaed;border-color:rgba(160,175,195,.6)}.yj-lg.on{color:#0e1116;background:#cfd6de;border-color:#cfd6de}.yj-find{max-width:760px;margin:34px auto 8px;padding:0 20px}.yj-find h2{font:600 20px/1.3 system-ui,sans-serif;margin:0 0 10px}#yjq{width:100%;box-sizing:border-box;padding:13px 15px;font:400 15.5px system-ui,sans-serif;border:1px solid rgba(140,150,165,.34);border-radius:8px;background:rgba(255,255,255,.04);color:inherit}#yjq:focus{outline:none;border-color:#7FD1C4}#yjr{margin-top:10px;display:flex;flex-direction:column;gap:6px}#yjr a{display:flex;justify-content:space-between;gap:12px;padding:11px 14px;border:1px solid rgba(140,150,165,.22);border-radius:6px;text-decoration:none;font:400 14.5px/1.4 system-ui,sans-serif;color:inherit}#yjr a:hover{border-color:#7FD1C4}#yjr .pr{font:600 13px system-ui,sans-serif;color:#5fbf9a;white-space:nowrap}</style><script>(function(){var q=document.getElementById("yjq"),r=document.getElementById("yjr"),D=null;function load(){if(D)return Promise.resolve(D);return fetch("/search-index.json").then(function(x){return x.json();}).then(function(j){D=j;return j;}).catch(function(){D=[];return D;});}function esc(t){return String(t).replace(/[&<>"]/g,function(c){return {"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"}[c];});}function run(){var v=q.value.trim().toLowerCase();if(v.length<2){r.innerHTML="";return;}load().then(function(j){var w=v.split(/\s+/),o=[];for(var i=0;i<j.length&&o.length<12;i++){var t=j[i].t.toLowerCase();var ok=true;for(var k=0;k<w.length;k++){if(t.indexOf(w[k])<0){ok=false;break;}}if(ok)o.push(j[i]);}r.innerHTML=o.length?o.map(function(x){return "<a href=\""+esc(x.u)+"\">"+"<span>"+esc(x.t)+"</span>"+(x.p?"<span class=\"pr\">$"+x.p+"</span>":"")+"</a>";}).join(""):"";});}q.addEventListener("input",run);q.addEventListener("focus",load);})();</script></div><section data-yj="yj-facts-v1" style="max-width:920px;margin:48px auto 0;padding:0 20px;font-family:system-ui,sans-serif"><style>.yj-article p{font:400 15.5px/1.7 system-ui,sans-serif;color:#26313b;margin:0 0 12px;max-width:72ch}.yj-article h2,.yj-article h3,.yj-article h4{font:600 17px/1.35 system-ui,sans-serif;color:#1b1f24;margin:22px 0 8px}.yj-article table{border-collapse:collapse;margin:10px 0 16px;font:14px/1.45 system-ui,sans-serif}.yj-article th,.yj-article td{border:1px solid #e2e6ea;padding:6px 10px;text-align:left}.yj-article th{background:#f4f6f8}.yj-article pre{background:#0f1720;color:#e6edf3;padding:12px 14px;border-radius:8px;overflow:auto;font:13px/1.5 ui-monospace,Menlo,monospace}.yj-article code{font:13px ui-monospace,Menlo,monospace;background:#f1f3f5;padding:1px 4px;border-radius:3px}.yj-article pre code{background:none;padding:0}.yj-article ul,.yj-article ol{font:15px/1.6 system-ui,sans-serif;color:#26313b}</style><p style="font:400 13px/1.5 system-ui,sans-serif;color:#6b7680;margin:0 0 14px"><time datetime="2026-10-11">Updated 2026-10-11</time> · ReadyStack</p><script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","dateModified":"2026-10-11","author":{"@type":"Organization","name":"ReadyStack"}}</script><h2 style="font:600 21px/1.3 system-ui,sans-serif;margin:0 0 6px;color:#1b1f24">Worked example</h2><p style="font:400 14.5px/1.5 system-ui,sans-serif;margin:0 0 16px;color:#5b6570">Real numbers from this tool, line by line.</p><div class="yj-article"><p><img src="https://getreadystack.com/img/promo/sku607451_result_card.jpg" alt="Migrate from CocoaPods to Swift Package Manager: 6 findings in one Podfile before trunk goes read-only" loading="lazy" style="max-width:100%;border-radius:6px"></p>
<p>Swift Package Manager: 6 findings. That is what an iOS team&#x27;s ShopApp Podfile returned on 2026-10-11, 52 days before CocoaPods trunk turns read-only on 2026-12-02.</p>
<table><thead><tr><th>Podfile line</th><th>Swift Package Manager line</th></tr></thead><tbody><tr><td>no source line</td><td>trunk is the default source</td></tr><tr><td>pod &#x27;Alamofire&#x27;, &#x27;~&gt; 5.8&#x27;</td><td>.package(url: &quot;https://github.com/Alamofire/Alamofire.git&quot;, from: &quot;5.8.0&quot;)</td></tr><tr><td>pod &#x27;Kingfisher&#x27;, &#x27;~&gt; 7.10.0&#x27;</td><td>.upToNextMinor(from: &quot;7.10.0&quot;)</td></tr><tr><td>pod &#x27;SnapKit&#x27;</td><td>from: &quot;&lt;version in Podfile.lock&gt;&quot;</td></tr><tr><td>pod &#x27;Firebase/Analytics&#x27;, &#x27;~&gt; 10.0&#x27;</td><td>.product(name: &quot;FirebaseAnalytics&quot;, package: &quot;firebase-ios-sdk&quot;)</td></tr><tr><td>pod &#x27;AcmeLegacyKit&#x27;, &#x27;1.4.2&#x27;</td><td>no Swift package: vendor repo or .binaryTarget</td></tr></tbody></table>
<h3>What changes on 2026-12-02</h3>
<p>The CocoaPods team published its plan on blog.cocoapods.org/CocoaPods-Specs-Repo. A test run is planned for 2026-11-01 to 11-07, and on 2026-12-02 trunk stops accepting new podspecs for good. Existing builds keep working: the Specs repo and the CDN stay up. What stops is the flow of new versions. Every pod that resolves from trunk is frozen at the last version pushed before that day, and every library released with pod trunk push has no release path left there. Since May 2025 trunk has also refused new pods that use prepare_command.</p>
<h3>Why the first finding is a line that is not there</h3>
<p>The ShopApp Podfile has no source line. CocoaPods then resolves every pod from trunk at cdn.cocoapods.org, so the whole file depends on trunk without saying so. The check reports that at line 1 with the clock: on 2026-10-11, 21 days to the test run and 52 days to read-only. Put a different date in and the sentence changes; on 2026-12-15 it says trunk has been read-only for 13 days.</p>
<h3>Why the version rules matter</h3>
<p>A Podfile&#x27;s ~&gt; is not Swift Package Manager&#x27;s from. &#x27;~&gt; 5.8&#x27; allows 5.8 up to, not including, 6.0, which is from: &quot;5.8.0&quot;. &#x27;~&gt; 7.10.0&#x27; allows 7.10.x only, which is .upToNextMinor(from: &quot;7.10.0&quot;). A bare &#x27;6.5.0&#x27; is exact: &quot;6.5.0&quot;. A pod with no version, like SnapKit here, has no rule to copy, so the line asks for the version already in Podfile.lock.</p>
<h3>Why product names matter</h3>
<p>Firebase/Analytics is a subspec in CocoaPods. In Swift Package Manager it is the product FirebaseAnalytics inside the package firebase-ios-sdk. lottie-ios becomes the product Lottie. GRDB.swift becomes GRDB. The 17 map rules come from each vendor&#x27;s own Package.swift, so the product names are the ones Xcode will accept.</p>
<h3>What it leaves alone</h3>
<p>Pods pulled with :git, :path or :podspec do not come from trunk. A Podfile whose only source is a private specs repo returns 0 findings. AcmeLegacyKit in the sample has no Swift package in the map, so the finding tells you to check the vendor repo for a Package.swift or ship an XCFramework as a .binaryTarget.</p>
<h3>For SDK maintainers</h3>
<p>Open your .podspec. A sample AcmePay 2.3.1 podspec gave 3 findings: the pod trunk push release path, a prepare_command, and its Alamofire dependency with the .package line for it. The first one also writes the line your users will need: .package(url: &quot;https://github.com/acme/AcmePay.git&quot;, from: &quot;2.3.1&quot;), once you add a Package.swift and tag the same version.</p>
<h3>Free and team use</h3>
<p>The check of the open Podfile or .podspec is free, in VS Code and on the web page, with all 23 rules. A licence key adds a whole-workspace migration plan with a Package.swift dependencies block, a dated trunk exposure report and a CI gate that fails a build adding a new trunk pod.</p></div><h2 style="font:600 19px/1.3 system-ui,sans-serif;margin:30px 0 10px;color:#1b1f24">15 seconds — what it actually does</h2><video controls muted playsinline preload="none" poster="/img/promo/sku607451_result_card.jpg" style="width:100%;max-width:360px;border-radius:10px;display:block;margin:0 auto"><source src="/media/sku607451_short.mp4" type="video/mp4"></video><h2 style="font:600 21px/1.3 system-ui,sans-serif;margin:34px 0 6px;color:#1b1f24">Questions people ask</h2><details style="border-bottom:1px solid #e6e9ed;padding:10px 0"><summary style="cursor:pointer;font:600 15px/1.4 system-ui,sans-serif;color:#1b1f24">What does the Swift Package Manager migration check do?</summary><p style="margin:8px 0 2px;font:400 14.5px/1.6 system-ui,sans-serif;color:#33404b">It reads a Podfile or .podspec in VS Code and flags every dependency that still resolves from CocoaPods trunk, which turns read-only on 2026-12-02. For each pod it writes the exact Swift Package Manager line: package URL, version rule and product name. It has 23 rules and 2 inputs, the file and the date.</p></details><details style="border-bottom:1px solid #e6e9ed;padding:10px 0"><summary style="cursor:pointer;font:600 15px/1.4 system-ui,sans-serif;color:#1b1f24">Who is this CocoaPods to Swift Package Manager check for?</summary><p style="margin:8px 0 2px;font:400 14.5px/1.6 system-ui,sans-serif;color:#33404b">iOS and macOS developers whose app still lists pods in a Podfile, and SDK maintainers who release a library with pod trunk push. Both lose updates on 2026-12-02 when CocoaPods trunk stops accepting new pods and new versions, so both need to know which lines to move first.</p></details><details style="border-bottom:1px solid #e6e9ed;padding:10px 0"><summary style="cursor:pointer;font:600 15px/1.4 system-ui,sans-serif;color:#1b1f24">Why not ask a chatbot to convert my Podfile to Swift Package Manager?</summary><p style="margin:8px 0 2px;font:400 14.5px/1.6 system-ui,sans-serif;color:#33404b">A chatbot guesses package URLs, product names and version rules. Firebase/Analytics is the product FirebaseAnalytics inside the firebase-ios-sdk package, and a pessimistic rule like ~&gt; 7.10.0 needs .upToNextMinor, not from. This check reads a map built from each vendor&#x27;s own Package.swift and skips pods that come from :git or :path.</p></details><details style="border-bottom:1px solid #e6e9ed;padding:10px 0"><summary style="cursor:pointer;font:600 15px/1.4 system-ui,sans-serif;color:#1b1f24">What is free and what does the licence key add?</summary><p style="margin:8px 0 2px;font:400 14.5px/1.6 system-ui,sans-serif;color:#33404b">Free: the open Podfile or .podspec, every trunk dependency with its line and the Swift Package Manager line that replaces it, plus the days left before trunk turns read-only. The key adds a whole-workspace migration plan with a Package.swift dependencies block, a dated trunk exposure report and a CI gate for new trunk pods.</p></details><details style="border-bottom:1px solid #e6e9ed;padding:10px 0"><summary style="cursor:pointer;font:600 15px/1.4 system-ui,sans-serif;color:#1b1f24">What does a manual CocoaPods migration audit cost compared with this?</summary><p style="margin:8px 0 2px;font:400 14.5px/1.6 system-ui,sans-serif;color:#33404b">By hand, someone opens every vendor repository, reads its Package.swift for the URL and product name and translates each ~&gt; rule. The free check does this for one file at no cost. The workspace plan, exposure report and CI gate are 29 dollars once for one licence key, per person or team seat.</p></details><details style="border-bottom:1px solid #e6e9ed;padding:10px 0"><summary style="cursor:pointer;font:600 15px/1.4 system-ui,sans-serif;color:#1b1f24">When does CocoaPods trunk change next?</summary><p style="margin:8px 0 2px;font:400 14.5px/1.6 system-ui,sans-serif;color:#33404b">The CocoaPods blog plan lists a test run on 2026-11-01 to 11-07 and a permanent switch on 2026-12-02, after which trunk accepts no new podspecs. Existing builds keep working. The author says the dates are not set in stone and could move later but not earlier. Source: blog.cocoapods.org/CocoaPods-Specs-Repo.</p></details><script type="application/ld+json" data-yj="yj-faq-ld">{"@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{"@type": "Question", "name": "What does the Swift Package Manager migration check do?", "acceptedAnswer": {"@type": "Answer", "text": "It reads a Podfile or .podspec in VS Code and flags every dependency that still resolves from CocoaPods trunk, which turns read-only on 2026-12-02. For each pod it writes the exact Swift Package Manager line: package URL, version rule and product name. It has 23 rules and 2 inputs, the file and the date."}}, {"@type": "Question", "name": "Who is this CocoaPods to Swift Package Manager check for?", "acceptedAnswer": {"@type": "Answer", "text": "iOS and macOS developers whose app still lists pods in a Podfile, and SDK maintainers who release a library with pod trunk push. Both lose updates on 2026-12-02 when CocoaPods trunk stops accepting new pods and new versions, so both need to know which lines to move first."}}, {"@type": "Question", "name": "Why not ask a chatbot to convert my Podfile to Swift Package Manager?", "acceptedAnswer": {"@type": "Answer", "text": "A chatbot guesses package URLs, product names and version rules. Firebase/Analytics is the product FirebaseAnalytics inside the firebase-ios-sdk package, and a pessimistic rule like ~> 7.10.0 needs .upToNextMinor, not from. This check reads a map built from each vendor's own Package.swift and skips pods that come from :git or :path."}}, {"@type": "Question", "name": "What is free and what does the licence key add?", "acceptedAnswer": {"@type": "Answer", "text": "Free: the open Podfile or .podspec, every trunk dependency with its line and the Swift Package Manager line that replaces it, plus the days left before trunk turns read-only. The key adds a whole-workspace migration plan with a Package.swift dependencies block, a dated trunk exposure report and a CI gate for new trunk pods."}}, {"@type": "Question", "name": "What does a manual CocoaPods migration audit cost compared with this?", "acceptedAnswer": {"@type": "Answer", "text": "By hand, someone opens every vendor repository, reads its Package.swift for the URL and product name and translates each ~> rule. The free check does this for one file at no cost. The workspace plan, exposure report and CI gate are 29 dollars once for one licence key, per person or team seat."}}, {"@type": "Question", "name": "When does CocoaPods trunk change next?", "acceptedAnswer": {"@type": "Answer", "text": "The CocoaPods blog plan lists a test run on 2026-11-01 to 11-07 and a permanent switch on 2026-12-02, after which trunk accepts no new podspecs. Existing builds keep working. The author says the dates are not set in stone and could move later but not earlier. Source: blog.cocoapods.org/CocoaPods-Specs-Repo."}}]}</script><div id="yj-ask" style="margin:36px 0 0;padding:18px 18px 16px;border:1px solid #e2e6ea;border-radius:10px;background:#fbfbfc"><h2 style="font:600 19px/1.3 system-ui,sans-serif;margin:0 0 4px;color:#1b1f24">Ask about this tool</h2><p style="font:400 13.5px/1.5 system-ui,sans-serif;margin:0 0 12px;color:#5b6570">One question, answered by the person who built it. Your email only if you want the answer sent.</p><form onsubmit="return yjAsk(event)" style="display:grid;gap:8px"><textarea name="question" required minlength="10" maxlength="2000" rows="3" placeholder="Your question" style="font:14px/1.5 system-ui,sans-serif;padding:10px;border:1px solid #cfd6dd;border-radius:6px"></textarea><div style="display:flex;gap:8px;flex-wrap:wrap"><input type="email" name="email" placeholder="Email (optional)" style="flex:1;min-width:200px;font:14px system-ui,sans-serif;padding:9px 10px;border:1px solid #cfd6dd;border-radius:6px"><button type="submit" style="font:600 14px system-ui,sans-serif;padding:9px 18px;border:0;border-radius:6px;background:#1b1f24;color:#fff;cursor:pointer">Send</button></div><p id="yj-ask-msg" style="font:13px system-ui,sans-serif;margin:2px 0 0;color:#0a6238;min-height:1em"></p></form><script>function yjAsk(e){e.preventDefault();var f=e.target,m=document.getElementById("yj-ask-msg");m.style.color="#0a6238";fetch(location.origin+"/api/ask",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sku:607451,slug:"swift-package-manager-migration-check",lang:"en",question:f.question.value,email:f.email.value,page:location.pathname})}).then(function(r){if(!r.ok)throw 0;m.textContent="Thanks \u2014 noted. Answers land on this page and, if you left an email, in your inbox.";f.question.value="";}).catch(function(){m.style.color="#a8551f";m.textContent="Could not send. Please try again in a minute.";});return false;}</script></div></section><section class="yj-related" style="max-width:920px;margin:56px auto 40px;padding:0 20px"><h2 style="font:600 21px/1.3 system-ui,sans-serif;margin:0 0 6px;color:#1b1f24">Same job, next tool</h2><p style="font:400 14.5px/1.5 system-ui,sans-serif;margin:0 0 20px;color:#5b6570">Free in the browser. The full version is a one-time licence.</p><div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px"><a class="yj-rel-c" href="https://getreadystack.com/tools/swift6-concurrency-lint?ref=related"><span class="yj-rel-t">Swift 6 Concurrency Migration Lint</span><span class="yj-rel-p">$29</span></a><a class="yj-rel-c" href="https://getreadystack.com/tools/vscodium-extension-licence-lint?ref=related"><span class="yj-rel-t">VSCodium Migration Lint: Microsoft-only Extensions</span><span class="yj-rel-p">$29</span></a><a class="yj-rel-c" href="https://getreadystack.com/tools/yosys-migration-check?ref=related"><span class="yj-rel-t">Yosys Migration Check - Vivado-only blockers</span><span class="yj-rel-p">$29</span></a><a class="yj-rel-c" href="https://getreadystack.com/tools/package-json-release-gate?ref=related"><span class="yj-rel-t">npm publish package.json gate: engines &amp; SPDX</span><span class="yj-rel-p">$29</span></a><a class="yj-rel-c" href="https://getreadystack.com/tools/huggingface-model-license-matrix?ref=related"><span class="yj-rel-t">Hugging Face Model Licence Matrix — all 70 model-card `license:` identifiers ×</span><span class="yj-rel-p">$4.99</span></a><a class="yj-rel-c" href="https://getreadystack.com/tools/almalinux-migration-lint?ref=related"><span class="yj-rel-t">AlmaLinux Migration Lint — CentOS 7/8</span><span class="yj-rel-p">$29</span></a></div><style>.yj-rel-c{display:flex;flex-direction:column;gap:8px;padding:15px 16px;border:1px solid #e2e6ea;border-radius:6px;text-decoration:none;background:#fff}.yj-rel-c:hover{border-color:#b9c2cb;background:#fafbfc}.yj-rel-t{font:500 14.5px/1.42 system-ui,sans-serif;color:#1b1f24}.yj-rel-p{font:600 13px system-ui,sans-serif;color:#0a6238}</style></section><!--yj-trust-foot-s191--><footer data-yj="yj-trust-foot" style="margin:3rem auto 0;padding:1.2rem 1rem 2rem;border-top:1px solid rgba(128,128,128,.28);max-width:60rem;font:14px/1.6 system-ui,-apple-system,Segoe UI,sans-serif;color:#5b6570;text-align:center"><nav aria-label="ReadyStack" style="display:flex;gap:.4rem 1.1rem;justify-content:center;flex-wrap:wrap"><a href="/about" style="color:inherit">About</a><a href="/verify/" style="color:inherit">How we verify</a><a href="/privacy" style="color:inherit">Privacy</a><a href="/terms" style="color:inherit">Terms</a><a href="/contact.html" style="color:inherit">Contact</a><a href="mailto:support@getreadystack.com" style="color:inherit">support@getreadystack.com</a></nav><p style="margin:.6rem 0 0">&#128274; Secure checkout by Whop &middot; &copy; 2026 ReadyStack</p></footer><!--/yj-trust-foot-s191--></body>
</html>