HTML5   发布时间:2022-04-27  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了ios – CFBundleIdentifier“,不存在大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我在iOS的本机应用程序中遇到以下错误.

Installing build/Build/Products/Debug-iphonesimulator/Este.app
    An error was encountered processing the command (domain=NSPOSIXErrorDomain,code=2):
    Failed to install the requested application
    An application bundle was not found at the provided path.
    Provide a valid path to the desired application bundle.
    Print: Entry,":CFBundleIdentifier",Does Not Exist

    Command Failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/Este.app/Info.plist
    Print: Entry,Does Not Exist

但是我看到Info.plist有如下的CFBundleIdentifier.

<key>CFBundleIdentifier</key>
<string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>

我也尝试过改变上面的内容

<key>CFBundleIdentifier</key>
 <string>com.myApp</string>

但同样的错误.请帮忙.

我还看到在上述错误之前显示以下错误

node_modules/react-native-fbsdk/ios/RCTFBSDK/share/RCTFBSDKShareDialog.h:21:9: Fatal error: 
      'FBSDKShareKit/FBSDKShareKit.h' file not found
#import <FBSDKShareKit/FBSDKShareKit.h>

解决方法

在我错过了这个错误的时间后,我找到了解决方案,问题出在pods中,可能是在更新某些库时,pods不同步.

我的解决方
转到/ ios文件夹—->并运行命令:
·

>返回项目文件夹后—->并运行命令:
·

清理ios构建文件夹:
·

之后,像往常一样运行:
·

大佬总结

以上是大佬教程为你收集整理的ios – CFBundleIdentifier“,不存在全部内容,希望文章能够帮你解决ios – CFBundleIdentifier“,不存在所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签: