Comments (4)
I've solved that issue removing the version on the Yoga dependency.
But after that I get
[!] Failed to load 'SonarKit' podspec:
[!] Invalid `SonarKit.podspec` file: undefined method `static_framework=' for #<Pod::Specification name="SonarKit">
Did you mean? weak_framework=.
from flipper.
It builds with the following set up
target 'Sample' do
pod 'RSocket', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/third-party-podspecs/RSocket.podspec'
pod 'DoubleConversion', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/third-party-podspecs/glog.podspec'
# pod 'CocoaLibEvent', '~> 1.0'
#:podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/third-party-podspecs/glog.podspec?token=ADr9NImskgi8eZGAADCQH2_PXtgB7-b-ks5bIDrowA%3D%3D'
pod 'Folly', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/third-party-podspecs/Folly.podspec'
pod 'PeerTalk', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/third-party-podspecs/PeerTalk.podspec'
pod 'Yoga','~>1.8.1', :modular_headers => true
pod 'Sonar', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/xplat/Sonar/Sonar.podspec'
pod 'SonarKit', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/SonarKit.podspec'
pod 'SonarKit/SonarKitLayoutComponentKitSupport', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/SonarKit.podspec'
pod 'SonarKit/SKIOSNetworkPlugin', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/SonarKit.podspec'
pod 'ComponentKit', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/third-party-podspecs/ComponentKit.podspec'
post_install do |installer|
installer.pods_project.targets.each do |target|
if ['YogaKit'].include? target.name
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = swift_version
end
end
end
end
end
Let me know if it works
from flipper.
I had same error
I used CocoaPods(1.2.0)
> Console says:
> [!] A dependency with an external source may not specify version requirements (Yoga).
I tried CocoaPods (1.5.2) and it worked!
from flipper.
Awesome!, I will close the issue then.
from flipper.
Related Issues (20)
- How to install flipper server on linux? HOT 4
- Question: FlipperKit on Mac M3 HOT 2
- Failed to start Flipper: TypeError [ERR_INVALID_ARG_TYPE]
- Unable to install plugin HOT 1
- GitHub Actions Workflow failed - Publish Android
- Network Plugin HTTP Response body always (Empty)
- Virus detected in published files HOT 1
- 无法打开“Flipper.app”,因为无法验证开发者。 HOT 2
- Watchman file watching service is not installed or not added to PATH HOT 1
- No matching version found for [email protected] HOT 4
- The downloaded flipper for mac m1 is always opened in the browser. Where can I download the local software? HOT 2
- Failed to start client connection: Failed to exchange certificate with /APP_NAME/ in android real device
- Discussion: Allow disabling running `klist.exe`. HOT 1
- GitHub Actions Workflow failed - Publish Android
- `flipper-common`, `flipper-pkg-lib` and `flipper-plugin-lib` version mismatch from their latest versions on npm (0.252.0) HOT 3
- Flipper totally sucks now. What did you guys do? HOT 1
- Android Gradle || Failed to resolve: com.facebook.flipper:flipper:0.252.0 HOT 2
- Question: I get NO DEVICES FOUND even though setup doctor says everthing is ok HOT 3
- How to Install .tgz file in windows? HOT 3
- iOS - Privacy Manifest - Update OpenSSL dependency to 3.1.5001
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flipper.