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
2
votes
3 answers

Flutter Error : Swift Compiler Error (Xcode): Include of non-modular header inside framework module 'FirebaseSessions.FIRSESNanoPBHelpers':

Error it shows this error message when running flutter on IOS 14 Swift Compiler Error (Xcode): Include of non-modular header inside framework module 'FirebaseSessions.FIRSESNanoPBHelpers': …
Koya
  • 31
  • 4
2
votes
1 answer

How to handle "header file not found" for a podfile library? ('XYZ.h' file not found) - In Xcode

I already had installed my pod files and they were working fine, but after pulling from orignin/main this error showed up. And I also had put all the pod files and their related files to .gitignore so I'm not sure whether the pulling caused this…
Azhman Adam
  • 109
  • 1
  • 4
2
votes
1 answer

React Native - Error during post install hook for Podfile

I am brand new to iOS React Native apps, so this may be a super simple fix, but after the version of React Native has been upgraded, the Podfile shown below is crashing with the error below. The error is undefined method 'real_path' for…
Mike Upjohn
  • 1,251
  • 2
  • 16
  • 38
2
votes
0 answers

Why can't I build a Flutter project for iOS with transitive dependencies and statically linked binaries, yet other project with same setup works fine?

I've got 2 Flutter projects, with the same: Podfile pubspec.yaml dependency list Flutter version 3.3.7 One compiles, the other doesn't with the error: - Running pre install hooks [!] The 'Pods-Runner' target has transitive dependencies that…
Dave
  • 5,283
  • 7
  • 44
  • 66
2
votes
0 answers

Invalid Podfile file: "react-native-community/cli" type of error

I am failing to install iOS dependencies using pod install annd after pressing enter button to run pod install. Node Version: v16.16.0 NPM Version: 8.11.0 Working Process which I followed: First way to install pod: Firstly install npm then…
Imdadul Haque
  • 1,635
  • 5
  • 23
  • 44
2
votes
0 answers

Remotely install react native pods ios podFile instead of require_relative

I want to use React Native Pods into one of my iOS Apps which is built using Swift. I have bundled my React Native components into ios-main.jsbundle. I am consuming the routes as shown below: class ContentViewController: UIViewController { …
Shivam Sahil
  • 4,055
  • 3
  • 31
  • 62
2
votes
1 answer

Resolving CocoaPods child dependency conflict

CocoaPods keeps complaining about two dependencies requiring conflicting versions of Protobuf: [!] CocoaPods could not find compatible versions for pod "Protobuf": In Podfile: flutter_blue (from `.symlinks/plugins/flutter_blue/ios`) was…
kevmo314
  • 4,223
  • 4
  • 32
  • 43
2
votes
1 answer

Flutter Podfile not created correctly

I created a new flutter project. This is my pubspec.yaml file: name: app_name description: App Name version: 1.0.0+1 environment: sdk: ">=2.16.1 <3.0.0" dependencies: flutter: sdk: flutter flutter_bloc: ^7.3.1 flutter_localizations: …
Apri
  • 1,241
  • 1
  • 8
  • 33
2
votes
1 answer

No such Module 'Flutter' : Xcode 13

I am trying to run my app on iphone device and constantly running into this error. I followed some answer to this error on stenter code hereack like removing the pod file and recreating it. Pasting the podfile for better…
Aman Mishra
  • 91
  • 1
  • 8
2
votes
5 answers

Flutter: Error "The 'Pods-Runner' target has frameworks with conflicting names" after upgraded flutter version

I cannot run my code on my own iPhone, after I upgraded my flutter project from 2.23 to 2.8 and updated all the packages, this is a project that I worked on a few months ago, and now there is a new version of flutter, so I thought it would be better…
2
votes
1 answer

React Native Exclude ARM64 Architecture on M1 Machines

I have a question about excluding the arm64 architectures when building for iOS Simulators on m1 machines using React Native. I have successfully excluded arm64 from general project and pods by adding 'arm64' in every box with Excluded…
denistepp
  • 489
  • 7
  • 23
2
votes
1 answer

Not able to install cocoapods in Macbook air M1 and every time pod file is missing while creating flutter project

when I create any flutter project cocoapods error I am getting. [Warning: CocoaPods not installed. Skipping pod install. CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart…
Raghib Sultan
  • 21
  • 1
  • 2
2
votes
0 answers

Error while installing Cocoapods: [!] Invalid `Podfile` file: undefined local variable or method `cocoapods' for #

I am installing cocoapods for a udemy course. Im new to terminal and new to iOS development. I do not have native react installed and many of the answers online seem to refer to that program. Cocoapods initiated but won't install after setting the…
2
votes
0 answers

How to proxy ios dependencies which are stored in gitlab via nexus proxy

we are working on ios project and we have kept our internal libraries in our private gitlab . Instead of directly pulling those libraries from gitlab we want to proxy it via nexus. I have created a proxy repository in nexus and added that nexus…
afsar
  • 21
  • 1
2
votes
0 answers

Xcode 'No such module GoogleSignIn'

I don't know why I keep getting this error so frequently, is there a way to stop it? What's causing this? I always get to solve it by following this steps though: Clean build folder and close Xcode. Run pod deintegrate in terminal inside my…
Savvy
  • 489
  • 4
  • 16