particle-iot / spark-setup-ios

(DEPRECATED) Spark device setup library - Soft AP Cocoapod/Carthage lib for iOS
Apache License 2.0
19 stars 25 forks source link

Could not load the "xxxxxxxxx.png" image referenced from a nib in the bundle with identifier "(null)" #46

Closed iain-reid closed 2 years ago

iain-reid commented 8 years ago

I've added pod 'SparkSetup' and the libraries appear to have been added correctly - the setup view controller presents and functions correctly.

However it is missing all of the imagery/loaders etc. I get warnings in the log window - "Could not load the "xxxxxxxxx.png" image referenced from a nib in the bundle with identifier "(null)" for every image.

Looking into the pod folder, the setup.storyboard views look empty (nothing being drawn) however all of the UI/connections to images etc. appear correct (see image)

setup_storyboard_ _edited

The setup.xcassets folder looks correct - the images are all there.

I may be overlooking something simple - any help would be much appreciated :-)

idokleinman commented 8 years ago

which pod version did you use? this issue was fixed on 0.4.1 https://github.com/spark/spark-setup-ios/blob/master/CHANGELOG.md#041-2016-5-19

iain-reid commented 8 years ago

I've updated Cocoapods to 1.0.0 and it seems to work now - been resisting as Parse SDK seems to have an issue with 1.0.0... round and round we go :-p

Thanks for the advice though!

williamhqs commented 8 years ago

How did you solve this issue? I updated to Cocoapods 1.0.1 too. Still got the same issue. Thank you! @DeepLight @idokleinman

- Spark-SDK, 0.4.1
- SparkSetup, 0.5.0
iain-reid commented 8 years ago

Hey @williamhqs - not sure if this makes any difference, but I've left use_frameworks commented out in the podfile, and I only include SparkSetup (as I think spark-SDK is pulled in anyway)

williamhqs commented 8 years ago

@deeplightco Thank you. I can't comment out Spark-SDK, you are right. But i can't commented out use_frameworks because i use swift library.... @idokleinman Any help thanks!