尝试在我的 Xcode 项目中安装 Intercom pod 时,我在控制台中收到错误消息:
[Intercom] ERROR - 💥👎 The Intercom.bundle hasn't been added to your app correctly. This will result in images not appearing in the SDK's messaging UI. More information on how to correctly integrate Intercom is available here: https://developers.intercom.com/docs/ios-installation.
Seems something is not right with the way cocoapods installed Intercom. Maybe corrupt, by doing these step it will clear all the cocoapods and start fresh. Which might solve your problem.
Open your Podfile and copy the existing pods you have listed there (The Podfile is in your project directory).
Close your Xcode workspace.
cd
to the directory of your project. pod deintegrate
from Terminalpod init
from Terminalpod install
from TerminalOpen xcworkspace file in your project folder.
在xcode中右击标记为红色的文件->删除,那么应该就可以解决了:)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.