Error code 65 for command when running via cordova cli
See original GitHub issueI get the following error when trying to use cordova run ios
from the cli. If I open the project in xcode it runs just fine, but it’s more convenient to use cordova with my current build scripts.
CompileC /Users/joshua/Library/Developer/Xcode/DerivedData/Skritter-efbrufplvphvojffkmyofkuepxlu/Build/Intermediates.noindex/ArchiveIntermediates/Skritter/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/FirebaseCore.build/Objects-normal/armv7/FIRNetwork.o FirebaseCore/Firebase/Core/FIRNetwork.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(node:99132) UnhandledPromiseRejectionWarning: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/joshua/Github/skritter/skritter-mobile-v3/cordova/ja/platforms/ios/cordova/build-debug.xcconfig,-workspace,Skritter.xcworkspace,-scheme,Skritter,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,Skritter.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/joshua/Github/skritter/skritter-mobile-v3/cordova/ja/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/joshua/Github/skritter/skritter-mobile-v3/cordova/ja/platforms/ios/build/sharedpch,EMBEDDED_CONTENT_CONTAINS_SWIFT = YES,ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO,LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"
(node:99132) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:99132) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
It looks like it’s related to https://github.com/chemerisuk/cordova-plugin-firebase-analytics/issues/39 which is closed.
Any thoughts?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:19 (1 by maintainers)
Top Results From Across the Web
cordova run with ios error .. Error code 65 for command
I fixed it by opening the projectName.xcodeproj file in Xcode and then adjusting these 2 settings : In Targets > General > Signing...
Read more >Error 65 with cordova cli 9 - Appflow - Ionic Forum
I've been trying to update my project to match all the versions on AppFlow and I think I'm close but I'm getting an...
Read more >[Solved]-cordova run with ios error .. Error code 65 for command
Open platforms/ios on XCode · Find & Replace io.ionic.starter in all files for a unique identifier · Click the project to open settings...
Read more >Troubleshooting Your Ionic App - Educative.io
If you're trying to run an iOS Cordova build process using the Ionic CLI and are ... Error: Error code 65 for command:...
Read more >ionic build ios error ionic cordova build ios | Edureka Community
When i run "ionic cordova build ios" get error below in terminal: The ... x86_64 (1 failure) Error: Error code 65 for command:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@newuser44 What I finally got working (sort of) is:
Install
cordova-plugin-firebase-analytics
Install
cordova-plugin-cocoapod-support
Install
cordova-plugin-ios-frameworks
(only needed to include the AdSupport.framework for iOS)(if you want to just use AdSupport.framework, then fork this plugin and remove the other frameworks it tries to add)Add preference to iOS
platform
element (this may not be needed): <preference name="deployment-target" value="8.0" />Make sure Cocoa Pods is installed and setup on your machine
Delete
/platforms
and/plugins
folderscordova prepare
cordova prepare
cd platforms/ios
pod install
Now build you cordova project (don’t worry if there are errors)
Now open
.xcworkspace
inplatforms/ios
Run the code
@newuser44 The problem with that one is that you must then implement and register for push notifications. Also, that plugin is not compatible with Crashlytics, which will be required for crash reporting on September 8th.