406 questions
19
votes
5
answers
19k
views
How to manually add a .xcframework to a Flutter iOS Plugin?
I'm trying to create a Flutter Plugin to use a native library.
This library I'm trying to use is stored in a private repository and can be used with Swift Dependency Manager.
This is causing me a ...
1
vote
0
answers
121
views
Bug in ruby interpreter
I am learning React Native and i want to implement google maps in my project. But when i update my podfile and run pod install. WebStorm gives me error as
You may have encountered a bug in the Ruby ...
0
votes
1
answer
400
views
Exclude Private Pods from Acknowledgements.plist
The CocoaPods Podfile for my iOS app uses a post_install hook to copy the generated Acknowledgements.plist file to my application's Settings bundle. However, the file contains (proprietary) private ...
0
votes
1
answer
319
views
Xcode Podfile.lock showing Visual Code Studio Logo?
Why in the world would my Podfile.lock file be showing a VS code Logo on it? see here
5
votes
1
answer
10k
views
React Native- Using Hermes with Flipper disabled on iOS
I'm having a hard time using Flipper. I commented it out in Podfile while hermes_enabled => true. I ran pod install agin and build the app but it crashed upon launch.
When I set Hermes to false,...
3
votes
0
answers
11k
views
Could not find 'minitest' (~> 5.1) among 42 total gem(s) (Gem::MissingSpecError)
I am new to using React Native and is currently trying to make a simple to-do list. Unfortunately, I cannot proceed rn as I am stuck with this error, which I have no idea how to fix.
What happened?
...
22
votes
17
answers
81k
views
Flutter - Warning (CocoaPods not installed Skipping pod install) Even While Installed
I am trying to build a Flutter app with Geolocator plugin on Android Studio.
When I am running the app I have the following warning - that prevents the app from running:
Warning: CocoaPods not ...
0
votes
0
answers
287
views
How to add PDFTron as dependency in podspec file
We have podspec file in the project and I wanted to include PDFTron as dependency spec.
Below is the way i'm adding third party libraries as dependencies in podspec file.
-------podspec file-----------...
1
vote
0
answers
332
views
podfile setup when one project is dependent on other
Consider this as my podfile
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
...
0
votes
1
answer
306
views
I Run my flutter project in android studio and try to use an IPhone 12 simulator but the Xcode builld fails everytime
I am working on a Macbook Pro 2019. I want to use Firebase/Auth, Firebase/Firestore, Firebase/Analytics and Firebase/Core. I think there is something wrong with the podfile.
Podfile:
# Uncomment this ...
2
votes
2
answers
8k
views
Error when trying to run my Flutter App with my m1 mac
I get the following Error everytime i try to run my Flutter App. I tried literally so much to fix it but still the Error isn't fixed.
Launching lib/main.dart on iPhone 12 Pro Max in debug mode...
...
0
votes
1
answer
1k
views
is there a way to create a Podfile in my flutter project using android studio?
I'm trying to add firebase to my flutter project
I'm using windows machine so I did add it to the android level app while I'm trying to add it to the IOS level app I can't find a way to create the ...
16
votes
4
answers
33k
views
Error running pod install: How to solve this problem?
I've searched a lot but unfortunately I didn't find a solution.
For my flutter project I added the Firebase plug in in the pubspec.yaml file and since then I wasn't able to run the project on my ...
1
vote
1
answer
763
views
Unable to access files in custom cocoapods iOS Swift
I have implemented custom cocoapods in iOS swift but i am unable to access the file that i have developed in my framework. I have installed the framework using pod install and given the local path to ...
0
votes
1
answer
3k
views
Operation not permitted (in target 'path_provider' from project 'Pods')
I'm trying to build a Flutter on iOS but I'm getting this type of error, where I'm told "Operation not permitted in target 'package' from project 'Pods", on few packages.
The packages are:
...
0
votes
1
answer
283
views
Swift - exclude pod file from update
I am using Swift 5.0 and I installed a pod where the code had to be updated manually - which I did.
Everytime when I run pod install, the changes I did (update to Swift 5.0) get overwritten and of ...
1
vote
0
answers
237
views
Multiple dependencies error Podfile during prepare on iOS with Nativescript
I worked on Nativescript project for Android and IOS. And I want to use this plugin Socket.IO-Client-Swift. I execute this ns plugin add @triniwiz/nativescript-socketio . "@triniwiz/nativescript-...
0
votes
1
answer
747
views
Unable to compile React Native Share Extension iOS 12.5
When upgrading to iOS 12.5, I am getting the compile error that: "Application extensions and any libraries they link to must be built with the APPLICATION_EXTENSION_API_ONLY build setting set to ...
1
vote
1
answer
3k
views
ld: framework not found ,Flutter error on Xcode
I'm trying to build a Flutter App. The app works absolutely fine with Andrioid. But, gives the following error in Xcode build :
ld: framework not found
clang error : linker command failed with exit ...
1
vote
0
answers
415
views
Flutter (iOS) Firebase Auth Sign in With Phone Number: Error after adding ' pod 'Firebase/Auth' ' inside Podfile
I'm using the Firebase Auth Sign in with Phone Number and Register with Phone number methods. They're working fine on android but when implementing them on iOS my app crashes. After doing some digging ...
1
vote
0
answers
114
views
Error launching application on simulator (flutter)
10 errors generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: The iOS Simulator deployment target '...
0
votes
1
answer
460
views
Multiple commands produce frameworks issue (related to usage of cocoapod)
I have two frameworks 'GeneralABC' and 'GeneralXYZ'. Both of them have the same interface but different business logic. I define their module_name in podspec as General, so that other projects using ...
1
vote
1
answer
1k
views
pod install error>>> Unable to determine the platform for the `SocketSwift` target
I downloaded github Socket.swift, created Podfile per installation instruction,
but Cocoapods "pod install" gets the error.
Podfile is:
[![# Uncomment the next line to define a global ...
1
vote
1
answer
2k
views
How to add ios source dependency to Flutter plugin?
I have created a Flutter plugin and this is my podspec file:
Pod::Spec.new do |s|
s.name = 'sdksso'
s.version = '0.0.1'
s.summary = 'A new flutter plugin project.'
...
2
votes
0
answers
655
views
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.
...
24
votes
4
answers
29k
views
No podspec found for `FBReactNativeSpec` in `../node_modules/react-native/Libraries/FBReactNativeSpec`
I have upgrade react-native to 0.64 and I'm getting this error after I run pod install.
No podspec found for `FBReactNativeSpec` in `../node_modules/react-native/Libraries/FBReactNativeSpec`
I have ...
0
votes
1
answer
595
views
React Native: for v0.63.4, should I remove all the individual pod lines in my Podfile?
I'm upgrading a React Native project to v0.63.4, and am getting a similar error to the one in this question. In the accepted answer to that question, the user shares what the contents of your Podfile ...
0
votes
1
answer
4k
views
Unity-iOS; Is there a way to modify Pod file dependencies after export automatically?
sometimes pod file is getting old versions of my third parties so i am wondering if there is any way of modifying podfile and adding desired dependency versions(eg; firebase 7.0.0) automatically after ...
0
votes
1
answer
844
views
flutter_ffmpeg package name
when installing flutter_ffmpeg I should set the package name in
android/build.gradle
ext {
flutterFFmpegPackage = "<flutter ffmpeg package name listed in section 2.1>"
}
and in ...
0
votes
1
answer
1k
views
Change one pod to framework
My project use static library to integrate with third-part pods. I want to change one pod to dynamic framework. But I don't want to add use_frameworks! because this will cause all pods become dynamic ...
2
votes
1
answer
2k
views
Flutter iOS : Unable to read the license file `LICENSE` for the spec `Firebase (7.3.0)`; `GoogleUtilities (7.2.2)`
I use Flutter with xcode.
I get an error if I do $ flutter run ios
And i get error from my xcode
Podfile content
Error output from Xcode: ↳
/Users/username/Desktop/Projects/myprojectfolder/ios/Pods/...
1
vote
0
answers
162
views
I get error message "[!] No `Podfile' found in the project directory." even I already have one(The Podfile). How can I fix this?
I did 'pod init' inside my project file then
I have Podfile in my project file. and I updated cocoapods to the latest.
jeongseongjun-ui-MacBookPro:Flo chungseongjun$ ls
Flo Flo.xcodeproj Podfile
...
1
vote
2
answers
7k
views
Increasing IOS platform version throws error for react-native-maps, reducing it throws error for other react-native libraries
I'm writing tests for my react-native application, but it fails, suggesting I run pod install. After running pod install, I get
!] CocoaPods could not find compatible versions for pod "GoogleMaps&...
0
votes
0
answers
52
views
XCODE Swift 5.0 Frameworks Problems -ObjC and FacebookSDK
I'm developing an iOS (>=13.0) app, it's already on the App Store etc...
The problem is that today I've tried to implement the Facebook SDK to permit me to create ad on Facebook and Instagram, I've ...
2
votes
2
answers
9k
views
Which is the right way to generate a Podfile in flutter?
For me, there are two ways to generate a pod file after deleting it
the first one is by running flutter pub get and then a pod file will be generated in the following form after some editing
# ...
1
vote
0
answers
250
views
Flutter Firestore ld: symbol(s) not found for architecture x86_64
I am trying to apply a patch to reduce build times for an ios 14.4 flutter app.
The patch works by editing the ios podfile to consume pre-compiled binaries for specific packages, instead of ...
31
votes
13
answers
49k
views
CocoaPods could not find compatible versions for pod "Flipper-Folly"
I have been trying to run ios for a new but kept getting this error
** BUILD FAILED **
The following build commands failed:
CompileC /Users/struggle/Library/Developer/Xcode/DerivedData/client-...
1
vote
1
answer
727
views
Podfile depending on alamofire and other pod that depends on alamofire too but different version
I have a project that depends on Alamofire 5.0 and another pod which depends on an older version of Alamofire 4.9. however I get the error when i compile it.
my pod dependency are as follows:
Podfile ...
0
votes
1
answer
530
views
React Native: do you have to do manual linking for AsyncStorage?
I'm following this guide for adding AsyncStorage to my React Native app. I'm using react native v0.63.4, but I'm using a Mac, so I'm wondering whether the manual linking that they cite for MacOS at ...
0
votes
1
answer
598
views
How solve problem iOS part on Flutter app?
I'm working on flutter app and ios part working without problem, but I update flutter to version 1.22.5 and when I tried launch app flutter make pod install and show follow message:
Analyzing ...
0
votes
1
answer
421
views
How can I create podfile in my terminal if it shows command not found?
I am adding firebase to my iOS app in flutter.
Problem occurs in the add firebase SDK step. I run the command pod init in my terminal but it says -bash: pod: command not found.
1
vote
0
answers
350
views
Terminal installation of CooaPods
Here's my terminal export:
Here for pod init:
Masons-iMac:GoodDays nacly$ ls
GoodDays GoodDaysTests
GoodDays.xcodeproj GoodDaysUITests
Masons-iMac:GoodDays nacly$ pod init
-bash: /usr/local/...
2
votes
1
answer
2k
views
Removing linked Pods_framework in post_install Podfile hook
I currently have the following situation in my flutter iOS/Android development process:
Every time flutter build runs it executes pod install which installs the regular Flutter Podfile
# Uncomment ...
2
votes
0
answers
1k
views
podfile error when running flutter application
This is the error when I try to run ios app.
[!] CocoaPods could not find compatible versions for pod "FBSDKLoginKit":
In Podfile:
flutter_facebook_auth (from `.symlinks/...
1
vote
0
answers
521
views
Creating a private pod framework which is dependent on an external pod
I created a Framework in xCode called 'IdFramework', and also created a .podspec file for IdFramework.
Part of the swift files in IdFramework are dependent on external CocoaPods such as Firebase. So, ...
3
votes
0
answers
1k
views
How to modify post_install hook ? Specifying multiple `post_install` hooks is unsupported
I am new to iOS development and tried to merge the following pieces of code into one post_install hook without luck:
post_install do |installer|
installer.pods_project.targets.each do |target|
...
1
vote
0
answers
54
views
Canvas editor for Xcode version 12.1 Error
I set up the podfile for the Xcode project and have been using the workspace file to build. "Could not build module 'GoogleDataTransport'" as well as "Umbrella header for module '...
0
votes
1
answer
264
views
No such module SwipeMenuViewController Error in Swift
So I was working on a personal project and wanted to use SwipeMenuViewController and installed it but when I try to run my project on Xcode it gives me an error and says [No such module '...
1
vote
2
answers
4k
views
Installing a react native package with Podfile
I'm following instructions here to add a package: https://github.com/joltup/rn-fetch-blob
It says to do npm install OR add to Podfile. What I did was
yarn add rn-fetch-blob
Then
cd ios
pod install
...
1
vote
0
answers
2k
views
Flutter - Changing Deployment Target
I have downloaded a project on the Internet and cannot run it. I've searched the solution but could not solve it. I'm a new Macbook user and don't know much about it (Podfiles etc.). Here is the error ...