IGListKit: IGListKitCrashes when used in an iMessages Extension

New issue checklist

General information

  • Library version(s):1.0.0
  • XCode:8.0
  • iOS version(s):10.0.x
  • Devices/Simulators affected:iPhone 7Plus
  • Reproducible in the demo project? (Yes/No):Yes

Running iMessage Apps which have IGListKit included via CocoaPods results in the app crashing on launch with the error like the following: dyld: Library not loaded: @rpath/IGListKit.framework/IGListKit Referenced from: /Users/demo/Library/Developer/CoreSimulator/Devices/5C343568-A532-405F-8B65-52A049827328/data/Containers/Bundle/Application/AA18B7D3-48C4-4958-A14C-C056A309D6D8/IGListStickerDemo.app/PlugIns/MessagesExtension.appex/MessagesExtension Reason: image not found

Check out https://github.com/ishabazz/IGListKitMessagesExtensionDemo for a sample project that exhibits this error.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 24 (16 by maintainers)

Commits related to this issue

Most upvoted comments

I’m still getting this warning intermittently. I’m using pods 1.6.1. Why is this happening and how do I fix it.

👍

will re-open if needed

@rnystrom @ishabazz Flagging to be closed?

There’s now an example in the pack, and the issue at hand was seemingly resolved.

Created a very basic example over on my fork (here) of an iMessage extension.

I’ve downloaded your demo repository and it seems that it doesn’t have the ‘Embed Pods Frameworks’ run script which is usually generated by CocoaPods - this would most likely explain the error (and when you add it, seems to work)

EDIT: I’ve created a pull request to your repository which is working for me (clean your workspace if you pull it down) link