问题描述
我尝试了两个问题和对我没有任何帮助.也尝试过重设SIM卡.
I tried this two question Question1 and Question2 nothing works for me. Tried reset sim also.
下面是日志详细信息:
appc run -p ios -T simulator -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 不走运:(
推荐答案
此步骤可通过以下步骤解决:
This is solved by following step :
-
rm ioslib
-
npm install [email protected]
-
tn reset
重新生成设备
/Users/Username/Library/Application Support/Titanium/mobilesdk/osx/7.5.1.GA/node_modules/
中的rm ioslib
inside/Users/Username/Library/Application Support/Titanium/mobilesdk/osx/7.5.1.GA/node_modules/
npm install [email protected]
tn reset
to regenerate devices
我通过以下错误日志了解了这一点:
I got to know this by below error log :
npm WARN deprecated [email protected]: 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安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!