我正在使用Xcode 8.3.3。在iPhone和iPhone中测试的应用程序iPad真的,但现在我想在iTunes Connect上传应用程序。
在应用程序加载器中出现如下错误:
无效的快速支持....
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Link } from 'react-router-dom'; import { Col, Well } from 'react-bootstrap'; import axios from 'axios'; import _ from 'lodash'; import moment from 'moment'; import { linkChange } from '../../actions'; class DeviceComponent extends Component { state = { device: {} }; componentDidMount() { axios.get(`http://localhost:3000/api/device/${this.props.match.params.id}`) .then(res => { this.setState({ device: res.data }); }) .catch(err => { console.log(err); }); this.props.linkChange(2); } render() { const { device } = this.state; const battery = _.values(device.battery); const generator = _.values(device.generator); const Timestamp = moment(device.timestamp).format('dddd, MMMM Do YYYY, h:mm:ss a'); return ( <div> <Col md={7} sm={12}> <h3>Device ID: {device.id} ({device.location})</h3> <hr /> <div style={{ marginTop: 40 }}> <Link className="btn btn-lg btn-success btn-block" to="/transform">Transformations</Link> <Link className="btn btn-lg btn-warning btn-block" to="/graph">Graphs</Link> </div> <div style={{ marginTop: 70 }}> <Link className="btn btn-lg btn-primary btn-block" to="/">Home</Link> </div> </Col> <Col md={5} sm={12}> <Well> <ul> <li>ID: {device.id}</li> <li>Location: {device.location}</li> <li>Timestamp: {Timestamp}</li> <li> Battery: <ul> <li>Temperature: {battery[0]}</li> <li>Current: {battery[1]}</li> <li>Voltage: {battery[2]}</li> </ul> </li> <li> Generator: <ul> <li>Temperature: {generator[0]}</li> <li>Current: {generator[1]}</li> <li>Voltage: {generator[2]}</li> </ul> </li> </ul> </Well> </Col> </div> ); } } export default connect(null, { linkChange })(DeviceComponent);
没有正确的文件 输入此位置。确保您使用正确的文件,...
有人能帮助我吗?