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

xcode 9.3 _Incremental #270

Open
josh-m-sharpe opened this issue Mar 30, 2018 · 2 comments
Open

xcode 9.3 _Incremental #270

josh-m-sharpe opened this issue Mar 30, 2018 · 2 comments

Comments

@josh-m-sharpe
Copy link

When building in xcode I get this:
Use of undeclared type '_Incrementable'

cordova/ionic show an error like this: (the arrow is pointing at _Incremental as well:

public struct JSONIndex: Comparable, _Incrementable, Equatable {
^~~~~~~~~~~~~~

** BUILD FAILED **

The following build commands failed:
CompileSwift normal x86_64 /Users/jsharpe/yellowstone/mobile/platforms/ios/D Fuse v0.0.12/Plugins/cordova-plugin-geofence/GeofencePlugin.swift
CompileSwift normal x86_64 /Users/jsharpe/yellowstone/mobile/platforms/ios/D Fuse v0.0.12/Plugins/cordova-plugin-geofence/SwiftData.swift
CompileSwift normal x86_64 /Users/jsharpe/yellowstone/mobile/platforms/ios/D Fuse v0.0.12/Plugins/cordova-plugin-geofence/SwiftyJson.swift
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler

@floydspace
Copy link

floydspace commented Apr 4, 2018

The _Incrementable protocol has been deleted from the inheritance hierarchy of Swift in version 3.3.
So just remove it from SwiftyJson.swift file next to JSONIndex derived struct. Seems it is not required.

@josh-m-sharpe
Copy link
Author

@F1oyd this appears to compile: #271

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