无法找到任何支持iOS模拟器13.2.2的Xcode安装

frebpwbc  于 2023-11-21  发布在  iOS
关注(0)|答案(1)|浏览(97)

我试过这两个问题Question1Question2没有什么适合我.尝试重置SIM卡也.
以下是日志详细信息:
第一个月
此命令的输出:

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设备命令得到下面的错误:

[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到最新版本。
我也试过这个https://github.com/appcelerator/ioslib/issues/115没有运气:(

lx0bsm1f

lx0bsm1f1#

这通过以下步骤解决:

  1. rm ioslib内部/Users/Username/Library/Application Support/Titanium/mobilesdk/osx/7.5.1.GA/node_modules/
  2. npm install [[email protected]](https://stackoverflow.com/cdn-cgi/l/email-protection)
  3. tn reset重新生成设备
    我通过下面的错误日志了解到这一点:
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

字符串

相关问题