nmdias / FeedKit

An RSS, Atom and JSON Feed parser written in Swift
MIT License
1.19k stars 174 forks source link

Trying to run Conversion to Swift 4.2 #74

Closed dbadmin closed 5 years ago

dbadmin commented 5 years ago

I get this error when trying to run the Conversion to Swift 4.2 and I am using pod install to install.

:0: error: module map file 'build/Release-iphoneos/FeedKit/FeedKit.modulemap' not found :0: error: module map file 'build/Release-iphoneos/FeedKit/FeedKit.modulemap' not found :0: error: missing required module 'SwiftShims'
nmdias commented 5 years ago

Hi, @dbadmin.

Project as been converted to Swift 4.2 in commit.

Thanks

dbadmin commented 5 years ago

I ran the pod update but still can not convert my project to Swift 4.2 because of the error I get.

nmdias commented 5 years ago

@dbadmin have you tried deleting your derived data folder? 🤔

dbadmin commented 5 years ago

I removed everything in the derived data folder. I have removed all pods and all files associated then reinstalled all of them. The project builds and runs currently with out any issues, just cannot run the upgrade to Swift 4.2 on the main target.

nmdias commented 5 years ago

@dbadmin how about this way, remove FeedKit completely, migrate to 4.2 and then add FeedKit again.

That will either work, or at least give a glimpse of what’s the issue.

dbadmin commented 5 years ago

I was able to run the convert after commenting out FeedKit and SwiftSoup pods. Then I ran pod update to remove them and then commented out all code that used the pods and was able to run the update.

My Pod file. platform :ios, '11.2' target "Test App" do pod 'Firebase/Core' pod 'Fabric' pod 'Crashlytics'

pod 'FeedKit'

pod 'SwiftSoup'

end

nmdias commented 5 years ago

Good to know!

Cheers