<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Xcode on Karsa Wang 's Blog</title><link>https://blog.karsa.info/tags/xcode/</link><description>Recent content in Xcode on Karsa Wang 's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 10 Oct 2026 11:00:00 +0800</lastBuildDate><atom:link href="https://blog.karsa.info/tags/xcode/index.xml" rel="self" type="application/rss+xml"/><item><title>TestFlight 和 Xcode 打包，用的不是同一个沙盒支付身份</title><link>https://blog.karsa.info/posts/testflight%E5%92%8Cxcode%E6%89%93%E5%8C%85%E7%94%A8%E7%9A%84%E6%98%AF%E4%B8%A4%E4%B8%AA%E6%B2%99%E7%9B%92%E6%94%AF%E4%BB%98%E8%BA%AB%E4%BB%BD/</link><pubDate>Sat, 10 Oct 2026 11:00:00 +0800</pubDate><guid>https://blog.karsa.info/posts/testflight%E5%92%8Cxcode%E6%89%93%E5%8C%85%E7%94%A8%E7%9A%84%E6%98%AF%E4%B8%A4%E4%B8%AA%E6%B2%99%E7%9B%92%E6%94%AF%E4%BB%98%E8%BA%AB%E4%BB%BD/</guid><description>&lt;p&gt;测一个带订阅的 App，同一台手机上，TestFlight 里点订阅弹出来的是&amp;quot;Subscribe to unlock&amp;quot;，没有试用；换成 Xcode 打包装上去，同一个订阅，弹出来的是&amp;quot;7 天免费试用&amp;quot;。&lt;/p&gt;&#10;&lt;p&gt;第一次看到的时候，脑子里第一反应是：App 判定逻辑有 bug，或者试用资格判断写错了。&lt;/p&gt;</description></item><item><title>Xcode调试iOS时候证书配置的一个坑</title><link>https://blog.karsa.info/posts/xcode%E8%B0%83%E8%AF%95ios%E6%97%B6%E5%80%99%E8%AF%81%E4%B9%A6%E9%85%8D%E7%BD%AE%E7%9A%84%E4%B8%80%E4%B8%AA%E5%9D%91/</link><pubDate>Tue, 24 Sep 2024 02:09:32 +0800</pubDate><guid>https://blog.karsa.info/posts/xcode%E8%B0%83%E8%AF%95ios%E6%97%B6%E5%80%99%E8%AF%81%E4%B9%A6%E9%85%8D%E7%BD%AE%E7%9A%84%E4%B8%80%E4%B8%AA%E5%9D%91/</guid><description>&lt;p&gt;调试iOS应用的时候，编译成功，安装app到设备也成功，启动app也成功，但Xcode自动结束调试，报错如下：&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;Could not attach to pid : “20860”&#10;&#10;attach failed (Not allowed to attach to process. Look in the console messages (Console.app), near the debugserver entries, when the attach failed. The subsystem that denied the attach permission will likely have logged an informative message about why it was denied.)&#10;&lt;/code&gt;&lt;/pre&gt;</description></item></channel></rss>