cordova-plugin-googleplus
cordova-plugin-googleplus copied to clipboard
The target overrides the `LD_RUNPATH_SEARCH_PATHS` build setting
I am having a problem when building on iOS.
This message is shown when I install the cordova-plugin-googleplus
[!] The `[Debug]` target overrides the `LD_RUNPATH_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-______/Pods-______.debug.xcconfig'. This can lead to problems with the CocoaPods installation
[!] The `[Release]` target overrides the `LD_RUNPATH_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-______/Pods-______.release.xcconfig'. This can lead to problems with the CocoaPods installation
The developer build is successful, but when I create a production build for release it fails
ionic cordova build ios --prod --release
I am using ionic v3.
From some internet search, I find out that this is happening because I am using more than one plugin that is being installed through Cocoapods
.
@marioshtika any update on this, I think I'm hitting the same problem now
@vicatcu make sure you have:
- installed Cocoapods
sudo gem install cocoapods
and - updated dependencies
pod repo update
@vicatcu also, I was having problem with Youtube and Google+ simultaneously. So I am guessing this happens when you use two plugins with the same/common SDK such as Google. I don't know just guessing. At the moment I didn't find a solution, so I removed the Youtube plugin.
I had the same problem using FireBase and GoogleSignIn pods, which both reference GoogleUtilities (the second one explicitly in the platforms/ios/podfile). I was finally able to get it to compile by removing the "pd 'GoogleUtilities' line and rerunning "pod install" from platforms/ios. Unfortunately, it then crashes on startup on many iOS devices (had to remove the plugin to fix it).
I'm having this problem with ionic v4
I have same issue, I have firebase-x plugin as well. If I remove either one, it builds and works fine so must be these two are conflicting?
I manually set up pod file versions and it goes well. Make sure you have the right firebase pods version and it should do the build.
@kelpie278 can you share what the versions are?
any update?
I am having the same issue, Any update?
Same problem / ionic 3 ( probably because of facebook and onesignal plugins ) ... can someone from dev team teak a look at this?
Anyone found a solution for this yet?
Im having this issue too with Ionic 5, Angular 8. Attempt to use ionic cordova prepare ios will result the process to stop after displaying "Preparing Firebase on iOS"
i am struggling on ionic 5 with firebase-authentication plugin
I'm having same issue.
target overrides the LD_RUNPATH_SEARCH_PATHS
build setting defined in `Pods/Target Support Files/xxxxxxx.xcconfig'. This can lead to problems with the CocoaPods installation.
Anyone resolved this?
I have the same issue after try installing cordova-plugin-facebook4
.
I had this problem yesterday with FirebaseX & GooglePlus. Solved today.
Normally they would work together for months. Yesterday i needed to remove/add ios platform. Then i got this error. I tried lots of things. For example i downgraded Cordova-Ios, Cordova-Lib & Cordova to 9 from 10. But there was no solution.
Today i did these:
- Restarted Computer
- Removed FirebaseX & GooglePlus plugins.
- Removed/Added Ios Platform
- Added $(inherited) to Runpath Search Paths (XCode/Build Settings/Linking)
- Installed FirebaseX but NOT GooglePlus (also i removed all Codes that use GooglePlus)
- After successful build i added GooglePlus and codes back.
As result i had a successful build. I don't know which one was the solution. Maybe cordova downgrade needed a restart or XCode needed $(inherited) etc. After all this is my success story in 24 hours.
Good luck to all until a solid solution is found.
Well. I upgraded Cordova to 10 back with other cordova stuff (lib, ios, android) and had this warning and it's error at build again:
LD_RUNPATH_SEARCH_PATHS.substr is not a function
After hours i found the problem. It's is cordova-ios 6.x.x
When i add ios platform with codrova-ios 5.1.1 there is no build error:
ionic cordova platform add [email protected]
I have the same issue after try installing
cordova-plugin-facebook4
.
I have the same issue. Any solution? :(
Thank you very much
I have the same issue. Any solution?
2021 and still no successful try! Issue produced with with Ionic 5 Angular 11, cordova-ios 5.1.1, cordova 9
For me, to prevent this warning appear, I do this before "4. Installation" step: Added $(inherited) to Runpath Search Paths (XCode/Build Settings/Linking)
After doing this, the installation goes without any error, however, my PJ still failed due to the missing of Target Support Files/Pods-[App Name]/Pods-[App Name].debug.xcconfig. I then realize that my app's name has a special character å. I then change it to 'a' and redo from beginning and it works now.
P/s: My PJ uses ionic 5, angular 8
I have the same problem, 1 month and nothing solution, i'm frustrated 😩.
For me, to prevent this warning appear, I do this before "4. Installation" step: Added $(inherited) to Runpath Search Paths (XCode/Build Settings/Linking)
After doing this, the installation goes without any error, however, my PJ still failed due to the missing of Target Support Files/Pods-[App Name]/Pods-[App Name].debug.xcconfig. I then realize that my app's name has a special character å. I then change it to 'a' and redo from beginning and it works now.
P/s: My PJ uses ionic 5, angular 8
I had the exactly the same problem, with the same causes (special character in project's name also) Now it's resolved. thanks a lot!
My app's title has a space in it. Now I'm suspect of that space, causing this.
Ionic CLI : 6.18.0 (/usr/local/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 5.9.1 @angular-devkit/build-angular : 12.2.10 @angular-devkit/schematics : 12.2.10 @angular/cli : 12.2.10 @ionic/angular-toolkit : 4.0.0 Cordova CLI : 10.0.0 ([email protected]) Cordova Platforms : android 10.1.1, browser 6.0.0, ios 6.2.0
I created this issue more than two years ago, and today I finally found a solution for this 😄
In my case, I am using another plugin that has, as a dependency, the GoogleUtilities
library version 6.7, but the this plugin uses version 7.2.2 as the default version for the GoogleUtilities
library. So the pod install
command would fail and it would never install this plugin.
To find out what is the cause that your installation is failing, go to the folder where your xCode project platform/ios/YOUR_PROJECT_NAME
and install pod with the verbose parameter
pod install --verbose
This will show you what is the issue that is causing pod install to fail. If your issue is caused by the wrong version of your library, you can then change it with the correct version and it should be fixed.
I have created a pull request for this (https://github.com/EddyVerbruggen/cordova-plugin-googleplus/pull/748) so that we can change the library version during the installation process.
Example
cordova plugin add https://github.com/EddyVerbruggen/cordova-plugin-googleplus --save --variable REVERSED_CLIENT_ID=myreversedclientid --variable GoogleUtilities="~> 6.7.0"
If you have the same problem as me, let me know and I will try to help as much as I can 👍
Same issue
I have these pods: SwiftGen, SwiftLint
[!] The MyProj [Debug]
target overrides the LD_RUNPATH_SEARCH_PATHS
build setting defined in `Pods/Target Support Files/Pods-MyProj/Pods-MyProj.debug.xcconfig'. This can lead to problems with the CocoaPods installation
[!] The MyProj [Release]
target overrides the LD_RUNPATH_SEARCH_PATHS
build setting defined in `Pods/Target Support Files/Pods-MyProj/Pods-MyProj.debug.xcconfig'. This can lead to problems with the CocoaPods installation
It's been so long, I have updated my environment to latest of all. @EddieSwift I don't know if you still using an old version of Ionic
It's been so long, I have updated my environment to latest of all. @EddieSwift I don't know if you still using an old version of Ionic
I try to start CI on Bamboo