Note: If this is a known issue and you're just waiting for Xcode 9 to be public before working on it, please close/ignore this.
pod install
on a project and then open it in Xcode 9.CocoaPods generates a project that doesn't have any warnings.
A project that was generated with a suggestion to "Update to recommended settings", with the following suggestions:
CocoaPods : 1.3.0.beta.2
Ruby : ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
RubyGems : 2.6.12
Host : Mac OS X 10.13 (17A306f)
Xcode : 9.0 (9M174d)
Git : git version 2.13.2
Ruby lib dir : /usr/local/Cellar/ruby/2.4.1_1/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ cee025f7d7ddc49076c481ecd08d8bd382428294
Executable Path: /usr/local/bin/pod
cocoapods-deintegrate : 1.0.1
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.0
cocoapods-stats : 1.0.0
cocoapods-trunk : 1.2.0
cocoapods-try : 1.1.0
platform :osx, '10.11'
target 'iina' do
use_frameworks!
# Pods for iina
pod 'MASPreferences', :git => 'https://github.com/saagarjha/MASPreferences.git'
pod 'Just', :git => 'https://github.com/saagarjha/Just.git'
pod 'AEXML'
pod "PromiseKit", :git => 'https://github.com/mxcl/PromiseKit.git', :branch => 'swift4-beta1'
pod 'GzipSwift', :git => 'https://github.com/1024jp/GzipSwift.git', :branch => 'swift4'
pod 'GRMustache.swift', :git => 'https://github.com/saagarjha/GRMustache.swift.git'
pod 'Sparkle'
# target 'iinaTests' do
# inherit! :search_paths
# # Pods for testing
# end
end
Here's one. You should probably try out the swift-4
branch, since the other ones don't build in Xcode 9.
I believe this has been merged but not released yet.
Great! Look forward to seeing this in a later version, then.
Has this been release as of 1.3.1? I'm seeing it as I attempt to migrate my project to Xcode 9.
@saagarjha Hey, has this issue actually been resolved for you? I'm on 1.3.1 and am still getting hit by it.
@dpfannenstiel No, it doesn't look like it. Maybe I'm missing a setting somewhere?
@dnkoutso Can you confirm that this has been released. I'm still seeing it with 1.3.1.
+1 still seeing this with 1.3.1 and Xcode 9 beta 6.
And I'm still seeing this on the GM of Xcode 9 (not a surprise there!) on 1.3.1.
Also seeing this with Xcode 9 GM on 1.3.1 but there are a few more warnings on mine.
Any plans to rectify this?
This has not shipped yet and it will ship with CocoaPods 1.4.0 (including betas)
@dnkoutso when do you think that this version comes out?
@dnkoutso do we have an estimated timeframe when we can expect an updated version of CocoaPods with support for Xcode 9?
@damacster the best i can give is hopefully next week. We do not have any set dates for releases. Keep in mind most people who contribute to this project do this in their free time.
I cant promise a specific date.
@damacster thanks for responding. I understand it鈥檚 an open source project and greatly appreciate all the hard work the community does continuing to grow the project. An early misunderstanding about the state of this issue may have contributed to concern about the release. Especially since 1.3.1 was released so recently.
Again, thanks for all the hard work. It鈥檚 a wonderful project.
@dpfannenstiel Thanks Dustin, i totally understand. Your work and the work of others on this project is greatly appreciated.
Should this issue be resolved in 1.4.0.beta.1
? I upgraded, ran a pod install
, but still see the "Upgrade to recommended settings" prompt.
Hm I ran the update with Xcode 9 and it did not produce any diff. Might need to inspect further.
Thanks @chrismanderson
@chrismanderson what is the diff you see when you do select to update the settings?
for me it adds lots of "lastKnownFileType = sourcecode.cpp.cpp;"
like http://take.ms/nl9Zb
I installed the beta and it's building without the projects settings warning now. Thanks.
(Note to self: Learn ruby. Contribute.)
The last known filetype I don't think that's part of the project settings and it's part of your configuration.
installed last beta build
run Editor->Validate Settings... on Pods project file and still see this message http://take.ms/urkfv
I also see the Update to recommended settings
warning which includes e.g. the whole moduel optimization setting....
Have you tried deleting your "Pods" folder and then running pod install
? That's what worked for me.
Jupp tried that at first 馃拑
Release please!
This should be fixed by https://github.com/CocoaPods/Xcodeproj/pull/496.
We will very soon release 1.4.0.beta.2 so if this is still a problem please file a new issue.
it still happens for me when using cocoapods 1.4.0.beta.2
Concur. Still a problem. Why close this?
Hi there both of you, it'd be nice if you followed the request from @dnkoutso just above - e.g. create a new issue showing what's changed. It's hard to keep track of issues on previously resolved issues at our scale. I'm going to lock this thread to keep more +1s.
Most helpful comment
And I'm still seeing this on the GM of Xcode 9 (not a surprise there!) on 1.3.1.