DEV Community

Discussion on: xcode 12 New Build System warns multiple commands produce Assets.car

Collapse
victory1908 profile image
Vinh Le Khanh • Edited on

thanks for the article. I have a development pod which has assets and xib, i have changed spec.resource to spec.resource_bundles. All resources are copied to development pod but can not retrieved using normal way

for xib

super.init(nibName: "SplashViewController",
                   bundle: Bundle(for: SplashViewController.self))
Enter fullscreen mode Exit fullscreen mode

and image

UIImage(named: name, in: Bundle(for: aClass), compatibleWith: nil) 
Enter fullscreen mode Exit fullscreen mode

all 2 above not working. How can we retrieve the resource?