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

FlipperKit cocoapod versions missing for latest releases (0.176.0, 0.176.1 & 0.177.0) #4382

Open
liamjones opened this issue Dec 14, 2022 · 38 comments

Comments

@liamjones
Copy link
Contributor

liamjones commented Dec 14, 2022

🐛 Bug Report

I was following the docs to update an RN app to use the latest version of Flipper: https://fbflipper.com/docs/getting-started/react-native/#using-the-latest-flipper-sdk

The docs list 0.176.1 in the instructions as the latest version, which is correct. However, while the maven artifact exists for 0.176.1, the FlipperKit cocoapod does not: https://cocoapods.org/pods/FlipperKit

To Reproduce

Set Flipper to 0.176.1 in an RN project:

    :flipper_configuration => FlipperConfiguration.enabled(["Debug"], { 'Flipper' => '0.176.1' }),

Environment

RN 0.69.7
Flipper 0.176.1

Edit: also applies to the newly released 0.177.0

@Gerlison
Copy link

Gerlison commented Dec 21, 2022

image
In the doc you linked, says that React Native >= 0.69 Flipper version has to be 0.159.0

You can use the latest version on the Android, and just refer to the Pod 0.159.0 on iOS

@liamjones
Copy link
Contributor Author

@Gerlison Wait... You can only use the newest versions of flipper (e.g. 0.176.1) on older react-native (less than 0.69.0)? 😕

@liamjones
Copy link
Contributor Author

This also seems to disagree with the statement above it on that page:

Latest version of Flipper requires react-native 0.69+! If you use react-native < 0.69.0, please, downgrade react-native-flipper to 0.162.0 (see this GitHub issue for details).

@Gerlison
Copy link

@liamjones I just tried to install the newest version (0.176.1) on my project. Updated package.json and Podfile to that version. When I tried to pod install --repo-update, I got the same error as yours. Then, I downgraded Podfile version to the version indicated on the screenshot I sent you, but kept the latest on Android and package.json.
image

Didnt build the ios to try it yet, actualy. But solved the issue of installing the pods for me.

@markholland
Copy link

Seeing the same problem. Sticking with 0.175.0

@kepop1
Copy link

kepop1 commented Jan 4, 2023

Same issue on my side. Running React Native 0.70.6 and Flipper 0.176.1 for iOS / Android. Android runs fine, no warnings, but iOS has the warning even with running the usual pod install --repo-update etc. This is with a fresh Podfile.lock being generated as well.

I wonder why https://cocoapods.org/pods/FlipperKit doesn't have the 0.176.1 version pushed to it?

Copy of the warning:

The native module for Flipper seems unavailable. Please verify that `react-native-flipper` is installed as yarn dependency to your project and, for iOS, that `pod install` is run in the `ios` directory.

For what it's worth, Flipper still works fine despite the warning 🤷

@Gerlison
Copy link

Gerlison commented Jan 4, 2023

@markholland @kepop1 Despite this is only a warning and android is working fine, I faced some errors on iOS when using a version greater than 0.159.0. The main problem was the Network plugin. It stopped working on iOS. After I downgraded back to 0.159.0, the plugin was fixed.

If that doesn't apply to your projetcts, it's fine then. :)

@lundn
Copy link

lundn commented Jan 20, 2023

Any updates on this? Are the latest supported version of Flipper for React-Native v.0.159.0?

@liamjones liamjones changed the title FlipperKit cocoapod versions missing for latest releases (0.176.0 & 0.176.1) FlipperKit cocoapod versions missing for latest releases (0.176.0, 0.176.1 & 0.177.0) Jan 24, 2023
@nikoden-io
Copy link

nikoden-io commented Jan 25, 2023

Same issue for me, 0.176.0 is founded by Cocoapods but not the most recent updates.

EDIT: regarding the version number specidied for RN, there must be a typo as the maximum version for RN<=0.69 is 0.162.0 and you need RN 0.70+ for latest versions

@notjosh
Copy link
Contributor

notjosh commented Jan 27, 2023

The CocoaPods publishing has failed for the last few versions (here), each of them after six (!) hours of trying.

@adamsinnott
Copy link

This is still an issue. There is no documentation showing this and finding why its not working is tricky and time consuming. Additionally 0.176.0 is not present. The latest package present is 0.175.0.

@adamsinnott
Copy link

Was a header removed by mistake?

ERROR | [iOS] [FlipperKit/FlipperKitLayoutComponentKitSupport] xcodebuild: FlipperKit/iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutWrapper.mm:27:8: error: cannot find protocol declaration for 'RCMountable'; did you mean 'CKMountable'?

2023-02-10T23:54:53.9023160Z - ERROR | [iOS] [FlipperKit/FlipperKitLayoutComponentKitSupport] xcodebuild: Returned an unsuccessful exit code. 2023-02-10T23:54:53.9024210Z - NOTE | [iOS] [FlipperKit/FlipperKitLayoutComponentKitSupport] xcodebuild: Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.1, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'RenderCore' from project 'Pods') 2023-02-10T23:54:53.9025190Z - WARN | [FlipperKit/FlipperKitLayoutComponentKitSupport] xcodebuild: Headers/Private/RenderCore/CKVariant.h:354:9: warning: parameter '_' not found in the function declaration [-Wdocumentation] 2023-02-10T23:54:53.9026240Z - ERROR | [iOS] [FlipperKit/FlipperKitLayoutComponentKitSupport] xcodebuild: FlipperKit/iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutWrapper.mm:26:8: error: cannot find protocol declaration for 'RCMountable'; did you mean 'CKMountable'? 2023-02-10T23:54:53.9027200Z - NOTE | [FlipperKit/FlipperKitLayoutComponentKitSupport] xcodebuild: Headers/Private/ComponentKit/CKAnalyticsListener.h:23:11: note: 'CKMountable' declared here 2023-02-10T23:54:53.9028230Z - ERROR | [iOS] [FlipperKit/FlipperKitLayoutComponentKitSupport] xcodebuild: FlipperKit/iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutWrapper.mm:27:8: error: cannot find protocol declaration for 'RCMountable'; did you mean 'CKMountable'? 2023-02-10T23:54:53.9029410Z - NOTE | [iOS] [FlipperKit/FlipperKitLayoutComponentKitSupport] xcodebuild: Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.1, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'ComponentKit' from project 'Pods') 2023-02-10T23:54:53.9030490Z - NOTE | [iOS] [FlipperKit/FlipperKitLayoutComponentKitSupport] xcodebuild: warning: no rule to process file 'ComponentKit/ComponentKit/ComponentKit.xcconfig' of type 'text.xcconfig' for architecture 'arm64' (in target 'ComponentKit' from project 'Pods') 2023-02-10T23:54:53.9031540Z - NOTE | [iOS] [FlipperKit/FlipperKitLayoutComponentKitSupport] xcodebuild: warning: no rule to process file 'ComponentKit/ComponentKit/ComponentKit.xcconfig' of type 'text.xcconfig' for architecture 'x86_64' (in target 'ComponentKit' from project 'Pods') 2023-02-10T23:54:53.9032390Z - WARN | [FlipperKit/FlipperKitExamplePlugin,FlipperKit/FlipperKitReactPlugin] file patterns: The public_header_files pattern did not match any file.

@lblasa
Copy link
Contributor

lblasa commented Feb 15, 2023

Sorry about this, looking into it now.

@lblasa
Copy link
Contributor

lblasa commented Feb 15, 2023

Problem has been identified, a fix will be provided very shortly.

@adamsinnott
Copy link

Fantastic thank you

@Hmoulvad
Copy link

Hmoulvad commented May 3, 2023

What is the status on this? I am yet seeing this in the newest version 0.190.0 :(

@Rohindh-R
Copy link

Still facing the same issue in 0.190.0

@miguelherz
Copy link

Any update on version 0.190.0? Looks like there was a failed deployment two weeks ago.

@therealkh
Copy link

therealkh commented May 17, 2023

the same here for 0.190.0

@williamwa
Copy link

same problem 0.190.0

@miguelherz
Copy link

Version 0.191.0 was just released 2 hours ago.. but same issue with the pods.. it failed to publish flipper pod

@soulei-dev
Copy link

the same here for 0.190.0

same

@lethanhan97
Copy link

the same here for both 0.190.0 and 0.238.0. React-native version 0.70.13

@VittoriDavide
Copy link

someone still facing this with 0.201 ?

@ankitbajpai1607
Copy link

yes

someone still facing this with 0.201 ?

yes

@deepen168
Copy link

Is there any updates or workaround for this? I am starting out with RN and stuck on this error. would really apreciate help. Thanks!

@paulopgss
Copy link

After updating my xcode I had the same problem using version 0.125.0. Searching other topics, I found one that worked for me, I hope it helps:

#43335

@eusouoviana
Copy link

This still happens to me

@mobinahmed
Copy link

I had the same issue with 0.201, you can try updating your pods. This resolved issue for me
~> pod update (under ios folder)
Mac OS M1 Sonoma 14.3.1
Xcode 15.3
React-Native 0.73.5

Flipper deprecated moving forward
react-native-community/discussions-and-proposals#641

@sachittt
Copy link

sachittt commented Mar 8, 2024

Screenshot 2024-03-08 at 4 26 45 PM I was also facing same issue since yesterday. Finally able to resolve it.

I was able to find temp fix with adding #include to ios/Pods/Flipper/xplat/Flipper/FlipperTransportTypes.h
may be an flipper needs an upgrade.

@Gopinath-22-PS
Copy link

Screenshot 2024-03-08 at 4 26 45 PM I was also facing same issue since yesterday. Finally able to resolve it.
I was able to find temp fix with adding #include to ios/Pods/Flipper/xplat/Flipper/FlipperTransportTypes.h may be an flipper needs an upgrade.

@sachittt , You saved my time!

@owencraston
Copy link

I am also getting this error on the latest version of xcode 15.3 (15E204a)

@stargt
Copy link

stargt commented Mar 13, 2024

@Gopinath-22-PS Yeah, it was my misunderstanding, I've finally disabled Flipper after I found an article that says Flipper is about to be deprecated.

@Gopinath-22-PS
Copy link

@owencraston try adding #include in ios/Pods/Flipper/xplat/Flipper/FlipperTransportTypes.h

@abhibhat33
Copy link

Screenshot 2024-03-08 at 4 26 45 PM I was also facing same issue since yesterday. Finally able to resolve it.
I was able to find temp fix with adding #include to ios/Pods/Flipper/xplat/Flipper/FlipperTransportTypes.h may be an flipper needs an upgrade.

Yeah, thanks @sachittt it's working fine. Is this issue fixed in new RN version?

@liamjones
Copy link
Contributor Author

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