-
Notifications
You must be signed in to change notification settings - Fork 507
Duplicate Bolt Framework symbols in iOS build #33
Comments
+1 |
Same error here. I picked up version 1.3.0, this works fine. There need to be some runtime if/else statements to make this plugin work on more platforms, or nah? |
is your app on Ionic too or plain cordova? On which Xcode version / iOS target module are you building? If you build on Xcode ( |
Plain cordova. Xcode 6.4. Also tried to build directly inside of Xcode, checked Target Memberships. Problem persists. Also removed iOS platform / readded..
|
Could be related to the Wizcorp-Master Branch Problem. "Installing this plugin directly from Cordova Registry results in Xcode using a broken FacebookSDK.framework, this is because the current publish procedure to NPM breaks symlinks CB-6092. Please install the plugin through a locally cloned copy or re-add the FacebookSDK.framework to Xcode after installation." |
just tried and it went smoothly for me with 1.3 and 1.4, can you provide a ZIP with the error?
|
Providing ZIP is not possible, but we could share a TeamViewer or Skype session, if you want? |
I meant, with a new project.
|
Btw: even I've installed the plugin like this: > cordova plugin add --save [email protected] --variable APP_ID="xxxx" --variable APP_NAME="AAAA" the plugin.xml contain version 1.3 <plugin name="cordova-plugin-facebook4" spec="~1.3.0-0">
<variable name="APP_ID" value="xxxx" />
<variable name="APP_NAME" value="AAAA" />
</plugin> But it still does not work. Only if I explicitly install < 1.4.0 it works. |
That's weird, I'm getting a clean build on Xcode 6.4 under ElCap… |
But I'm dead sure that you're not on iOS 8.4 ;) Update: you said Xcode 6.4, that means that you're on 8.4 (< iOS 9). Weird. I can't build that project. |
@jeduan |
Ok, can reproduce!
|
same issue here, trying to build on the simulator, will try on a device later on today. |
Hi folks, I created a repo that should simulate this problem. (Checkout README) https://github.com/felquis/test-cordova-plugin-facebook4
@jeduan do you have any idea how I can workaround this problem? |
@jeduan iOS 9 is comming very close. Any ETA on this? |
The error as @felquis says is on Bolts. Updating to v1.2.2 fixes the problem. Just released v1.4.0-1 which contains this version. |
wanted to update to 1.4.0 but didn't work? neither from plugin list nor directly from github. only get 1.3.0 |
Yep I tried it really hard on last weekend. But couldnt get it work and I got back to original Plugin and fixed iOS 9 with this thread: Of course I would be glad to always use the latest SDK and if I can support somehow let me know |
Fixed it. Removed entries from config.xml and removed plugin, than installed directly from github master, instead npm. |
Error didn't appear when run on device. Compiling on simulator gives this error. |
I'm getting this error in 1.4.1
|
Hello @jeduan I am developing the ionic framework app with ios platform. The plugins are successfully installed, When i build my ionic ios app it will say build failed with above errors. Cordova CLI: 6.1.1 After i install plugins the config.xml look like plugin name="cordova-plugin-facebooke4 spec="~1.7.0 Please help me to solve this issue |
Duplicate symbols mean that the plugin already has the librariries that you may have installed it before.... So while building it may be finding the same libraries from your plugin and from your iOS libraries..... Try a fresh install of iOS platform and add only this plugin and nothing else.... It's working fine for me |
Thanks for replay @dbroadhurst in my app there is the google+ and facebook login present and my plugins list as below cordova plugins then how to resolve this issue after removing and adding platform |
Recently there was a commit to google plus plugin regarding incompatibility with Facebook plugin... You might want to have a look at it and may be update the Google plus plugin.... |
Can you provide me some reference link... |
Hello @dhirajb1989 i remove the google + plugin from my app also i remove and add platform still it will get me same error. My plugin list is: How i resole this problem now? |
Hello @dhirajb1989 i will check my all plugins source files but there is no any Bolts.Framework used any where.... |
Update README.md
I cannot build a clean install of this plugin anymore - it lists a sequence of duplicate symbols which breaks the link.
These are just two from a long list.
Repro steps:
ionic start myApp
cordova plugin add cordova-plugin-facebook4 --save --variable APP_ID="123456789" --variable APP_NAME="myApplication"
cordova ios build
My guess is this is related to the recent changes I can see in preparation for iOS 9. Should I take an older version of the plugin for now?
The text was updated successfully, but these errors were encountered: