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.
Xcode version (e.g. 9.1): 10.1
PopupDialog version (e.g. 0.5.0): 0.9.2
Minimum deployment target (e.g. 9.0): 0.9
Language (Objective-C / Swift): Swift
In case of Swift - Version (e.g. 4): 4.2
Dependency management
If you are not using any dependency managers, you can remove this section.
Dependency manager (e.g. CocoaPods): Carthage
Version (e.g. 1.3.1): 0.32.0
What did you do?
installed carthage with cartfile containing - github "Orderella/PopupDialog" ~> 0.9
ran carthage with 'carthage update --platform iOS'
added frameworks from build/ios to my messages extension under 'linked frameworks and libraries'
build and run the app
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
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.
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
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?
github "Orderella/PopupDialog" ~> 0.9
'carthage update --platform iOS'
What did you expect to happen?
app to run same as before i switched from cocoapods to carthage
What happened instead?
warnings during build:
App fails to with error: