I’m excited to share a set of mobile apps I’ve recently completed and published on both the Google Play Store and the Apple App Store. These apps are designed with a simple goal in mind: to make meaningful, structured content more accessible, whether you’re studying theology or improving your English vocabulary. 📱 Now Available on Both Platforms All apps are live and available for download: Google Play Developer Page: https://play.google.com/store/apps/dev?id=5835943159853189043 Apple App Store Developer Page: https://apps.apple.com/ca/developer/q-z-l-corp/id1888794100 📖 Theology & Confession Study Apps For those interested in Reformed theology and classical Christian teachings, I’ve developed a series of apps that present foundational texts in a clean, focused reading format: The Belgic Confession Canons of Dort Heidelberg Catechism Westminster Shorter Catechism Each app is designed to provide a distraction-free experience, making it easier to read, reflect, and revisit these im...
解决 Xcode 报错:Sandbox rsync “Operation not permitted”(React Native / CocoaPods 完整方案)
- Get link
- X
- Other Apps
By
Errong Leng
-
解决 Xcode 报错:Sandbox rsync “Operation not permitted”(React Native / CocoaPods)
在使用 React Native 开发 iOS 应用时,如果你在 Xcode 中遇到类似如下错误:
Sandbox: rsync deny(1) file-read-data Operation not permitted PhaseScriptExecution [CP] Embed Pods Frameworks
那么你踩到了 Xcode 15+ 中一个非常常见的坑。
🔍 问题原因
Xcode 15 引入了更严格的安全机制 —— User Script Sandboxing(用户脚本沙箱)。
这个机制会限制构建过程中脚本的文件访问权限,而 CocoaPods 在编译时会执行一个脚本(Embed Pods Frameworks),使用 rsync 来复制 framework:
- ❌ 无法读取 framework 文件(如 React.framework)
- ❌ 无法写入 app bundle
最终导致 Operation not permitted 错误。
✅ 解决方案(最有效)
关闭 Xcode 的 User Script Sandboxing:
- 打开 Xcode
- 选择你的 Project(不是 Target)
- 进入 Build Settings
- 搜索:
User Script Sandboxing - 将其设置为:NO
然后执行清理并重新编译:
Shift + Command + K
通常问题会立刻解决。
💡 原理说明
关闭脚本沙箱后,CocoaPods 的构建脚本将可以正常执行:
- 读取 framework 文件
- 复制到应用目录
- 保留签名信息(CodeSignature)
⚠️ 如果仍然报错(补充方案)
可以尝试以下操作:
- 给 Xcode 添加 Full Disk Access(完整磁盘权限)
- 删除 DerivedData 目录
- 重新执行
pod install
🚀 总结
这个问题并不是你的项目配置错误,而是:
Xcode 新安全机制 与 CocoaPods / React Native 构建脚本之间的不兼容
在当前阶段,关闭 User Script Sandboxing 是最简单、最稳定的解决方案。
希望这篇文章能帮你少踩几个坑。
❤️ Support This Blog
If this post helped you, you can support my writing with a small donation. Thank you for reading.
Popular Posts
2026 Begins: Choosing to Stay on the Path as a Blogger
By
Errong Leng
-
Today is January 1st, 2026 . Before rushing into new goals, I spent some time looking back at the past 12 months of data for this blog — the quiet numbers that tell a very honest story. Looking Back at the Numbers Over the past year: 📈 Total views: ~44,600 👀 Daily average visits: ~200 💬 Comments: 19 💰 AdSense income: about $0.01 per month At first glance, these numbers may look small — especially the income. But when I zoom out, I see something more meaningful. This blog has been quietly read every single day . No viral posts. No aggressive promotion. No paid traffic. Just consistent readers arriving through search, bookmarks, and curiosity. That consistency matters. What the Traffic Graph Tells Me The graph over the last 12 months shows something important: Early months were quiet and uneven Mid-year brought steady growth Toward the end of the year, traffic became more stable , with clear spikes when certain posts resonated This tell...
A New Collection of Thoughtful Learning Apps — Now Available on iOS & Android
By
Errong Leng
-
I’m excited to share a set of mobile apps I’ve recently completed and published on both the Google Play Store and the Apple App Store. These apps are designed with a simple goal in mind: to make meaningful, structured content more accessible, whether you’re studying theology or improving your English vocabulary. 📱 Now Available on Both Platforms All apps are live and available for download: Google Play Developer Page: https://play.google.com/store/apps/dev?id=5835943159853189043 Apple App Store Developer Page: https://apps.apple.com/ca/developer/q-z-l-corp/id1888794100 📖 Theology & Confession Study Apps For those interested in Reformed theology and classical Christian teachings, I’ve developed a series of apps that present foundational texts in a clean, focused reading format: The Belgic Confession Canons of Dort Heidelberg Catechism Westminster Shorter Catechism Each app is designed to provide a distraction-free experience, making it easier to read, reflect, and revisit these im...
How to Prepare App Preview Videos and Screenshots for App Store Connect
By
Errong Leng
-
How to Prepare App Preview Videos and Screenshots for App Store Connect When distributing your app through App Store Connect, preparing screenshots and app preview videos is one of the final — and surprisingly tricky — steps. This guide walks you through a simple, practical workflow that actually works. 📸 Screenshots (Easy Part) Screenshots are straightforward: Launch your app on your iPhone Capture screenshots directly on the device Transfer them to your Mac via AirDrop Open them in Preview and resize to the required dimensions That’s it. No special tools needed. 🎬 App Preview Videos (The Tricky Part) App preview videos have strict requirements from Apple: Key Requirements ⏱ Duration: ≤ 30 seconds 🎞 Frame rate: ≤ 30 fps (recommended: 30 fps) 📐 Resolution: 886 × 1920 (portrait) 1920 × 886 (landscape) 🔊 Must include audio 📱 Step 1: Record Your App on iPhone Use the built-in screen recording feature: Add Screen Recording to Control Center (i...
Comments
Post a Comment