-
Notifications
You must be signed in to change notification settings - Fork 587
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
Xcode 12.5 compile error: Cannot initialize a parameter of type 'id<NSCopying> _Nonnull' with an rvalue of type #115
Comments
|
|
Add this post install script to your Podfile:
End of the Podfile add this function:
|
what to do now? |
Thank you for the report! |
The latest code has not pushed to CocoaPods . Current version on CocoaPods is 0.1.4 without the fix . |
@mygithub877 您解决这个问题了吗 我的问题跟你一模一样 |
Pods/FBRetainCycleDetector/FBRetainCycleDetector/Layout/Classes/FBClassStrongLayout.mm This file is read only, as all Pod source files are. Just add write permissions to yourself on the file. |
sudo chmod -R 750 Pods |
解决: |
Summary
Getting this error at build time in Xcode 12.5
Cannot initialize a parameter of type 'id _Nonnull' with an rvalue of type '
Code to reproduce
Error on "FBClassStrongLayout.mm" file, line 202
layoutCache[currentClass] = ivars;
iOS version
iOS 14.5
Installation method
pod install
SDK version
FBRetainCycleDetector (0.1.4)
Other information
none
The text was updated successfully, but these errors were encountered: