Could not load NIB in bundle: 'NSBundle .../SwiftWarplyFramework.framework' with name 'MyRewardsViewController'
```
## Root Cause
The issue was that view controllers in the SwiftWarplyFramework were not properly specifying the NIB name and bundle when being instantiated. When your demo client tried to create these view controllers, iOS couldn't find the XIB files because it was looking in the wrong bundle.
## Solution Applied
Added proper initializers to all XIB-based view controllers in the framework:
Before the fix, when you tried to instantiate view controllers without specifying the bundle, iOS couldn't locate the XIB files in the framework bundle.
## View Controllers That Don't Need This Fix:
-**CampaignViewController** - Uses storyboard instantiation, not XIB files
@@ -1405,6 +1405,7 @@ public final class WarplySDK {
showDialog(controller,"Δεν υπάρχει σύνδεση","Αυτή τη στιγμή βρίσκεσαι εκτός σύνδεσης. Παρακαλούμε βεβαιώσου ότι είσαι συνδεδεμένος στο διαδίκτυο και προσπάθησε ξανά.")
}else{
lettempCampaign=CampaignItemModel()
// TODO: For consistency, consider changing to MyEmptyClass.resourceBundle()
@@ -1431,6 +1432,7 @@ public final class WarplySDK {
showDialog(controller,"Δεν υπάρχει σύνδεση","Αυτή τη στιγμή βρίσκεσαι εκτός σύνδεσης. Παρακαλούμε βεβαιώσου ότι είσαι συνδεδεμένος στο διαδίκτυο και προσπάθησε ξανά.")