Кордова не запускать xcodebuild - PullRequest
       9

Кордова не запускать xcodebuild

0 голосов
/ 25 сентября 2018
macmini:iosprj jevian$ cordova build ios
Building for iPhone XS Max Simulator
Building project: /Users/jevian/iosprj/platforms/ios/HelloCordova.xcworkspace
        Configuration: Debug
        Platform: emulator
Build settings from command line:
    CONFIGURATION_BUILD_DIR = /Users/jevian/iosprj/platforms/ios/build/emulator
    SDKROOT = iphonesimulator12.0
    SHARED_PRECOMPS_DIR = /Users/jevian/iosprj/platforms/ios/build/sharedpch

Build settings from configuration file '/Users/jevian/iosprj/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 = DEBUG=1
    HEADER_SEARCH_PATHS = "$(TARGET_BUILD_DIR)/usr/local/lib/include" "$(OBJROOT)/UninstalledProducts/include" "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include" "$(BUILT_PRODUCTS_DIR)"
    OTHER_LDFLAGS = -ObjC
    SWIFT_OBJC_BRIDGING_HEADER = $(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h

macmini:iosprj jevian$

это мой весь журнал, нет сообщения об ошибке, ошибка Cordova не запускать xcodebuild, не создавать архив.

Мой Mac OS 10.13.6

Cordova версияэто 8.0.0

и установите ios@~4.5.5

xcode версия Xcode 10.0 Версия сборки 10A255

1 Ответ

0 голосов
/ 25 сентября 2018

Я знаю причину этой проблемы и нахожу решение.посмотрите это: https://github.com/apache/cordova-ios/issues/407

A few issues have started to come in regarding the state of Cordova projects on Xcode 10. This is a rough summary of the situation:

Xcode 10 uses a new build system by default (previously available on an opt-in basis in Xcode 9). The cordova-ios project structure is not compatible with this new build system and results in failures.
Officially, we do not claim to support Xcode 10.
...