phonegap / build

This is the public repository for PhoneGap Build source and bug tracking
92 stars 33 forks source link

iOS platform does not build when using a plugin with Swift sources #521

Open IOExceptional opened 8 years ago

IOExceptional commented 8 years ago

We're trying to use the following plugin in our app;

https://github.com/cowbell/cordova-plugin-geofence

However, we're running into issues with the phonegap build service not being able to compile Swift.

We get the following errors;

** BUILD FAILED **

The following build commands failed:
CompileSwift normal arm64 /project/BuildTest/Plugins/cordova-plugin-geofence/GeofencePlugin.swift
CompileSwift normal arm64 /project/BuildTest/Plugins/cordova-plugin-geofence/SwiftData.swift
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(3 failures)

whereas, locally, this compiles fine

goya commented 8 years ago

I will be creating a new issue for this so all issues linked to swift support can be notified when t will be supported.

Cordova-iOS has yet to publicly dictate how it will go forward re: swift plugins so it may be a few weeks so we can hopefully rest on their work.

(hooks won't be supported on phonegap build)

goya commented 8 years ago

undocumented BETA support for swift plugins has been added to PhoneGap Build. it has been implemented as far as i was able to foresee what approach cordova will take.

it is currently beta and undocumented pending a concensus and implementation in the Apache Cordova iOS platform.