Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when to run cordova build ios --device #13

Closed
nobody4t opened this issue Dec 14, 2018 · 1 comment
Closed

Error when to run cordova build ios --device #13

nobody4t opened this issue Dec 14, 2018 · 1 comment

Comments

@nobody4t
Copy link

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)```
@nobody4t
Copy link
Author

The answers is here. cordova does not support xcode 10.0 well.
https://stackoverflow.com/questions/52385600/ionic-ios-build-fails-error-archive-not-found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant