File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ let package = Package(
13
13
. library(
14
14
name: " WebViewSDK " ,
15
15
targets: [ " WebViewSDK " ] ) ,
16
+
16
17
] ,
17
18
dependencies: [
18
19
// Dependencies declare other packages that this package depends on.
@@ -23,7 +24,8 @@ let package = Package(
23
24
// Targets can depend on other targets in this package, and on products in packages this package depends on.
24
25
. target(
25
26
name: " WebViewSDK " ,
26
- dependencies: [ ] ) ,
27
+ dependencies: [ ] ,
28
+ resources: [ . copy( " SDKMain.storyboard " ) ] ) ,
27
29
. testTarget(
28
30
name: " WebViewSDKTests " ,
29
31
dependencies: [ " WebViewSDK " ] ) ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public struct WebViewSDK {
13
13
}
14
14
15
15
public static func initWebViewController( ) -> WebViewController {
16
- let storyboard = UIStoryboard ( name: " SDKMain " , bundle: nil )
16
+ let storyboard = UIStoryboard ( name: " SDKMain " , bundle: Bundle . module )
17
17
return storyboard. instantiateViewController ( withIdentifier: " WebViewControllerID " ) as! WebViewController
18
18
}
19
19
}
You can’t perform that action at this time.
0 commit comments