Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

facebook sdk version 11.1.0 -> 11.2.1 update bulid fail #1902

Closed
5 tasks done
colondeethpark opened this issue Oct 5, 2021 · 12 comments
Closed
5 tasks done

facebook sdk version 11.1.0 -> 11.2.1 update bulid fail #1902

colondeethpark opened this issue Oct 5, 2021 · 12 comments
Milestone

Comments

@colondeethpark
Copy link

colondeethpark commented Oct 5, 2021

Checklist before submitting a bug report

Xcode version

13.0.0

Facebook iOS SDK version

11.2.1

Installation platform & version

1.11.2

Package

Core

Goals

After updating the Facebook SDK to the latest
The build fails.

InternalUtilityProtocol file

  • (void)unregisterTransientObject:(__weak id)object;
    Cannot create __weak reference in file using manual reference counting

Expected results

After updating the Facebook SDK to the latest
The build fails.

InternalUtilityProtocol file

  • (void)unregisterTransientObject:(__weak id)object;
    Cannot create __weak reference in file using manual reference counting

Actual results

After updating the Facebook SDK to the latest
The build fails.

InternalUtilityProtocol file

  • (void)unregisterTransientObject:(__weak id)object;
    Cannot create __weak reference in file using manual reference counting

Steps to reproduce

cocoapod pod update

facebook sdk version 11.0.1 -> 11.2.1

After updating the Facebook SDK to the latest
The build fails.

InternalUtilityProtocol file

  • (void)unregisterTransientObject:(__weak id)object;
    Cannot create __weak reference in file using manual reference counting

Code samples & details

// INSERT YOUR CODE HERE
var example = "Example code"
@jawwad
Copy link
Contributor

jawwad commented Oct 7, 2021

Hi @colondeethpark - What package manager are you using? CocoaPods, SPM, Carthage or something else?

@colondeethpark
Copy link
Author

hi @jawwad I am using cocoapods

@colondeethpark
Copy link
Author

The same phenomenon occurs in version 11.1.0.
So I am currently using the 11.0.1 version.

@jawwad
Copy link
Contributor

jawwad commented Oct 8, 2021

Hi @colondeethpark - We are preparing to do a release sometime next week and I believe this issue will be fixed in the upcoming release.

@jawwad
Copy link
Contributor

jawwad commented Oct 12, 2021

Hi @colondeethpark - We just released v12.0.0 of the iOS SDK. Could you see if updating fixes the build failure for you? Also let me know if you run into any issues while trying to upgrade.

@jawwad jawwad added this to the v12.0.0 milestone Oct 12, 2021
@colondeethpark
Copy link
Author

hi @jawwad
I updated to v12.0.0 but got another error.
I'm developing with object -c
It says [FBSDKApplicationDelegate sharedInstance] could not be found.
And because it can't find #import <FBSDKCoreKit/FBSDKCoreKit.h>
@import I did FBSDKCoreKit_Basics.
In what version was this part changed?

@jawwad
Copy link
Contributor

jawwad commented Oct 13, 2021

@colondeethpark - FBSDKApplicationDelegate is included in FBSDKCoreKit. Can you try importing it as: @import FBSDKCoreKit;?

@colondeethpark
Copy link
Author

@jawwad 스크린샷 2021-10-13 11 24 06
@import FBSDKCoreKit; I used
I get the same error as the image.

@jawwad
Copy link
Contributor

jawwad commented Oct 13, 2021

Hi @colondeethpark - I just tried this on a new project and I didn't have any issues. I'm not sure why you are running into this. If you can put together a minimal sample project that reproduces the issue I can try to take a further look.

@jawwad
Copy link
Contributor

jawwad commented Oct 14, 2021

Hi @colondeethpark - I'm going to close the issue out since the original issue that was reported doesn't occur. Please open another issue if you continue to run into issues. Also if you can put together a minimal sample project that reproduces any issues you encounter it would make troubleshooting easier for us. Thanks!

@jawwad jawwad closed this as completed Oct 14, 2021
@jesphinpt
Copy link

jesphinpt commented Jan 26, 2022

Any solution for the above? I am getting errors with 12.3.1.

#2015

Could not build module 'FBSDKCoreKit'

I am trying to update the FBSDK's as per this changelog. Manually downloaded the static xcframework added to the apps and linked it with the Binaries in the Xcode option.


But facing the error from the Could not build module 'FBSDKCoreKit'

Showing All Errors Only
/Users/name/Library/Developer/Xcode/DerivedData/wProject-hbaothufasjichbdcaldinphltth/Build/Products/Debug-file/FBSDKCoreKit.framework/Headers/FBSDKInternalUtilityProtocol.h:82:36: Cannot create __weak reference in file using manual reference counting


Could not build module 'FBSDKCoreKit'

@zzzzzzzzzzzse
Copy link

The same phenomenon occurs in version 11.1.0. So I am currently using the 11.0.1 version.

I had the same problem and use sdk 11.0.1 Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants