You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by dp...@apache.org on 2021/10/18 05:45:59 UTC

[cordova-ios] branch master updated: chore(swiftpm): Fix up CordovaLib Swift Package (#1160)

This is an automated email from the ASF dual-hosted git repository.

dpogue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-ios.git


The following commit(s) were added to refs/heads/master by this push:
     new 92e6830  chore(swiftpm): Fix up CordovaLib Swift Package (#1160)
92e6830 is described below

commit 92e683045fc7bb48d78394b716083cee3f674f17
Author: Darryl Pogue <da...@dpogue.ca>
AuthorDate: Sun Oct 17 22:45:55 2021 -0700

    chore(swiftpm): Fix up CordovaLib Swift Package (#1160)
---
 CordovaLib/{include => Cordova}/Cordova.h       | 0
 CordovaLib/CordovaLib.xcodeproj/project.pbxproj | 2 +-
 Package.swift                                   | 3 ++-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/CordovaLib/include/Cordova.h b/CordovaLib/Cordova/Cordova.h
similarity index 100%
rename from CordovaLib/include/Cordova.h
rename to CordovaLib/Cordova/Cordova.h
diff --git a/CordovaLib/CordovaLib.xcodeproj/project.pbxproj b/CordovaLib/CordovaLib.xcodeproj/project.pbxproj
index 250d6a5..9172a8a 100644
--- a/CordovaLib/CordovaLib.xcodeproj/project.pbxproj
+++ b/CordovaLib/CordovaLib.xcodeproj/project.pbxproj
@@ -316,7 +316,6 @@
 		9064EF5E26FAB74200C9D65B /* include */ = {
 			isa = PBXGroup;
 			children = (
-				C0C01EB41E3911D50056E6CB /* Cordova.h */,
 				9064EF5F26FAB74800C9D65B /* Cordova */,
 			);
 			path = include;
@@ -362,6 +361,7 @@
 		C0C01EB31E3911D50056E6CB /* Cordova */ = {
 			isa = PBXGroup;
 			children = (
+				C0C01EB41E3911D50056E6CB /* Cordova.h */,
 				C0C01EB51E3911D50056E6CB /* Info.plist */,
 			);
 			path = Cordova;
diff --git a/Package.swift b/Package.swift
index 64568f3..c59eca2 100644
--- a/Package.swift
+++ b/Package.swift
@@ -34,9 +34,10 @@ let package = Package(
         .target(
             name: "Cordova",
             path: "CordovaLib/",
+            exclude: ["VERSION", "cordova.js", "Cordova/Cordova.h", "Cordova/Info.plist"],
             cSettings: [
               .headerSearchPath("Classes/Private")
-           ]
+            ]
         )
     ]
 )

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org