51 duplicate symbols for architecture x86_64
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- ios, javascript, react-native
- Lĩnh vực
- build-system, mobile
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện vấn đề với thiết lập Expo được nêu, cả hai gói npm, pod install và npm run ios. Kiểm tra cách FBAudienceNetwork, FBSDKCoreKit_Basics và FBSDKCoreKit được phân giải cùng nhau; được coi là hoàn tất khi ứng dụng iOS build được với Facebook login và audience ads mà không có symbol trùng lặp.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Ad Modules
-Banner Ads
-Interstitial Ads
Platforms
-iOS
Versions
- react-native-fbads: 7.0.5
- react-native: 0.62.2
Issue
When we try to install pod after installing npm package of Facebook ads, There are three pods are installing.
- Installing FBAudienceNetwork (6.5.1)
- Installing FBSDKCoreKit_Basics (11.0.1)
- Installing ReactNativeAdsFacebook (7.0.5)
After this we try to run our app and it throws error in FBSDKUtility and SessionProvider in FBSDKCoreKit_Basics Pod folder. after importing appropriate packages for error, we tried to run again our app. But At build time FBSDKCoreKit_Basics conflicts with FBSDKCoreKit which is installed for Facebook login functionality.
- Why FBSDKCoreKit_Basics is needs to b installed with FBAudienceNetwork when the same code and functionality already available in FBSDKCoreKit SDK? Due to this conflict and duplicate pods we can not able to ad Facebook ads in our application.

Steps to generate issue
- Create new React-Native project using "expo init [Project-Name]" Command
- Install Package For Facebook Login using "npm install --save react-native-fbsdk" Command
- Install Package For Facebook Audience Network using "npm install --save react-native-fbads" Command
- Install Pods for above commands using "cd ios && pod install" Command
- Run the project using "npm run ios" command. Build will fails due to "Cannot find protocol declaration for 'FBSDKSessionProviding'" See Attached ScreenShot below:

- Fix above issue by importing "FBSDKSessionProviding.h" header file.
- Now You may see another errors like in Below ScreenShot

- Fix above error by removing below imports
#import "FBSDKBasicUtility.h"
#import "FBSDKTypeUtility.h"
and add below line after removing above code
#import <FBSDKCoreKit_Basics/FBSDKCoreKit_Basics.h>
- Run Project again in iOS
- Now You can see main error which conflict the Both SDK. Error: 51 duplicate symbols for architecture x86_64 See First ScreenShot.
Please look into this asap. We tried almost all solution available in google search.
Thank You
- Ngôn ngữ chính
- Java
- Star
- 451
- Fork
- 146
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của callstack/react-native-fbads
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
callstack/react-native-fbads#360 · 1 bình luận ·
-
Ads not showing up on iOSĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
callstack/react-native-fbads#359 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 20/100
callstack/react-native-fbads#358 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
callstack/react-native-fbads#357 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
callstack/react-native-fbads#356 · 3 bình luận ·
Tất cả issue của callstack/react-native-fbads
Issue tương tự
-
Update license yearĐang mở0 - Backlog 1 - Ready documentation good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
cbor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
FasterXML/jackson-dataformats-binary#844 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Issue: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
OpenAPITools/openapi-generator#25107 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
improvement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/iceberg#18351 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
repowise-dev/repowise#2945 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày