Xcode更新后,离子IOS构建失败

时间:2018-10-07 16:30:40

标签: ios xcode ionic-framework ionic3 cocoapods

我在Ionic 3 Application中工作,并且没有任何问题。我必须更新XCode,更新后,我停止了应用程序的工作。

我还必须更新操作系统。同样,在阅读论坛时,我更新了Ionic和Cordova。但是不知道有什么问题。下面是跟踪。

命令*ionic cordova build ios --vebrose*

日志

ionic-app-scripts build --target cordova --platform ios
[21:43:03]  ionic-app-scripts 3.1.8 
[21:43:03]  build dev started ... 
[21:43:03]  clean started ... 
[21:43:03]  clean finished in 10 ms 
[21:43:03]  copy started ... 
[21:43:03]  deeplinks started ... 
[21:43:03]  deeplinks finished in 318 ms 
[21:43:03]  transpile started ... 
[21:43:08]  transpile finished in 5.40 s 
[21:43:08]  preprocess started ... 
[21:43:08]  preprocess finished in 1 ms 
[21:43:08]  webpack started ... 
[21:43:09]  copy finished in 5.90 s 
[21:43:15]  webpack finished in 6.05 s 
[21:43:15]  sass started ... 
Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.
[21:43:16]  sass finished in 1.64 s 
[21:43:16]  postprocess started ... 
[21:43:16]  postprocess finished in 14 ms 
[21:43:16]  lint started ... 
[21:43:16]  build dev finished in 13.58 s 
[21:43:21]  lint finished in 4.68 s 
> cordova build ios
Building for iPhone XS Max Simulator
Building project: /Users/ustuser/Documents/c2mobileV2-WB/c2mobile/platforms/ios/c2mobile.xcworkspace
    Configuration: Debug
    Platform: emulator
Build settings from command line:
    CONFIGURATION_BUILD_DIR = /Users/ustuser/Documents/c2mobileV2-WB/c2mobile/platforms/ios/build/emulator
    SDKROOT = iphonesimulator12.0
    SHARED_PRECOMPS_DIR = /Users/ustuser/Documents/c2mobileV2-WB/c2mobile/platforms/ios/build/sharedpch

Build settings from configuration file '/Users/ustuser/Documents/c2mobileV2-WB/c2mobile/platforms/ios/cordova/build-debug.xcconfig':
    CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
    CODE_SIGN_ENTITLEMENTS = $(PROJECT_DIR)/$(PROJECT_NAME)/Entitlements-$(CONFIGURATION).plist
    CODE_SIGN_IDENTITY = iPhone Developer
    ENABLE_BITCODE = NO
    GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
    HEADER_SEARCH_PATHS = "$(TARGET_BUILD_DIR)/usr/local/lib/include" "$(OBJROOT)/UninstalledProducts/include" "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include" "$(BUILT_PRODUCTS_DIR)"
    LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
    OTHER_LDFLAGS = -ObjC
    PODS_BUILD_DIR = ${BUILD_DIR}
    PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
    PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
    PODS_ROOT = ${SRCROOT}/Pods
    SWIFT_OBJC_BRIDGING_HEADER = $(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h

还阅读论坛,我安装了CocoaPods。还在platform / ios内部执行了以下命令

pod disintegrate
pod install
pod init

下面是我的环境详细信息。

OS version - macOS High Sierra, Version 10.13.6
XCode version - Version 10.0 (10A255)
Ionic CLI version - 4.2.1
Cordova version - 8.1.1
NPM version - 5.6.0
Node version - 8.11.1
Angular CLI version - 6.2.4

0 个答案:

没有答案
相关问题