错误无法找到任何支持 iOS Simulator 13.2.2 的 Xcode 安装 [英] ERROR Unable to find any Xcode installations that supports iOS Simulator 13.2.2

查看:26
本文介绍了错误无法找到任何支持 iOS Simulator 13.2.2 的 Xcode 安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试过这两个问题问题 1问题 2 对我不起作用.也试过重置sim.

I tried this two question Question1 and Question2 nothing works for me. Tried reset sim also.

以下是日志详细信息:

appc run -p ios -T 模拟器 -C

此命令的输出:

Appcelerator Command-Line Interface, version 8.0.0
Copyright (c) 2014-2020, Appcelerator, Inc.  All Rights Reserved.

[ERROR] Invalid iOS simulator "x"

 
6/30/2020, 2:36:20 PM

Operating System
  Name                        = Mac OS X
  Version                     = 10.14.6
  Architecture                = 64bit
  # CPUs                      = 12
  Memory                      = 17179869184

Node.js
  Node.js Version             = 10.19.0
  npm Version                 = 6.13.4

Titanium CLI
  CLI Version                 = 5.2.2

Titanium SDK
  SDK Version                 = 7.5.1.GA
  SDK Path                    = /Users/Username/Library/Application Support/Titanium/mobilesdk/osx/7.5.1.GA
  Target Platform             = iphone

Command
  /usr/local/bin/node /Users/UserName/.appcelerator/install/8.0.0/package/node_modules/titanium/lib/titanium.js build -p ios -T simulator -C x --config-file /var/folders/qq/fc1mtjjs42v5nh0phrf346p00000gn/T/build-1593507977953.json --log-level info --no-banner --project-dir /Users/Username/Project/titanium

[ERROR] Unable to find any Xcode installations that supports iOS Simulator 13.2.2.

每当运行 tn tn iphone-8-ios-13-3 或 ios 设备命令时出现以下错误:

Whenever running tn tn iphone-8-ios-13-3 or ios device command getting below error:

[ERROR] Invalid iOS simulator "FAA5DC77-27EC-4D74-8C5C-DFA77975DF80"

输出ti info

Xcode
  11.3.1 (build 11C504) - Xcode default
    Install Location          = /Applications/Xcode.app/Contents/Developer
    iOS SDKs                  = 13.2.2
    iOS Simulators            = 13.2.2
    Watch SDKs                = 6.1
    Watch Simulators          = 6.1
    Supported by TiSDK 7.5.1.GA = yes
    EULA Accepted             = yes
    Teams                     = none

注意:我想将应用从 7.4.X 迁移到最新版本,但在此之前我想知道是什么导致问题应用从 7.5.x 运行到最新版本.

Note: I want to migrate app from 7.4.X to latest but before that i want to know what is causing issue apps to works from 7.5.x to latest version.

我也试过这个https://github.com/appcelerator/ioslib/issues/115 不走运 :(

I tried this also https://github.com/appcelerator/ioslib/issues/115 no luck :(

推荐答案

这是通过以下步骤解决的:

This is solved by following step :

  1. rm ioslib /Users/Username/Library/Application Support/Titanium/mobilesdk/osx/7.5.1.GA/node_modules/
  2. npm install ioslib@1.7.14
  3. tn reset 重新生成设备
  1. rm ioslib inside /Users/Username/Library/Application Support/Titanium/mobilesdk/osx/7.5.1.GA/node_modules/
  2. npm install ioslib@1.7.14
  3. tn reset to regenerate devices

我通过以下错误日志了解到这一点:

I got to know this by below error log :

npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN enoent ENOENT: no such file or directory, open '/Users/Username/Library/Application Support/Titanium/mobilesdk/osx/7.5.1.GA/node_modules/titanium-sdk/package.json'

npm ERR! code EEXIST
npm ERR! path /Users/Username/Library/Application Support/Titanium/mobilesdk/osx/7.5.1.GA/node_modules/node-ios-device/node_modules/.bin/node-pre-gyp
npm ERR! Refusing to delete /Users/Username/Library/Application Support/Titanium/mobilesdk/osx/7.5.1.GA/node_modules/node-ios-device/node_modules/.bin/node-pre-gyp: is outside /Users/Username/Library/Application Support/Titanium/mobilesdk/osx/7.5.1.GA/node_modules/node-ios-device/node_modules/node-pre-gyp and not a link
npm ERR! File exists: /Users/Username/Library/Application Support/Titanium/mobilesdk/osx/7.5.1.GA/node_modules/node-ios-device/node_modules/.bin/node-pre-gyp
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/Username/.npm/_logs/2020-06-30T09_42_55_036Z-debug.log

这篇关于错误无法找到任何支持 iOS Simulator 13.2.2 的 Xcode 安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆