Closed kalaiprakash93 closed 5 years ago
I never used phonegap build and I don´t know if it is compatibile.
Could you please post the log? The link does not work without authentication.
I'm having the same problem, compile for android but not for ios. I think Phonegap Build does not support the Swift language, other plugins that use this language are having the same problem: https://forums.adobe.com/message/10430720#10430720
Log:
**=== BUILD TARGET Dominus OF PROJECT Dominus WITH CONFIGURATION Release ===
Check dependencies The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. Supported values are: 3.0, 4.0, 4.2. This setting can be set in the build settings editor. The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. Supported values are: 3.0, 4.0, 4.2. This setting can be set in the build settings editor.
ARCHIVE FAILED
The following build commands failed: Check dependencies (1 failure) Error code 65 for command: xcodebuild with args: -xcconfig,/private/project/cordova/build-release.xcconfig,-workspace,Dominus.xcworkspace,-scheme,Dominus,-configuration,Release,-destination,generic/platform=iOS,-archivePath,Dominus.xcarchive,archive,CONFIGURATION_BUILD_DIR=/private/project/build/device,SHARED_PRECOMPS_DIR=/private/project/build/sharedpch,-UseModernBuildSystem=0**
Did you try <preference name="UseSwiftLanguageVersion" value="3.0" />
in you config.xml file?
This could help. Other swift versions may work, too.
Yes, but not working. I solved it in a different way, I include a bridge header in plugin.xml:
<platform name="ios">
...
<header-file src="src/ios/Bridging-Header.h" />
...
</platform>
And the Bridging-Header.h file consists of:
`// // Use this file to import your target's public headers that you would like to expose to Swift. //
I made a fork of your project in mine and changed it: https://github.com/fasjunior/cordova-plugin-fingerprint-aio.git
Would you like to create a pull request? I could test this and the header shouldn´t hurt.
Ok
After added this plugin phonegap build is not successful.Please help me out of this. I have attached my config.xml file code.and errors.
LOG URL : https://build.phonegap.com/apps/3435374/logs/ios/build/
`<?xml version='1.0' encoding='utf-8'?>