Corova build ios freezes after "install settings from configuration file"

After "cordova build ios" the command freezes (runs forever) in the terminal. The only thing I can do is stop it manually. if I remove the platform (rm ios corridor platform) and then add it again, it will be properly built to the end. but if I create an xcode project and make some changes to the code and try to create it again, it freezes. I am using cordova v 6.3.1 and xcode 8.0. These are the lines after which they hang:

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

sometimes I get a code signing error instead of freezing. I guess this is something about Xcode. Just started with a clean os installation (so a clean Xcode installation), and I suppose I missed some settings or something else?

+4
1

. - iCloud Drive. cordova " ", iCloud Drive. , iCloud Drive, , - , ;)

+8

Source: https://habr.com/ru/post/1658050/


All Articles