Orderella / PopupDialog

A simple, customizable popup dialog for iOS written in Swift. Replaces UIAlertController alert style.
http://www.mwfire.de
Other
3.96k stars 522 forks source link

Getting linking error using popupdialog in messages extension #302

Closed wassupdoc closed 5 years ago

wassupdoc commented 5 years ago

Report

I just switched from using cocoapods to carthage due to other issues. As a pod my messages extension app was building and running fine. Now when I include the framework I get the following warnings and my app doesn't run due to dyld: Library not loaded: @rpath/PopupDialog.framework/PopupDialog

ld: warning: linking against a dylib which is not safe for use in application extensions: /Users/prasanth/Documents/freeradical/sharecontact/Carthage/Build/iOS/DynamicBlurView.framework/DynamicBlurView
ld: warning: linking against a dylib which is not safe for use in application extensions: /Users/prasanth/Documents/freeradical/sharecontact/Carthage/Build/iOS/PopupDialog.framework/PopupDialog

Environment

Please provide information on your development environment, so we can build with the same scenario.

Dependency management

If you are not using any dependency managers, you can remove this section.

What did you do?

What did you expect to happen?

app to run same as before i switched from cocoapods to carthage

What happened instead?

warnings during build:

ld: warning: linking against a dylib which is not safe for use in application extensions: /Users/prasanth/Documents/freeradical/sharecontact/Carthage/Build/iOS/DynamicBlurView.framework/DynamicBlurView
ld: warning: linking against a dylib which is not safe for use in application extensions: /Users/prasanth/Documents/freeradical/sharecontact/Carthage/Build/iOS/PopupDialog.framework/PopupDialog

App fails to with error:

dyld: Library not loaded: @rpath/PopupDialog.framework/PopupDialog
  Referenced from: /CoreSimulator/Devices/F2CF3CD9-7331-4728-8F51-4BDD5DA5DF47/data/Containers/Bundle/Application/86BF7C59-877A-4C2A-94D6-461A87C5252C/ShareContact.app/PlugIns/ShareContact MessagesExtension.appex/ShareContact MessagesExtension
  Reason: image not found
stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.