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

Podspec update in swift3 branch #15

Closed
asidden opened this issue Sep 13, 2016 · 3 comments
Closed

Podspec update in swift3 branch #15

asidden opened this issue Sep 13, 2016 · 3 comments
Assignees

Comments

@asidden
Copy link

asidden commented Sep 13, 2016

Looks like podspec in swift3 branch must be updated to use Alamofire v4.0

@DenTelezhkin
Copy link
Member

Hey!
It will be on those weekends, we'll be making release for Swift 3 with Alamofire v4.0.

We are also waiting for SwiftyJSON dependency to be updated. If it's not updated by Saturday, we'll make our own release of SwiftyJSON for Swift 3, since we cannot wait any longer.

So stay tuned =)

@asidden
Copy link
Author

asidden commented Sep 14, 2016

@DenHeadless , i've managed to get everything done with some pod spec overrides for now (this may serve as a temporary workaround for those seeking for the solution right now)

pod 'SwiftyJSON', :podspec => 'https://gist.githubusercontent.com/asidden/e448827fd120f6801cea7ee34446b59b/raw/b4aba2549c5bb083329b3d3412dbf143aebb7ce7/SwiftyJSON.podspec'
pod 'TRON', :podspec => 'https://gist.githubusercontent.com/asidden/1e53c2c3e87324a61a0600c1d3534c1b/raw/e6d3526dc11646e9237d8d61393703e99854d2b4/TRON.podspec'

what's done in general:
TRON pod spec modified to use Alamofire 4.0
SwiftyJSON pod spec modified to use fork with swift3 support implemented

also, the order in Podfile must be exactly as in code snippet

UPD: also this little snippet may be required at the tail of Podfile

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

@DenTelezhkin DenTelezhkin self-assigned this Sep 14, 2016
@DenTelezhkin DenTelezhkin mentioned this issue Sep 15, 2016
@DenTelezhkin
Copy link
Member

TRON 2.0.0-beta.1 has been released!
https://github.com/MLSDev/TRON/releases/tag/2.0.0-beta.1

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

2 participants