question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error code 65 for command when running via cordova cli

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:19 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
hvaughan3commented, Jul 19, 2018

@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 folders

  • cordova prepare

    • This will finish saying 0 pods installed
  • cordova prepare

    • This will finish saying X number of pods installed
  • cd platforms/ios

  • pod install

    • For some reason the pods do not actually get installed… I gave up trying to think through this logically
  • Now build you cordova project (don’t worry if there are errors)

  • Now open .xcworkspace in platforms/ios

  • Run the code

1reaction
hvaughan3commented, Jul 19, 2018

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found