diff --git a/EmbedFramework/AdaWebHostViewController.storyboard b/EmbedFramework/AdaWebHostViewController.storyboard index 05661d9..fb7c1d4 100644 --- a/EmbedFramework/AdaWebHostViewController.storyboard +++ b/EmbedFramework/AdaWebHostViewController.storyboard @@ -1,9 +1,9 @@ - + - + @@ -26,7 +26,7 @@ - + diff --git a/EmbedFramework/OfflineViewController.swift b/EmbedFramework/OfflineViewController.swift index 6e59565..d77e604 100644 --- a/EmbedFramework/OfflineViewController.swift +++ b/EmbedFramework/OfflineViewController.swift @@ -27,7 +27,7 @@ class OfflineViewController: UIViewController { storyboard = UIStoryboard(name: "AdaWebHostViewController", bundle: frameworkBundle) } else { // Used for if SDK was manually imported - storyboard = UIStoryboard(name: "AdaWebHostViewController", bundle: bundle) + storyboard = UIStoryboard(name: "AdaWebHostViewController", bundle: .module) } return storyboard.instantiateViewController(withIdentifier: "OfflineViewController") as? OfflineViewController } diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..bc96b82 --- /dev/null +++ b/Package.swift @@ -0,0 +1,19 @@ +// swift-tools-version:5.3 +import PackageDescription + +let package = Package( + name: "AdaEmbedFramework", + defaultLocalization: "en", + products: [ + .library( + name: "AdaEmbedFramework", + targets: ["AdaEmbedFramework"] + ), + ], + targets: [ + .target( + name: "AdaEmbedFramework", + path: "EmbedFramework" + ) + ] +)