React native ReactNative未能将构建部署到iOS模拟器,但已将其部署到Android模拟器

React native ReactNative未能将构建部署到iOS模拟器,但已将其部署到Android模拟器,react-native,cfbundleidentifier,React Native,Cfbundleidentifier,ReactNative未能将构建部署到iOS模拟器,但已将其部署到Android模拟器 附件是显示这两个页面的截图 步骤: 创建了本地应用程序 反应本机init proto 启动emulator后在Android emulator上运行应用程序 react本地运行的android 这在Android emulator上运行良好 在iOS Simulator上运行应用程序 反应本机运行ios 这将根据屏幕截图产生错误 错误 ** BUILD FAILED ** The following bu

ReactNative未能将构建部署到iOS模拟器,但已将其部署到Android模拟器

附件是显示这两个页面的截图

步骤:

  • 创建了本地应用程序

    反应本机init proto

  • 启动emulator后在Android emulator上运行应用程序

    react本地运行的android

  • 这在Android emulator上运行良好

  • 在iOS Simulator上运行应用程序

    反应本机运行ios

  • 这将根据屏幕截图产生错误

    错误

    ** BUILD FAILED **
    
    
    The following build commands failed:
        CompileC /Users/dinob/reactnativework/proto/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Objects-normal/x86_64/RCTShadowView+Internal.o Views/RCTShadowView+Internal.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    (1 failure)
    
    Installing build/Build/Products/Debug-iphonesimulator/proto.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/proto.app/Info.plist
    Print: Entry, ":CFBundleIdentifier", Does Not Exist
    
    版本

    MacBookPro OSX El Capitain
    
    react-native 0.55.3
    
    react-native-cli 2.0.1
    
    npm 5.5.1
    
    node v8.9.1
    
    watchman 4.9.0
    

    我建议您尝试该线程中描述的所有解决方案,以尝试解决此问题。祝你好运