Skip to content
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

What about Swift 3 version ? #87

Closed
sebastienboulogne opened this issue Sep 16, 2016 · 18 comments
Closed

What about Swift 3 version ? #87

sebastienboulogne opened this issue Sep 16, 2016 · 18 comments

Comments

@sebastienboulogne
Copy link

Hey thank you for this work !! But when do you think the swift 3 version will be available for a pod update please ? Seem that many developers have issues with Swift 3 upgrade :/

@cruisediary
Copy link

+1

1 similar comment
@billionbucks
Copy link

+1

@Ferrick90
Copy link
Contributor

Hey guys, pls try this code in cocoapods to install Fusuma(Swift 3 version).

pod 'Fusuma', :git => 'https://github.com/pruthvikar/Fusuma.git', :commit => '503865a'

@billionbucks
Copy link

where to execute it ? pod 'Fusuma', :git => 'https://github.com/pruthvikar/Fusuma.git', :commit => '503865a' ? terminal ?

@Ferrick90
Copy link
Contributor

@billionbucks use terminal to install Cocoapods. After that, use Cocoapods to install Fusuma.

@johnnytrandev
Copy link

johnnytrandev commented Sep 20, 2016

@Ferrick90 I have installed Fusuma with Cocoapods. But It still has issues with Swift3. How can I fix it?

@billionbucks
Copy link

billionbucks commented Sep 20, 2016

do i have to put version too ? i tired like this pod 'Fusuma' and after installing i got this

Using Fusuma (0.5.3) is the version that i need ? @Ferrick90

@Ferrick90
Copy link
Contributor

Ferrick90 commented Sep 21, 2016

Sorry guys, pls try this code below.

target 'fusumatt' do
    pod 'Fusuma', :git => 'https://github.com/Ferrick90/Fusuma.git', :commit => 'a8a00a7'
end

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

fusumatt is my project name pls set your project name.

@johnnytrandev
Copy link

Hi Ferrick Chan,
Thanks for your support, I have build it and it works well.

Thanks
Johnny Tran

On Sep 21, 2016, at 10:03 AM, Ferrick Chan notifications@github.com wrote:

o

@billionbucks
Copy link

billionbucks commented Sep 21, 2016

@Ferrick90 i dont know what i'm missing i tried this in my pod file :

...... other pods
pod 'Fusuma', :git => 'https://github.com/Ferrick90/Fusuma.git', :commit => 'a8a00a7'
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

and terminal's output was Pre-downloading: Fusuma from https://github.com/Ferrick90/Fusuma.git, commit a8a00a7

Installing Fusuma 0.5.3 (was 0.5.3)

still after updating when i opened Fusuma i got error without any explanation (lldb) , am i missing something ??

screen shot 2016-09-21 at 10 40 26 am

@Ferrick90
Copy link
Contributor

@billionbucks make sure other pods have been updated to Swift 3 and try to clean + rebuild to ensure that everything is rebuilt with the new compilers and so the modules get updated.

@billionbucks
Copy link

billionbucks commented Sep 21, 2016

@Ferrick90 still no change , make sure other pods have been updated to Swift 3 i do have other pods (not updated to swift 3 i guess) too but they are working just fine and the error is occurring while accessing Fusuma.

@Ferrick90
Copy link
Contributor

@billionbucks read this article might help you.

@billionbucks
Copy link

hey man my bad @Ferrick90 . i tried my project on simulator (iOS 10) and its working there , but not on devices

@ytakzk
Copy link
Owner

ytakzk commented Sep 26, 2016

Hi guys, I just merged the pull request for swift3 to master branch but cannot submit Fusuma.podspec due to the error below. Do you know how to solve this?

Validating podspec
 -> Fusuma
 -> Fusuma (1.0.0)
    - ERROR | [iOS] unknown: Encountered an unknown error (Simulator iPhone 4s is not available.) during validation.

@gkaimakas
Copy link

Add an iPhone 4s simulator to xcode. It should be fine then

@aminasadi0
Copy link

aminasadi0 commented Oct 10, 2016

it works! Thanks!

@ytakzk
Copy link
Owner

ytakzk commented Oct 28, 2016

@sebastienboulogne you can install Fusuma 1.0.0 for swift3.

@ytakzk ytakzk closed this as completed Oct 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants