evgenyneu / Auk

An image slideshow for iOS written in Swift.
MIT License
277 stars 44 forks source link

Changing Podfile doesn't update the code for Swift 3; keep getting error in Xcode #51

Closed gadget00 closed 7 years ago

gadget00 commented 7 years ago

I'm migrating my dev environment to Xcode 8 and Swift 3. According to Xcode, the Auk and moa code aren't updated to Swift 3 and it keeps asking me to "upgrade the source". I followed the new instructions, deleted all the podfile.lock, the pod folder and also the .xcworkspace file and generated everything again from the terminal; still no luck.

Am I doing something wrong or missing something??

Thank you

evgenyneu commented 7 years ago

Hello @gadget00, thanks for reporting. This is very strange indeed. If you updated moa and Auk to the recent versions mentioned in the README than CocoaPods should either update them or show an error. I have created a new project in Xcode 8.1 with Auk and Moa and it works fine. Could you attach a screenshot of your error(s) please?

UsingMoa.zip

gadget00 commented 7 years ago

Somehow after opening your project (it opened without any error), I again recreated all the pod files and now they are fine. We can close this. Here is a screenshot of my podfile and the pod instal output, just for checking. I'm still working on some code (some Google Places stuff that is not working now) but the warning page doesn't show up anymore. Would it be corrected now?

Thanks for the quick response

screen shot 2016-11-11 at 2 09 38 pm

screen shot 2016-11-11 at 3 12 40 pm

evgenyneu commented 7 years ago

I am glad that the problem solved itself. I do not know what it was. Nice color scheme, by the way. Thanks for reporting, anyway, and good luck updating the rest of your project to Swift 3.

evgenyneu commented 7 years ago

Closing the issue, feel free to reopen if needed.