taro-native-shell 壳,启动项目失败一直报错:":CFBundleIdentifier", Does Not Exist



  • 然后用xcode 也没有启动起来,

    还有没有其他方式可以调试 rn 了

    用官方步骤根本跑不起来,还不如之前的 expo 呢。,现在还能用 expo 这个来测试吗?如何来配置。

    现在RN的例子也少,官方的提供的方法,目前没有见到说跑起来的。有问题。在这里提了,也没有人来回复。

    taro-cli版本1.3.2,node版本10.15.3,yarn版本1.16.0

    taro 是官方 redux ts版代码

    http://127.0.0.1:8081/rn_temp/index.bundle?platform=ios&dev=true
    正常
    http://127.0.0.1:8081/ 正常
    替代文字

    The following build commands failed:
    	CompileC /Users/bq-dn-zj-497/Documents/plain/taro/taro-native-shell/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/strtod.o /Users/bq-dn-zj-497/Documents/plain/taro/taro-native-shell/node_modules/react-native/third-party/double-conversion-1.1.5/src/strtod.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    
    	CompileC /Users/bq-dn-zj-497/Documents/plain/taro/taro-native-shell/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/fixed-dtoa.o /Users/bq-dn-zj-497/Documents/plain/taro/taro-native-shell/node_modules/react-native/third-party/double-conversion-1.1.5/src/fixed-dtoa.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    	CompileC /Users/bq-dn-zj-497/Documents/plain/taro/taro-native-shell/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/fast-dtoa.o /Users/bq-dn-zj-497/Documents/plain/taro/taro-native-shell/node_modules/react-native/third-party/double-conversion-1.1.5/src/fast-dtoa.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    (3 failures)
    
    Installing build/Build/Products/Debug-iphonesimulator/taroDemo.app
    An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
    Failed to install the requested application
    The bundle identifier of the application could not be determined.
    Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
    Print: Entry, ":CFBundleIdentifier", Does Not Exist
    
    Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/taroDemo.app/Info.plist
    Print: Entry, ":CFBundleIdentifier", Does Not Exist
    




  • @蜘蛛paipai 几乎都有这个问题



  • @maskwang RN 依赖的问题。



  • @蜘蛛paipai 能指定哪个一定能解决这个问题吗?上面的给了很多种解决方法,一个一个试太麻烦了,也不知道具体哪个是最好使的。



  • @蜘蛛paipai

    总算是跑起来了,后面用了xcode, 报了这个错误:
    https://www.cnblogs.com/richard-youth/p/10002797.html
    反正过程也有点稀里糊涂的。最终是跑起来了。



  • @plain 这是RN 0.55.4 在 Xcode10+ 下的常见问题。


登录后回复