-
Notifications
You must be signed in to change notification settings - Fork 21
Integration via Carthage
Davor Komušanac edited this page Dec 5, 2022
·
2 revisions
If you use Carthage to manage your dependencies, just add MobileMessaging to your Cartfile
:
github "infobip/mobile-messaging-sdk-ios"
Starting from Carthage version 0.37.0 it's required to build XCFrameworks instead of Frameworks, information about migrating a project from framework bundles to xcframeworks provided on Carthage github wiki.
- Build MobileMessaging.xcframework as described in Carthage docs
- Add
MobileMessaging.xcframework
to the "Linked Frameworks and Libraries" section of your main application target - If you are using MobileMessagingNotificationExtension, add
MobileMessaging.xcframework
to the "Linked Frameworks and Libraries" section ofMobileMessagingNotificationExtension
target. - If your application target does not contain Swift code at all, you should also set the EMBEDDED_CONTENT_CONTAINS_SWIFT build setting to “Yes”.
- Build MobileMessaging.framework
carthage update --no-use-binaries
as described in Carthage docs - Add
MobileMessaging.framework
to the "Linked Frameworks and Libraries" section of your main application target - If you are using MobileMessagingNotificationExtension, add
MobileMessaging.framework
to the "Linked Frameworks and Libraries" section ofMobileMessagingNotificationExtension
target. - Include
MobileMessaging.framework
in your Carthage framework copying build phase (as described in Carthage documentation). - If your application target does not contain Swift code at all, you should also set the
EMBEDDED_CONTENT_CONTAINS_SWIFT
build setting to “Yes”.
If you have any questions or suggestions, feel free to send an email to support@infobip.com or create an issue.
- Library events
- Server errors
- Users and installations
- Messages and notifications management
- Inbox
- Geofencing service
- Privacy settings
- In-app chat
- WebRTC Calls and UI