Closed cuba closed 3 years ago
What version of SwiftMessages are you using and how is it installed (e.g. CocoaPods, etc.)?
@wtmoose : I think I am getting the same error, I am updating my app, using Xcode 12.1, and SwiftMessages v8.0.2.
This is what the Xcode error says:
Compile XIB file CardView.xib
Failed to find or create execution context for description '<IBCocoaTouchPlatformToolDescription: 0x7fca31df1570> System content for IBCocoaTouchFramework-NineOneAndLater <IBScaleFactorDeviceTypeDescription: 0x7fca31d4d760> scaleFactor=2x, renderMode.identifier=(null)'.
Looking forward for #424 to be merged.
@fbernaly you didn't provide the info I asked for.
@wtmoose Xcode 12.1 SwiftMessages: v8.0.2. installed: Cocoapods iOS14
BTW, I cloned @cuba's branch (for #424) and changed my pod file to point to the path of the local copy, and that does not fix my issue.
@cuba if you’re using SPM, you’ve either got to following the instructions in #395 or use the unreleased version on the work/xcode12
branch.
Not sure what issue you're having, but try 8.0.3. I've tested it with CocoaPods, SPM and Carthage.
Yes, I see that there is a fix to the issue. Hopefully you guys will merge this fix sooner than later.
When attempting to call the following:
The following exception is triggered:
I don't personally use XIBs. But when loading resources in SPM you need to use
Bundle.module
to load resources. Not sure if this falls under this category.There is also this PR which may be a solution to the issue: https://github.com/SwiftKickMobile/SwiftMessages/pull/424