Comments (17)
I'm not part of CocoaPods, just a random opinion:
"in the future" could potentially be far away in time depending on the rate of adoption of your new version. So you may better try to get yourself a second pod name (like 'LLDebugTool2' as an example) which doesn't have any release scraping its CocoaPods page, and advertise it around as the replacement of your deprecated pod.
Technically, I believe you can have multiple podspecs files in the same repository, so that both the old pod name and the new one would get updates until a safe version gets largely adopted.
from lldebugtool.
Yeah, I'm open to removing that code but it's at many requests per-second today.
It'll take a long time for developers to update your library, then to update their apps, then for users to update their apps. I have no idea when I can undo it though - perhaps once it starts looking like a request a minute or two.
from lldebugtool.
Adding the offending code for reference:
LLDebugTool/LLDebugTool/DebugTool/LLDebugTool.m
Lines 184 to 209 in 5775a43
The condition is defaulted to YES
here:
LLDebugTool/LLDebugTool/DebugTool/LLConfig.m
Line 112 in 750ed3a
from lldebugtool.
You can set autoCheckDebugToolVersion
to disable this request. Also this check is actually invalid. I can't get the version number correctly. I will remove it later.
from lldebugtool.
Heh, yeah, I banned your pod page from showing on the CocoaPods website - basically someone shipped your pod to production and we get taken down by their users :D
from lldebugtool.
@orta I see. Thanks, My mistake, I will remove it tonight and release it on next version. 😆
from lldebugtool.
@orta One more question, When I removed this code, Could you cancel banned my pod in future?
I just wanted to push the new version to the user and add a property to turn it off. I don't think my pod has such a large number of users that would cause DDS attacks on Cocoa pods. So maybe cancel banned my pod in future? 😢
from lldebugtool.
@orta I see. Thank you for telling me this. I'll fix it as soon as possible
from lldebugtool.
@orta I'm removed the CocoaPods ping and release a new version, How long will LLDebugTool
can be accessed normally in cocoapods
?
from lldebugtool.
months, maybe years - depends on how fast people update really.
from lldebugtool.
So badly..... Does this affect people's ability to search and install my pod through cocoapods?
from lldebugtool.
@orta Is there no other way to solve this problem?
from lldebugtool.
Nope, not really - to give you some perspective: for every 1 normal website page view we get about 20 pings from this code (see the screenshot above)
@Coeur's point that you can re-name your library is honestly one of the best ideas
from lldebugtool.
@orta Will this affect when pod install
or pod search
my pod? Renaming is a very bad idea and the worst way. If it doesn't affect pod install
or pod search
, the scope of influence should not be particularly large. I can wait until the frequency of this request falls. If pod install
or pod search
is affected, I will probably need to rename it.
For individual developers, the loss of renaming is too great. 😭
from lldebugtool.
I believe the code Orta added only blocks your page on the CocoaPods website and not in trunk so install, etc should work. It’s probably easiest to try for yourself on a blank project :)
from lldebugtool.
Just the web page is blocked, everything else is the same
from lldebugtool.
Okey, All I can do is wait.
from lldebugtool.
Related Issues (20)
- 最新appstore禁止使用UIWebView的app提交审核,这边最新版本有去掉UIWebView的使用了吗 HOT 1
- nslog in logs HOT 1
- Landscape Orientation are not supported
- 可以支持下自定义功能按钮扩展么
- networkStateFromStatebar 网络状态获取,在连接Tunnel之后失效
- uiwebview wkwebview
- 控制台log
- 集成完之后app没发现入口 是什么鬼? HOT 1
- 希望在 一级功能列表页面 添加功能入口,目前我使用运行时做到了,owner看看能不能后面作为原生功能。
- 崩溃问题 HOT 1
- 同时接了极光推送,启动会偶尔崩溃 HOT 6
- 集成LLDebugTool之后,无法修改状态栏颜色 HOT 2
- 修改属性Alert,Textfield不响应 HOT 6
- 项目内集成QMUIKit后使用LLDebugTool报错 HOT 5
- NSUserDefaults resetStandardUserDefaults重制数据不成功 HOT 1
- *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Invalid type in JSON write (__NSTaggedDate)' HOT 1
- ipad保存沙盒中的图片到相册时崩溃 HOT 3
- 里面有UIWebView,会影响上架吗? HOT 2
- 目前获取磁盘剩余空间的方法可能会不太准确
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 lldebugtool.