Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

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

Open
IOExceptional opened this issue May 24, 2016 · 2 comments
Open

Comments

@IOExceptional
Copy link

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
Copy link
Member

goya commented May 24, 2016

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
Copy link
Member

goya commented Aug 27, 2016

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants