The issue is that the file isn’t being copied to your app bundle. To fix it:
- Click your project
- Click your target
- Select Build Phases
- Expand Copy Bundle Resources
- Click ‘+’ and select your file.
More Related Contents:
- Type ‘Any’ Has no Subscript Members in Xcode 8.1 Swift 3
- Issue while adding action to UIButton in Swift 3.0
- DateFormatter doesn’t return date for “HH:mm:ss”
- DateFormatter’s returns nil for specific date strings without time in Swift
- How to get a user’s time zone?
- NSRange from Swift Range?
- Swift saving and retrieving custom object from UserDefaults
- How can I convert from degrees to radians?
- AnyObject not working in Xcode8 beta6?
- Type ‘Any’ Has no Subscript Members in xcode 8 Swift 3 [duplicate]
- How to implement method swizzling swift 3.0?
- In Swift, how do I avoid both optionals and nil object references?
- How to create managedObjectContext using Swift 3 in Xcode 8?
- Strange generic function appear in view controller after converting to swift 3
- How to I import 3rd party frameworks into Xcode Playground?
- Swift 3 Core Data Delete Object
- How to access file included in app bundle in Swift?
- Using ScrollView Programmatically in Swift 3
- How to open an URL in Swift?
- Can’t Hide Status Bar—Swift 3, [duplicate]
- Redirect NSLog to File in Swift not working
- How to push and present to UIViewController programmatically without segue in iOS Swift 3
- Why would a `scheduledTimer` fire properly when setup outside a block, but not within a block?
- Using SecRandomCopyBytes in Swift
- UITableViewCell Buttons with action
- How can I programmatically find Swift’s version?
- How to draw a circle path with color gradient stroke
- Create Directory in Swift 3.0
- Swift 3: Unrecognized selector sent to instance Xcode 8 [duplicate]
- How to Read Plist without using NSDictionary in Swift?