gpt4 book ai didi

ios - 模拟器不可用 appcelerator studio

转载 作者:行者123 更新时间:2023-12-03 12:30:16 28 4
gpt4 key购买 nike

我正在尝试在 ios 上的模拟器上运行在titinium.js 中构建的应用程序,但出现以下错误。

[INFO] :   Writing index.json with listing of JS/JSON files
[INFO] : Invoking xcodebuild
[INFO] : Finished building the application in 25s 110ms
[INFO] : Launching iOS Simulator

[ERROR] : Simulator is not available



应用程序未在 8.0.0.GA 模拟器中打开
但在 8.1.* 中打开但某些功能不起作用

以前它在模拟器中工作。

Here is the details of environment



DesignBees-MacBook-Pro:~ designbee$ appc 信息
Appcelerator Command-Line Interface, version 7.1.1
Copyright (c) 2014-2019, Appcelerator, Inc. All Rights Reserved.

Operating System
Name = Mac OS X
Version = 10.14.6
Architecture = 64bit
# CPUs = 8
Memory = 16.0GB

Node.js
Node.js Version = 10.16.3
npm Version = 6.9.0

Appcelerator CLI
Installer = 4.2.15
Core Package = 7.1.1

Titanium CLI
CLI Version = 5.2.1
node-appc Version = 0.2.49

Titanium SDKs
8.0.0.GA
Version = 8.0.0
Install Location = /Users/designbee/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.GA
Platforms = iphone, android
git Hash = 3726240fa2
git Timestamp = unknown
node-appc Version = 0.2.47

Mac OS X
Command Line Tools = installed

Intel® Hardware Accelerated Execution Manager (HAXM)
Not installed

Java Development Kit
Version = 12.0.1_12
Java Home = /Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home

Genymotion
Path = not found
Genymotion Executable = not found
Genymotion Player = not found
Home = not found

VirtualBox
Executable = not found
Version = unknown

Android SDK
Android Executable = not found
ADB Executable = /Users/designbee/Library/Android/sdk/platform-tools/adb
SDK Path = /Users/designbee/Library/Android/sdk

Android NDK
NDK Path = not found
NDK Version = not found

Android Platforms
1) android-21
Name = Android 5.0.1 **Not supported by Titanium SDK 8.0.0.GA**
API Level = 21
Revision = 2
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs =
Path = /Users/designbee/Library/Android/sdk/platforms/android-21
2) android-22
Name = Android 5.1.1 **Not supported by Titanium SDK 8.0.0.GA**
API Level = 22
Revision = 2
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs =
Path = /Users/designbee/Library/Android/sdk/platforms/android-22
3) android-23
Name = Android 6.0
API Level = 23
Revision = 3
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs = x86
Path = /Users/designbee/Library/Android/sdk/platforms/android-23
4) android-24
Name = Android 7.0
API Level = 24
Revision = 2
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs =
Path = /Users/designbee/Library/Android/sdk/platforms/android-24
5) android-25
Name = Android 7.1.1
API Level = 25
Revision = 2
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs = x86
Path = /Users/designbee/Library/Android/sdk/platforms/android-25
6) android-26
Name = Android 8.0.0
API Level = 26
Revision = 1
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs =
Path = /Users/designbee/Library/Android/sdk/platforms/android-26
7) android-27
Name = Android 8.1.0
API Level = 27
Revision = 1
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs = x86
Path = /Users/designbee/Library/Android/sdk/platforms/android-27
8) android-28
Name = Android 9
API Level = 28
Revision = 1
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs =
Path = /Users/designbee/Library/Android/sdk/platforms/android-28
9) android-29
Name = Android 10 (not supported by Titanium SDK 8.0.0.GA, but may work)
API Level = 29
Revision = 1
Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
ABIs =
Path = /Users/designbee/Library/Android/sdk/platforms/android-29

Android Add-Ons
None

Android Emulators
Nexus 4 API 23
ID = Nexus_4_API_23
SDK Version = Android 6.0 (API level 23)
ABI = x86
Skin = nexus_4
Path = /Users/designbee/.android/avd/Nexus_4_API_23.avd
SD Card = /Users/designbee/.android/avd/Nexus_4_API_23.avd/sdcard.img
Google APIs = yes
Pixel 2 API 27
ID = Pixel_2_API_27
SDK Version = Android 8.1.0 (API level 27)
ABI = x86
Skin = pixel_2
Path = /Users/designbee/.android/avd/Pixel_2_API_27.avd
SD Card = /Users/designbee/.android/avd/Pixel_2_API_27.avd/sdcard.img
Google APIs = no

Genymotion Emulators
None

Connected Android Devices
None

Xcode
10.2.1 (build 10E1001) - Xcode default
Install Location = /Applications/Xcode.app/Contents/Developer
iOS SDKs = 12.2
iOS Simulators = 12.2
Watch SDKs = 5.2
Watch Simulators = 5.2
Supported by TiSDK 8.0.0.GA = yes
EULA Accepted = yes
Teams = none

iOS Keychains
login.keychain-db = /Users/designbee/Library/Keychains/login.keychain-db
System.keychain = /Library/Keychains/System.keychain

iOS Development Certificates
None

iOS App Store Distribution Certificates
None

Apple WWDR Certificate
Apple WWDR = installed

Development iOS Provisioning Profiles
None

App Store Distribution iOS Provisioning Profiles
None

Ad Hoc iOS Provisioning Profiles
None

Enterprise Ad Hoc iOS Provisioning Profiles
None

iOS Simulators
11.4
iPad Air (ipad)
UDID = FE30B24F-6BB9-4D2E-B0C3-E080D6EC1D2A
Supports Watch Apps = no
iPad Air 2 (ipad)
UDID = A1E9B240-F6FA-46EF-8DAC-FACF86133D5A
Supports Watch Apps = no
iPad (5th generation) (ipad)
UDID = 5E1EF611-0E7F-4A3B-80AA-202F007F1867
Supports Watch Apps = no
iPad Pro (9.7-inch) (ipad)
UDID = 34755173-9E9D-4393-B8FB-412D76A63B1C
Supports Watch Apps = no
iPad Pro (12.9-inch) (ipad)
UDID = F7366C49-4D28-423F-9570-084C2019A031
Supports Watch Apps = no
iPad Pro (12.9-inch) (2nd generation) (ipad)
UDID = 5614E66D-0DEA-4A09-9517-C66FC9A744A2
Supports Watch Apps = no
iPad Pro (10.5-inch) (ipad)
UDID = 8288A0FC-0711-4BD4-9D76-5918DADB8D29
Supports Watch Apps = no
iPhone 8 (iphone)
UDID = F922EDEB-77A0-4AF5-9758-D65FC3DDF9A4
Supports Watch Apps = yes
iPhone 8 Plus (iphone)
UDID = 7F818C69-63A2-4933-9E85-92E7E39A4C75
Supports Watch Apps = yes
iPhone X (iphone)
UDID = 148CADFC-A6AD-44B3-82E3-6DD9A96C1570
Supports Watch Apps = yes
iPhone 5s (iphone)
UDID = 455B45F1-E701-4FD3-BB54-B8483F18F66D
Supports Watch Apps = yes
iPhone 6 Plus (iphone)
UDID = 8F5E1690-ADF0-4077-B17E-65BE70AA8F17
Supports Watch Apps = yes
iPhone 6 (iphone)
UDID = D5CD717B-9E85-41CA-9886-FBC9AD8371D5
Supports Watch Apps = yes
iPhone 6s (iphone)
UDID = ADB19013-2CAB-4978-A546-E38BEA7B840C
Supports Watch Apps = yes
iPhone 6s Plus (iphone)
UDID = 6D696FDF-C0E3-4648-A2F2-CC7395B72645
Supports Watch Apps = yes
iPhone SE (iphone)
UDID = 262C2FD9-72E3-4D42-8539-1335CC066F96
Supports Watch Apps = yes
iPhone 7 (iphone)
UDID = FA749D64-0E29-42A5-BC41-1BA36218C958
Supports Watch Apps = yes
iPhone 7 Plus (iphone)
UDID = CCF43719-6923-475B-8D71-A6E60D25EA35
Supports Watch Apps = yes

12.2
iPad Air (3rd generation) (ipad)
UDID = 574C2384-25E5-4908-9ECB-13B3CE2FDAD7
Supports Watch Apps = no
iPad Air (ipad)
UDID = FEC98851-2059-49CA-ACFF-53B1C0A9F885
Supports Watch Apps = no
iPad Air 2 (ipad)
UDID = B2CE9C5D-A482-47E3-92FC-6E7D8BB3CCEB
Supports Watch Apps = no
iPad (5th generation) (ipad)
UDID = 326BBB80-DBBD-4FAE-95BE-411DF19570F4
Supports Watch Apps = no
iPad Pro (9.7-inch) (ipad)
UDID = 8A94D703-C119-468F-92BB-6291B965F612
Supports Watch Apps = no
iPad Pro (12.9-inch) (ipad)
UDID = 7840ABC3-298C-4F7F-A117-9BA6872700AC
Supports Watch Apps = no
iPad Pro (12.9-inch) (2nd generation) (ipad)
UDID = CDB1E905-5DF7-43F0-A11B-277852C2D628
Supports Watch Apps = no
iPad Pro (10.5-inch) (ipad)
UDID = 7D37AE8B-9142-402E-85FE-86F3B7EB4562
Supports Watch Apps = no
iPad (6th generation) (ipad)
UDID = B0E08123-6AC7-4F22-9EEE-D60FC6A2293B
Supports Watch Apps = no
iPad Pro (11-inch) (ipad)
UDID = 62EBC7CE-29EC-46F7-8454-D20A9343C1FD
Supports Watch Apps = no
iPad Pro (12.9-inch) (3rd generation) (ipad)
UDID = F29299CD-4ADB-4286-9A36-4EA0B3F8BE38
Supports Watch Apps = no
iPhone 8 (iphone)
UDID = ECF28DF4-B15D-4055-9E61-83FFEFBEC70D
Supports Watch Apps = yes
iPhone 8 Plus (iphone)
UDID = 01C12798-E252-47AA-97E8-EBE17CE80963
Supports Watch Apps = yes
iPhone X (iphone)
UDID = 328EA9D6-B598-4BE8-9808-5F3869DCEBE1
Supports Watch Apps = yes
iPhone Xs (iphone)
UDID = DAFAD514-2AE5-4CD0-B61C-AFB18C7F43AD
Supports Watch Apps = yes
iPhone Xs Max (iphone)
UDID = 3C0BEE43-4873-4BC0-8AE2-815DF2CD68AA
Supports Watch Apps = yes
iPhone Xʀ (iphone)
UDID = C917841E-FFFD-4782-93EF-3F37E0EC1BC7
Supports Watch Apps = yes
iPhone 5s (iphone)
UDID = FEA8787C-68E4-4BB2-90CC-03197DB339E6
Supports Watch Apps = yes
iPhone 6 Plus (iphone)
UDID = BFFE75F2-FF14-45A4-B0C2-0CD4791568C1
Supports Watch Apps = yes
iPhone 6 (iphone)
UDID = 7FADEADA-BC25-4E35-B944-397D6D4B557E
Supports Watch Apps = yes
iPhone 6s (iphone)
UDID = 775CFC7E-5F0E-4A87-9BFE-C65B6F78373D
Supports Watch Apps = yes
iPhone 6s Plus (iphone)
UDID = 490AC88D-AAA5-4365-A0D2-8C07CC6E11DE
Supports Watch Apps = yes
iPhone SE (iphone)
UDID = 5056D8F0-8483-49FF-BF29-4E1C33A60733
Supports Watch Apps = yes
iPhone 7 (iphone)
UDID = B4825C08-A906-472D-AD1F-16740BC4A6A8
Supports Watch Apps = yes
iPhone 7 Plus (iphone)
UDID = B4C55280-7F45-4F56-BEAA-8C7097194D97
Supports Watch Apps = yes

WatchOS Simulators
5.2
Apple Watch Series 2 - 38mm (watch)
UDID = 4B361CB5-83DB-4257-BBA1-309D7EDBB582
Apple Watch Series 2 - 42mm (watch)
UDID = D5EF7B25-CE1D-44E3-B5CD-822CB86922EF
Apple Watch Series 3 - 38mm (watch)
UDID = 8C62712B-B8B6-47A0-ADDC-DB4688086D9A
Apple Watch Series 3 - 42mm (watch)
UDID = F7C2090F-E672-4AD3-8694-9A8B86A67AD5
Apple Watch Series 4 - 40mm (watch)
UDID = AE3F43E6-033A-46EC-86C0-A74A480A791A
Apple Watch Series 4 - 44mm (watch)
UDID = 7752FAB2-D241-4018-A407-F243ECA73BD6

Connected iOS Devices
None

Android Issues
! Unable to locate an Android NDK.
Without the NDK, you will not be able to build native Android Titanium modules.
If you have already downloaded and installed the Android NDK, you can tell Titanium where the
Android NDK is located by running 'appc titanium config android.ndkPath /path/to/android-ndk',
otherwise you can install it by running 'appc titanium setup android' or manually downloading
from http://appcelerator.com/android-ndk.

! Android API Android 5.0.1 (android-21) is too old and is no longer supported by Titanium SDK
8.0.0.
The minimum supported Android API level by Titanium SDK 8.0.0 is API level 23.

! Android API Android 5.1.1 (android-22) is too old and is no longer supported by Titanium SDK
8.0.0.
The minimum supported Android API level by Titanium SDK 8.0.0 is API level 23.

! Android API Android 10 (android-29) is too new and may or may not work with Titanium SDK 8.0.0.
The maximum supported Android API level by Titanium SDK 8.0.0 is API level 28.

iOS Issues
! Unable to find any valid iOS development provisioning profiles.
This will prevent you from building apps for testing on iOS devices.
You will need to log in to http://appcelerator.com/ios-dev-certs with your Apple Developer
account, then create, download, and install a profile.

! Unable to find any valid iOS adhoc provisioning profiles.
This will prevent you from packaging apps for adhoc distribution.
You will need to log in to http://appcelerator.com/ios-dist-certs with your Apple Developer
account, then create, download, and install a profile.

! Unable to find any valid iOS distribution provisioning profiles.
This will prevent you from packaging apps for AppStore distribution.
You will need to log in to http://appcelerator.com/ios-dist-certs with your Apple Developer
account, then create, download, and install a profile.

! Unable to find any valid iOS developer certificates.
This will prevent you from building apps for iOS devices.
You will need to log in to http://appcelerator.com/ios-dev-certs with your Apple Developer
account, then create, download, and install a certificate.

! Unable to find any valid iOS production distribution certificates.
This will prevent you from packaging apps for distribution.
You will need to log in to http://appcelerator.com/ios-dist-certs with your Apple Developer
account, then create, download, and install a certificate.

最佳答案

我仍然希望原始问题得到解决( ERROR: Simulator not available )但是 the answer from DaveS helped me get to where I could load it on the simulator .

appc 构建后, 正确构建 .app文件在 myproject/build/iphone/build/Products/Debug-iphonesimulator然后我可以将该文件拖放到模拟器中(或者可能使用 Dave 的答案中的命令但尚未尝试)并且该应用程序在我的设备上正常运行。

Related/Current Ticket

关于ios - 模拟器不可用 appcelerator studio,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58058931/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com