{"id":2222,"date":"2026-04-01T17:22:55","date_gmt":"2026-04-01T21:22:55","guid":{"rendered":"https:\/\/toddbaginski.com\/blog\/?p=2222"},"modified":"2026-04-01T17:22:57","modified_gmt":"2026-04-01T21:22:57","slug":"how-to-reauthenticate-claude-in-xcode","status":"publish","type":"post","link":"https:\/\/toddbaginski.com\/blog\/how-to-reauthenticate-claude-in-xcode\/","title":{"rendered":"HOW TO: Reauthenticate Claude in XCode"},"content":{"rendered":"\n<p>If you set up XCode to integrate with Claude you may find the OAuth token expires and the chat in XCode cannot communicate with Claude, then you see this error message.<br><br><code>OAuth token has expired. Please obtain a new token or refresh your existing token.<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"415\" height=\"371\" src=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-1.png\" alt=\"\" class=\"wp-image-2224\" srcset=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-1.png 415w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-1-300x268.png 300w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-1-84x75.png 84w\" sizes=\"auto, (max-width:767px) 415px, 415px\" \/><\/a><\/figure>\n\n\n\n<p>To resolve this issue quickly open XCode <strong>Settings<\/strong> > <strong>Intelligence<\/strong>.<\/p>\n\n\n\n<p>Click the <strong>ellipses<\/strong> next to your account, and select <strong>Sign Out<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"675\" src=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-2-1024x675.png\" alt=\"\" class=\"wp-image-2225\" srcset=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-2-1024x675.png 1024w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-2-300x198.png 300w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-2-768x507.png 768w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-2-114x75.png 114w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-2-480x317.png 480w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-2.png 1037w\" sizes=\"auto, (max-width:767px) 480px, (max-width:1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Click the <strong>ellipses<\/strong> again and select <strong>Sign In<\/strong>.<\/p>\n\n\n\n<p>This will open a web browser where you can sign in and click <strong>Authorize<\/strong>.<\/p>\n\n\n\n<p><strong>Restart XCode<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-4.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"690\" src=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-4-1024x690.png\" alt=\"\" class=\"wp-image-2227\" srcset=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-4-1024x690.png 1024w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-4-300x202.png 300w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-4-768x517.png 768w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-4-111x75.png 111w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-4-480x323.png 480w, https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/04\/image-4.png 1039w\" sizes=\"auto, (max-width:767px) 480px, (max-width:1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Happy coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you set up XCode to integrate with Claude you may find the OAUth token expires and the chat in XCode cannot communicate with Claude. Here&#8217;s how to fix it.<\/p>\n","protected":false},"author":1,"featured_media":2230,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[146],"tags":[148,10,147],"class_list":["post-2222","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","tag-claude","tag-custom-development","tag-xcode"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts\/2222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/comments?post=2222"}],"version-history":[{"count":2,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts\/2222\/revisions"}],"predecessor-version":[{"id":2229,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts\/2222\/revisions\/2229"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/media\/2230"}],"wp:attachment":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/media?parent=2222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/categories?post=2222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/tags?post=2222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}