-
Notifications
You must be signed in to change notification settings - Fork 2.7k
make warning for new build system #9056
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
Comments
Updating this ticket to reflect current status since CocoaPods 1.8.0.beta.2 is released. |
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES
doesn't work with xcfilelists
Workaround: Switch your .xcodeproj format to go < 9.3 Compatible and CocoaPods will not use |
I'm sorry but changing title does not reflect what initially requested. My title was "make wa
8000
rning for new build system". Also I tried to change:
and run pod install but this changed nothing - the two folders are completely the same (except this line). Also Pods.xcodeproj will reset compatibility to |
fair points, reverting title. |
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES
doesn't work with xcfilelists
actually, I am still uncertain if we will ever implement this. CocoaPods intentionally has no knowledge of the Xcode version you are using therefore we will never be able to warn if you are using something less than Xcode 11 etc. |
The workaround in the other issue around disabling input output paths is currently the correct work around or at the time of this comment use Xcode 11 Beta 6 with CocoaPods 1.8.0.beta.2 and no xcfilelists. |
Unfortunately I did not understand. You told Xcode version does not matter for cocoapod system...
I tried this for both. For cocoapod 1.7.5 and 1.8.0.beta.2 also. So switching my |
Yes that is true. CocoaPods does not find out your Xcode version. You control that. Therefore if you want to see your incrementa builds fixed with I/O paths you need to update to Xcode 11 Beta 6 and CocoaPods 1.8.0.beta.2 because CocoaPods 1.8.0.beta.2 is the only release that sets
I tried this locally and this was working for me. Try to also I am inclined to close this issue as I said in the previous comment CocoaPods has no way of identifying Xcode version and therefore is unable to warn. |
|
|
imho it's not so big deal to support |
This is more about the new build system though not so much about the Xcode version. The new build system was supported in Xcode 9 as optional and was made the default in Xcode 10. Users may still choose to use the legacy one even in Xcode 11. We could parse a workspace settings file to see but I think its unnecessary to add this logic. |
The main issue described here we could get runtime issues with new build system without any warnings.
It's ok to select solution but hard to know the issue is there cause: |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
this one was not resolved |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
this one was not resolved yet |
Xcode 12 Beta 1 seems to be fixing the issue permanently.
We have not yet verified it but I will and if so I will close this issue. Release notes https://developer.apple.com/documentation/xcode-release-notes/xcode-12-beta-release-notes |
Confirmed with project in #8073 (comment) that this is fixed in Xcode 12 Beta 1. This is no longer needed. |
Report
What did you do?
ℹ Please replace these two lines with what you did.
use Xcode 10+ (Xcode 10.3 for example)
pod install
What did you expect to happen?
get warning if I use new build system and do not use solution from here:
#8073 (comment)
So your script could check
variable
COMMAND_MODE=legacy
should be set or Podfile should contains:install! 'cocoapods', :disable_input_output_paths => true
At least until Xcode 11 will be released
What happened instead?
No warning - And I get surprises runtime.
CocoaPods Environment
v.1.7.5 (latest now)
Project that demonstrates the issue
not required cause we have confirmed and unfixed issue: #8073 which currently have only workaround
The text was updated successfully, but these errors were encountered: