Hi! i have problem run on device with IONIC 4 , OSX Mojave and IOS 12
. With ionic serve works fin but " ionic rodova run ios -l" not.
Building project: /Applications/XAMPP/xamppfiles/htdocs/appvesti/platforms/ios/appvesti.xcworkspace
Configuration: Debug
Platform: device
User defaults from command line:
IDEArchivePathOverride = /Applications/XAMPP/xamppfiles/htdocs/appvesti/platforms/ios/appvesti.xcarchive
Build settings from command line:
CONFIGURATION_BUILD_DIR = /Applications/XAMPP/xamppfiles/htdocs/appvesti/platforms/ios/build/device
SHARED_PRECOMPS_DIR = /Applications/XAMPP/xamppfiles/htdocs/appvesti/platforms/ios/build/sharedpch
Build settings from configuration file '/Applications/XAMPP/xamppfiles/htdocs/appvesti/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 '/Applications/XAMPP/xamppfiles/htdocs/appvesti/platforms/ios/appvesti.xcarchive'
** EXPORT FAILED **
Error: Error code 65 for command: xcodebuild with args: -exportArchive,-archivePath,appvesti.xcarchive,-exportOptionsPlist,/Applications/XAMPP/xamppfiles/htdocs/appvesti/platforms/ios/exportOptions.plist,-exportPath,/Applications/XAMPP/xamppfiles/htdocs/appvesti/platforms/ios/build/device
Ionic:
ionic (Ionic CLI) : 4.0.1 (/Users/estebanrodriguez/.nvm/versions/node/v10.7.0/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.11
Cordova:
cordova (Cordova CLI) : 7.0.1
Cordova Platforms : ios 4.4.0
System:
ios-deploy : 2.0.0
ios-sim : 7.0.0
NodeJS : v10.7.0 (/Users/estebanrodriguez/.nvm/versions/node/v10.7.0/bin/node)
npm : 6.1.0
OS : macOS
Xcode : Xcode 10.0 Build version 10L213o
Environment:
ANDROID_HOME : /Applications/ANDROID_SDK
type or paste code here
Thanks!
Hello @Clickgraphics , I am having the same issue.
Please let me know if you found a solution!
I will do the same once I track down the problem.
Hi! Finally i needed downgrade osx to high sierra. With multiple intents i canāt run with mojave.
Regards!
I have exact the same setup and problem. But only in one of my project. So I donāt think it is a problem with Mojave
battard
September 21, 2018, 8:26am
5
Hi,
I have a same problem that you.
error: archive not found at path ā/Users/mac/MyIonicProject/platforms/ios/MyIonicProject.xcarchiveā
[cordova] ** EXPORT FAILED **
[cordova]
[cordova] (node:10224) UnhandledPromiseRejectionWarning: Error code 65 for command: xcodebuild.
I donāt understand this error.
I removed ionic and cordova then re install.
When I write :āionic serveā, it runs.
Have you an idea ?
Windows 10, I havenā t problem for android.
my config :
Macs-Mac:MyIonicProject mac$ ionic info
Gathering environment info - done!
Ionic:
ionic (Ionic CLI) : 4.1.2 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic /app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 2.1.4, (and 4 other plugins)
System:
ios-deploy : 2.0.0
NodeJS : v10.9.0 (/usr/local/Cellar/node/10.9.0/bin/node)
npm : 6.2.0
OS : macOS High Sierra
Xcode : Xcode 10.0 Build version 10A255
thanks
mkifia
September 23, 2018, 7:39am
6
I have the same issue after xcode and ionic upgrade .
my ionic info :
Ionic:
ionic (Ionic CLI) : 4.1.2 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic /app-scripts : 3.1.11
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 2.1.4, (and 5 other plugins)
System:
ios-deploy : 2.0.0
ios-sim : 7.0.0
NodeJS : v10.7.0 (/usr/local/Cellar/node/10.7.0/bin/node)
npm : 6.3.0
OS : macOS High Sierra
Xcode : Xcode 10.0 Build version 10A255
Hello !
Same issue after Xcode upgrade to v10.0. Is anybody found a solution ?
Ionic:
ionic (Ionic CLI) : 4.1.2 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.8
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : ios 4.5.5
Cordova Plugins : no whitelisted plugins (18 plugins total)
System:
ios-deploy : 1.9.2
ios-sim : 6.1.2
NodeJS : v8.9.4 (/usr/local/bin/node)
npm : 5.6.0
OS : macOS High Sierra
Xcode : Xcode 10.0 Build version 10A255
Hello,
Same issue for me! Please let me know if you find a solutionā¦
Ionic:
ionic (Ionic CLI) : 4.1.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic /app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 2.1.4, (and 4 other plugins)
System:
ios-deploy : 2.0.0
NodeJS : v10.8.0 (/usr/local/bin/node)
npm : 6.2.0
OS : macOS High Sierra
Xcode : Xcode 10.0 Build version 10L232m
Same error, after XCode updated to 10:
Build settings from configuration file '/Users/soporteti/Desktop/MovilApp/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/soporteti/Desktop/MovilApp/platforms/ios/MoĢvil.xcarchive'
** EXPORT FAILED **
CordovaError: Promise rejected with non-error: 'Error code 65 for command: xcodebuild with args: -exportArchive,-archivePath,MoĢvil.xcarchive,-exportOptionsPlist,/Users/soporteti/Desktop/MovilApp/platforms/ios/exportOptions.plist,-exportPath,/Users/soporteti/Desktop/MovilApp/platforms/ios/build/device'
at cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:29:15)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
[ERROR] An error occurred while running subprocess cordova.
My ionic info:
I already tried with⦠remove platform ios, remove plugins folder, update global dependecies, etc⦠nothing works
Ionic:
ionic (Ionic CLI) : 4.1.2 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.1.0
Cordova Platforms : android 7.1.1, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 1.1.1, (and 7 other plugins)
System:
ios-deploy : 2.0.0
NodeJS : v8.12.0 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS High Sierra
Xcode : Xcode 10.0 Build version 10A255
Thanks for any help.
Continuing the discussion from ErEXPORT FAILED :
Hey All,
Same Issue here after Xcode 10. Wasnāt able to build, but if you guys have Ionic Pro using Ionic Deploy they can still compile your build using Xcode 9 which worked fine for me. Unfortunately for those testing locally no work-around yet. Iām hoping there will be a fix soon!
Same error:
Ionic:
ionic (Ionic CLI) : 4.1.2 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic /app-scripts : 3.1.9
Cordova:
cordova (Cordova CLI) : 8.1.1 (cordova-lib@8.1.0)
Cordova Platforms : android 7.0.0, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.0.5, cordova-plugin-ionic-webview 2.0.3, (and 9 other plugins)
System:
ios-deploy : 1.9.2
NodeJS : v8.11.1 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS High Sierra
Xcode : Xcode 10.0 Build version 10A255
The solution is apply the flag: -- --buildFlag='-UseModernBuildSystem=0'
ionic cordova run ios --device -- --buildFlag='-UseModernBuildSystem=0'
4 Likes
zhark
October 1, 2018, 10:11pm
13
Yes, this resolves it for me, thanks!
Iād add that if you use Xcode to build directly, you also need to configure your Project settings to use the āLegacy Build Systemā per this SO post .
(node:15091) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: The platform āāā does not appear to have been added to this project.
1 Like
Sorry I dont write in code:
-- --buildFlag='-UseModernBuildSystem=0'
battard
October 11, 2018, 3:45pm
17
Hello,
I solved our problem of āxcarchiveā. A colleague (mac specialist) helped me.
itās a file permission problem and Iāve also created a developer user on Apple.
and it works.
sir i have got lot of error after generate build with above flag
: Error: Error code 65 for command: xcodebuild with args?