soberman / ARSLineProgress

iOS progress bar, replacement for the default activity indicator.
MIT License
494 stars 66 forks source link

Xcode 8.1 and Swift 3.0 #18

Closed gateway closed 7 years ago

gateway commented 7 years ago

Hi, we had to finally update to Xcode 8.1 from 7.3.1 which now we are facing a big pain in dealing with the pods we are using and the fact that some of them are not updated for the proper syntax.

Here is what Im seeing so far..

image

Any ideas how to get around this.. we prefer to migrate all to 3, and not 2.3 for our project.

soberman commented 7 years ago

Hi!

I have migrated ARSLineProgress to Swift 3 a month ago, make sure to get the fresh version!

Cheeers

gateway commented 7 years ago

Sorry to re-open this but right now with Xcode 8.1 we are using your framework and the pod file..

Here is our podfile

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
target "AppA" do
    pod 'Parse'
    pod 'ParseFacebookUtilsV4'
    pod 'FBAnnotationClusteringSwift'
    pod 'ARSLineProgress', '~> 2.0'
    pod 'Bolts'
    pod 'HMSegmentedControl'
    pod 'MXSegmentedPager'

  post_install do |installer|
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '3.0'
      end
    end
  end
end

We still have a bunch of errors and its not working properly, so either the pod file is not the latest or something from xcode 8.0 to 8.1 changed..

We are just letting you know!

gateway commented 7 years ago

@DanSessions would this be propagated over to pods as well? and thanks btw

DanSessions commented 7 years ago

Checked this again and it doesn't appear as though our issues were related, sorry. I tried your Podfile and I only get errors related to the FBAnnotationClusteringSwift pod. Could this be a CocoaPods caching issue?

gateway commented 7 years ago

@DanSessions doesnt see to be, I nuked my Pods folder and did pod install which should get all the latest.. are you running xcode 8.1?

DanSessions commented 7 years ago

Yes, I'm running Xcode 8.1.

Try running sudo rm -fr ~/Library/Caches/CocoaPods/.