Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
添加共享扩展后运行代码时
您的项目和扩展必须有不同的 bundleId。
例子:
当我为我的项目和通知服务设置一个配置文件时出现此错误。
我将通知服务配置文件更改为正确的配置文件,这解决了我的问题。
确保您已为您的主应用程序目标和扩展正确设置了捆绑标识符。
仅在安装时启用复制
确保项目和扩展的调试和发布模式的配置相似解决了这个问题。
Cleaning build folder solved the problem to me. In Xcode, while pressing alt on keyboard, choose Product from top menu and click on Clean Build Folder
alt
Clean Build Folder