I'm adding OneSignal to my Ionic Cordova project, and following this guide. In section 3.16 it mentions the Platforms -> ios -> Pods folder, but this Pods folder doesn't exist. I know that to create the Pods folder you have to run pod install, but I've never done this in an Ionic Cordova project. Should I navigate to Platforms/ios and run pod install from there? The reason I ask is that even though in section 2.1 they mention npm install ionic-cordova-plugin, they never mention running pod install.
How to generate Pods folder when adding onesignal-cordova-plugin in Ionic Cordova project?
1.4k views Asked by gkeenley At
1
There are 1 answers
Related Questions in CORDOVA
- how to get rid of the cordova screen when you open the app
- How to build a codesandbox project to android apk?
- Cordova Android run failed
- Cordova Build issue since version 12.0.0
- cordova-background-geolocation-plugin don't giving any response in cordova android app
- provider duplicate while compiling a Cordova application for the Android platform
- Detect clickable areas within <img> tag in Ionic project
- Whitelisting Ionic app in Salesforce Org for CORS/CSP
- gradle keeps failing. Cordova run. Vscode
- Cordova plugin splashscreen issue while Azure Devops with ant build using android-cordova application
- Ionic 3 issue while generating AAB file
- Xcode Undefined symbols, Linker command failed with exit code 1 (use -v to see invocation)
- Xcode 15.3 build failed
- Samsung screen zoom ruining my cordova built android app
- command: ionic server Killed 9
Related Questions in IONIC-FRAMEWORK
- Firebase link existing user to anonymous account?
- Ionic Angular Standalone ion-icon are not showing at all
- Unable to run ionic app on Android emulator - [error] ADBs is unresponsive after 5000ms
- How should I filter Observables the "Right Way" with RxJs in Angular 17?
- Ionic/Capacitor: Background Location Tracking on iOS and Android?
- Best Approach for Implementing Video Selection from Gallery/Files in Ionic-React with Capacitor
- <video> tag with downloaded path in ionic ios not loads the video
- How do I record that this ionic checkbox has been checked by the user?
- Ionic 5 angular sharing a component between two modules
- mergeDebugResources FAILED
- Issue saving generated image to local filesystem in iOS using Capacitor
- Detect clickable areas within <img> tag in Ionic project
- Whitelisting Ionic app in Salesforce Org for CORS/CSP
- How to Polyfill node core modules in webpack 5 using ionic capacitor angular
- I'm developing an Android, but I can't see my "console.log" in logcat
Related Questions in COCOAPODS
- Module not found when building flutter app for IOS
- My project code not running in Xcode(15.3) but the same code running in Xcode 14.2 in swift how to fix in xcode 15.3?
- I can not install CocoaPods and any package from "Add package dependency"
- JSON::ParserError on trying to run Flutter Project on iOS
- Google Maps Flutter plugin for IOS: Undefined symbol
- Embed Flutter inside a cocoapod and use it in the main project
- SwiftUI App only install framework(SwiftUI) not it's dependency(SDK.framework)
- iOS build failed using Expo EAS build. How can i fix issues with <PBXResourcesBuildPhase UUID=...> and pods not being defining modules?
- Module 'cloud_firestore' not found - Flutter Xcode Build
- Firebase SDK 10+ - unable to install packages
- Ld ADDRESS normal (in target 'PROJECT_NAME' from project 'PROJECT_NAME') (1 failure)
- Error updating Flutter project: CocoaPods could not find compatible versions for pod "webview_flutter_wkwebview"
- Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set
- How to debug this Install Pods error on an EAS build for React Native Application
- Failed iOS Build with Expo on GitHub Actions: CocoaPod Error
Related Questions in POD-INSTALL
- pod install getting stuck grpc-core 1.49.1 on terminal macOs
- How does CocoaPods add files to a target when they're actually not added as a member of a target?
- pod install for imglyKit taking too long
- FlutterFlow Downloaded Code is giving error "ERROR RUNNING POD INSTALL"
- All pods files are not installed using 'pod install'
- I get this error while building my flutter app: Error running pod install flutter
- Error when running pod install on Flutter App
- Flutter Firebase Exception: Error running pod install
- pod install CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER
- I'm having trouble with Pod installation on Mac M2 problem
- Pod command not working after installation of cocoa pods
- Pod install is not working. It fails with some Ruby-related issue
- Facing error running pod install Flutter ios after changing ios platform specification in podfile
- 'cd ios' && 'pod install' or 'npx pod-install'
- I get an Error when I use pod-install in react native
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
This whole thing seems rather iffy, as generally, in Cordova projects, the
platformfolder should be under.gitignore. The entire guide consists of modifying files that should not be in your repository.That being said, in order to generate the
Podsfolder, cf. OneSignal's native iOS SDK guide.Podfileunderplatforms/iosPodfilefrom the link provided (change accordingly, e.g.'your_project_name':pod install