zoukankan      html  css  js  c++  java
  • react-native运行iOS真机、模拟器命令

    zdeMacBook-Pro:sometest z$ react-native run-ios -h
    react-native run-ios 
    
    builds your app and starts it on iOS simulator
    
    Options:
      --simulator [string]      Explicitly set simulator to use. Optionally include iOS version between parenthesis at the end to match an exact version: "iPhone 6 (10.0)" (default: "iPhone 11")
      --configuration [string]  Explicitly set the scheme configuration to use (default: "Debug")
      --scheme [string]         Explicitly set Xcode scheme to use
      --project-path [string]   Path relative to project root where the Xcode project (.xcodeproj) lives. (default: "ios")
      --device [string]         Explicitly set device to use by name.  The value is not required if you have a single device connected.
      --udid [string]           Explicitly set device to use by udid
      --no-packager             Do not launch packager while building
      --verbose                 Do not use xcpretty even if installed
      --port [number]            (default: 8081)
      --terminal [string]       Launches the Metro Bundler in a new window using the specified terminal path. (default: "Apple_Terminal")
      -h, --help                output usage information
    
    Example usage:
      Run on a different simulator, e.g. iPhone SE: 
      react-native run-ios --simulator "iPhone SE" //运行在模拟器命令
    
      Pass a non-standard location of iOS directory: 
      react-native run-ios --project-path "./app/ios"
    
      Run on a connected device, e.g. Max's iPhone: 
    //1,Xcode连接上真机之后,
    //2 ,再在命令行中执行这个命令,这个命令会安装app
    react-native run-ios --device "zhuiPhoneX" 

    Run on the AppleTV simulator: react-native run-ios --simulator "Apple TV" --scheme "helloworld-tvOS"
  • 相关阅读:
    oracleDBA-D4
    oracleDBA-D3
    oracleDBA-D2
    大数据架构学习记录
    UBUNTU 安装最新版 nodejs
    datax 单条记录超过大小限制,当前限制为:67108864
    将anaconda中已存在的虚拟环境增加到jupyterlab
    jupyter 启动python3 内核 总是出现错误 ImportError: cannot import name 'create_prompt_application'
    CDH 本地hadoop支持读写 AWS S3a
    hadoop 集群集成jupyterhub 出现的问题
  • 原文地址:https://www.cnblogs.com/Oldz/p/13340607.html
Copyright © 2011-2022 走看看