Questions tagged [podfile]

The Podfile is a specification that describes the dependencies of the targets of one or more Xcode projects. The file should simply be named Podfile.

A pod file is used with CocoaPod and CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects.

370 questions
0
votes
1 answer

React Native iOS - I get addNetworkingHandler and NetInfo invariant violation errors after installing Firebase pods. How do I fix them?

After adding the podfile and installing Firebase I get this errors: addNetworkingHandler on target BlobMdule with params() requiring module "node_modules/react-native/libraries/network/netinfo.js" which threw an exception: invariant violation:…
Kubwimana Adrien
  • 2,463
  • 2
  • 8
  • 11
0
votes
0 answers

Possible to run command like "pod install" or "Pod::Command::Install.run" while developing a pre-hook cocoapods plugin?

I am creating a cocoapods plugin to seamlessly integrate flutter into an existing iOS project without polluting the main project. The cocoapods plugin will be applied to the main project Podfile and will run this ruby file from the flutter…
kerry
  • 2,362
  • 20
  • 33
0
votes
1 answer

how can I use facebook sdk swift 4.1 branch for ios

I need to Use FaceBook Sdk Swift 4.1 Branch pod 'FBSDKCoreKit', :git => 'https://github.com/facebook/facebook-swift-sdk.git' :branch => 'swift-4.1' pod 'FBSDKLoginKit', :git => 'https://github.com/facebook/facebook-swift-sdk.git' :branch =>…
0
votes
1 answer

Is it possible to install only components of Material that we use?

In my iOS project, in a Podfile, I have something like this: pod 'Material', '~> 2.16' But for now, I use only TextField component. Is there a way to instal it only, with all its features ?
Whirlwind
  • 14,286
  • 11
  • 68
  • 157
0
votes
1 answer

build fail xcode 10 error : symbol(s) not found for architecture x86_64 using Cocoapods ( with screen and config )

i'm new to xcode and cocoapods, i try to run my app ((Using angular & ionic)My app worked fine before adding cocoapods ) to implement push notification with FCM and my build fail with the error message below, i've searched a lot on google and here…
Vincent
  • 81
  • 1
  • 7
0
votes
1 answer

Error when adding OneSignal Plugin to Flutter Project

I'm trying to add OneSignal to my flutter project and I followed this tutorial https://documentation.onesignal.com/v5.0/docs/flutter-sdk-setup but when I run pod install it shows error message like below !] Invalid `Podfile` file: undefined local…
esthrim
  • 1,790
  • 8
  • 28
  • 42
0
votes
1 answer

Pod Init with default option set to OSX & not IOS for CocoaPods in Swift using Xcode?

I closed my Xcode project & went into the project directory & typed pod init And it made a Podfile like # Uncomment the next line to define a global platform for your project # platform :ios, '9.0' target 'Test1' do # Comment the next line if…
deadcoder0904
  • 7,232
  • 12
  • 66
  • 163
0
votes
1 answer

Pod install error within terminal

Pod File this error [!] Invalid Podfile file: undefined method `Pod' for # Did you mean? pod. is occuring when I am trying to pod install. In my pod file i have just added 'SwiftKeychainWrapper' This is a terminal error with cocoapods, also an…
Jogrammin
  • 13
  • 4
0
votes
0 answers

Cannot load module 'swiftyjson' as 'SwiftyJSON'

I install whatever pods it cannot run. It shows one error: Cannot load module swiftyjson as SwiftyJSON How do I fix it?
Solairaj
  • 119
  • 2
  • 3
0
votes
1 answer

What changes need to make after changing deployment target in iOS app

I am working on an iOS project. This project has been implemented in Swift with some pods (Frameworks) included in the project. Recently a requirement has come to change Deployment Target from iOS 8.0 to 9.0, I changed it and built the app. The app…
shubham mishra
  • 1,183
  • 14
  • 21
0
votes
1 answer

POD FILE INSTALL OPTIONS

Terminal NEW TRY cocoapods was already installed on computer, but I figured I'd try again. attached is the newest image of my terminal, still showing same problem. I'm running iOS High Sierra \ Version 10.13.5. So sometimes when I install podfile…
0
votes
1 answer

How to remove podspecs completely from Xcode and repo?

I've a project with huge codebase and it has 4 different target Apps. Now there are many of views, models and controllers are common for all 4 target apps. So those common files, classes and image assets are placed in central folder and that folder…
BARS
  • 629
  • 1
  • 6
  • 18
0
votes
1 answer

Adding cocoapods into my PodFile

I am working on an app, which requires cocoapods. In the manual of this app is written Add this to your Podfile: pod 'SwiftSocket' And run then pod install But when I make a pod file using pod init into my folder and then open -a Xcode Podfile…
Josef
  • 33
  • 9
0
votes
1 answer

How do I add new Headers to Flutter plugin iOS project?

I'm working on a Flutter plugin on the iOS side. Initially the generated code for the plugin includes: MyPlugin.h MyPlugin.m I have added a new class in the same directory as the plugin source files: MyClass.h MyClass.m When I include MyClass.h…
SuperDeclarative
  • 1,609
  • 4
  • 18
  • 32
0
votes
0 answers

getting this error after creating podfiles for firebase clang: error: linker command failed with exit code 1 (use -v to see invocation):

I have just made a podfile for firebase in my app however I am getting this error and the podfile has everything in it. It is telling me Error Message: Showing Recent Errors Only ld: framework not found GoogleToolboxForMac clang: error: linker…
Bran
  • 151
  • 2
  • 11