I followed the steps in the example to build the iOS APP.
But when I run this line I got error. But I can still build the it from xcode.
xcode version: 10.1
MacOS: 10.14.2
Cordova: 8.1.2
Error messages as below:
Building project: /Users/dong/repos/nodejs-mobile-samples/cordova-angularjs/cordova/ExampleCordovaAngular/platforms/ios/HelloCordova.xcworkspace
Building project: /Users/dong/repos/nodejs-mobile-samples/cordova-angularjs/cordova/ExampleCordovaAngular/platforms/ios/HelloCordova.xcworkspace
Configuration: Debug
Configuration: Debug
Configuration: Debug
Platform: device
Platform: device
Platform: device
User defaults from command line:
IDEArchivePathOverride = /Users/dong/repos/nodejs-mobile-samples/cordova-angularjs/cordova/ExampleCordovaAngular/platforms/ios/HelloCordova.xcarchive
Build settings from command line:
CONFIGURATION_BUILD_DIR = /Users/dong/repos/nodejs-mobile-samples/cordova-angularjs/cordova/ExampleCordovaAngular/platforms/ios/build/device
SHARED_PRECOMPS_DIR = /Users/dong/repos/nodejs-mobile-samples/cordova-angularjs/cordova/ExampleCordovaAngular/platforms/ios/build/sharedpch
Build settings from configuration file '/Users/dong/repos/nodejs-mobile-samples/cordova-angularjs/cordova/ExampleCordovaAngular/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
error: archive not found at path '/Users/dong/repos/nodejs-mobile-samples/cordova-angularjs/cordova/ExampleCordovaAngular/platforms/ios/HelloCordova.xcarchive'
** EXPORT FAILED **
Error
at cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:30:15)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)```
I followed the steps in the example to build the iOS APP. But when I run this line I got error. But I can still build the it from xcode. xcode version: 10.1 MacOS: 10.14.2 Cordova: 8.1.2 Error messages as below: