簡體   English   中英

IONIC 4:“ ionic cordova build ios”不顯示使用Xcode 10.1構建失敗或成功

[英]IONIC 4 : ‘ionic cordova build ios’ doesn’t show fail or success build with Xcode 10.1

我正在嘗試使用'ionic cordova build ios'用Xcode 10.1構建Ionic 4 iOS構建。 但是它沒有顯示任何成功或失敗的消息並以以下狀態結尾。

cordova build ios
Building project : /Users/testuser/Desktop/testproj/platforms/ios/testproj.xcodeproj
Configuration : Debug
Platform : emulator
Build settings from command line:
ARCHS = i386
CONFIGURATION_BUILD_DIR = /Users/testuser/Desktop/testproj/platforms/ios/build/emulator
SDKROOT = iphonesimulator12.1
SHARED_PRECOMPS_DIR = /Users/testuser/Desktop/testproj/platforms/ios/build/sharedpch
VALID_ARCHS = i386

Build settings from configuration file ‘/Users/testuser/Desktop/testproj/platforms/ios/cordova/build-debug.xcconfig’:
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
CODE_SIGN_IDENTITY = iPhone Developer
ENABLE_BITCODE = NO
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1
HEADER_SEARCH_PATHS = “(TARGET_BUILD_DIR)/usr/local/lib/include" "(OBJROOT)/UninstalledProducts/include” “(OBJROOT)/UninstalledProducts/(PLATFORM_NAME)/include” "(BUILT_PRODUCTS_DIR)" IPHONEOS_DEPLOYMENT_TARGET = 8.0 OTHER_LDFLAGS = -ObjC SWIFT_OBJC_BRIDGING_HEADER = (PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h
TARGETED_DEVICE_FAMILY = 1,2

離子信息:

ionic (Ionic CLI) : 4.12.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.4.0
@angular-devkit/build-angular : 0.12.4
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.2.4
@ionic/angular-toolkit : 1.3.0

Cordova:

cordova (Cordova CLI) : 6.5.0
Cordova Platforms : ios 4.0.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 29 other plugins)

System:

ios-deploy : 2.0.0
NodeJS : v10.15.3 (/usr/local/bin/node)
npm : 6.9.0
OS : macOS High Sierra
Xcode : Xcode 10.1 Build version 10B61

它沒有創建testproj.xcworkspace,所以我無法構建.ipa文件。 如果需要工作區,那我該怎么辦呢?

有人可以讓我知道如何使用Xcode 10.1在Ionic 4中創建.ipa文件嗎?

很高興您的問題得到回答。 看來您的ios platform可能有問題。 很高興能夠為您提供幫助。 還有更多的細節在這里

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM