Skip to main content

Questions tagged [ios]

iOS is a mobile operating system developed and distributed by Apple Inc.

Filter by
Sorted by
Tagged with
1 vote
3 answers
143 views

SFMCSDK for iOS - Framework Signature Validation Failed

We have been facing an issue recently with the SFMCSDK.xcframework signature on Xcode15. The builds are failing due to the signature check in XCode failing. https://github.com/salesforce-...
Georges's user avatar
  • 13
3 votes
0 answers
68 views

MarketingCloudSDK-iOS repository has been Archived

The repository for the iOS MarketingCloudSDK has been archived: https://github.com/salesforce-marketingcloud/MarketingCloudSDK-iOS Is there a replacement available? All the documentation I've found ...
tww0003's user avatar
  • 131
0 votes
1 answer
90 views

Broken phone with "Keychain is Not Accessible. SFMCSDK will Not initialize!"

We updated our iOS SFMC SDK and did a partial update where we first updated the SDK to 8.1.2 and only in a second build we fixed the dependency to https://github.com/salesforce-marketingcloud/sfmc-sdk-...
Roundtrip's user avatar
0 votes
1 answer
71 views

[Xcode][SPM] Failed to resolve Dependencies version 8.0.13

today I found out that I can't resolve any other than the newest (8.1.2) version of MarketingCloudSDK-iOS. SPM says this when I try to resolve 8.0.13 version: Failed to resolve dependencies ...
Michael Pohl's user avatar
0 votes
0 answers
52 views

How do I call PushModule.initModule? What is the second argument?

In iOS. I am hitting this error. Fatal error: SFMCSdk.initModule() must be called before using PushModule I don't know how to call PushModule.initModule. How do I call PushModule.initModule? What is ...
shu07's user avatar
  • 1
0 votes
0 answers
35 views

iOS [MarketingCloudSDKFoundation(ClientData) sfmc_setAttributeNamed:value:]_block_invoke crash

We're experiencing crash from com.salesforce.marketingcloud.marketingcloudsdk.foundation.registration thread. Seems like it happens, when main thread calls sfmc_setPushEnabled. Did anyone experience ...
Michael Kovalevsky's user avatar
0 votes
0 answers
49 views

MarketingCloudSDK Core Data Crash

I am experiencing crashes on an app in production with the following error message:
 Fatal Exception: NSInvalidArgumentException +entityForName: nil is not a legal NSManagedObjectContext parameter ...
Denis's user avatar
  • 1
0 votes
0 answers
173 views

MarketingCloudSDK-iOS | A few devices are not receiving push notifications. Which scenarios can cause the cancelled status?

We noticed that a few devices are not receiving push notifications on iOS. We are using MarketingCloudSDK 8.1.0. This is how we are configuring the SDK: let configuration = PushConfigBuilder(appId: ....
Emerson Mendes Filho's user avatar
1 vote
0 answers
31 views

IOS users cant reach VF page in the mobile app

I'm trying to open a component that redirects the user to VF page - on The Salesforce Application on the mobile. Android devices can be redirected successfully, while IOS users don't. Can anyone tell ...
Salvation's user avatar
  • 1,189
0 votes
1 answer
77 views

SFMCSdk ios crash react native

Trying to integrate react-native 0.68 with "react-native-marketingcloudsdk": "^8.0.0" The app crashed with the below error. Terminating app due to uncaught exception '...
katik S's user avatar
  • 11
0 votes
1 answer
182 views

iOS MarketingCloudSDK -v 8.0.13 and SFMCSDK -v1.08 - App Crash

We are currently using iOS MarketingCloudSDK -v8.1.3 and SFMCSDK -v1.08 and SFMCKeychainItemWrapper has caused quite a few crashes. I have attached a Bugsnag code snippet for your review. Hardware ...
Kiran Vangapalli's user avatar
2 votes
0 answers
132 views

What is the fastes way to completely reload an Aura Component during debugging for iPhones after code changes? How to avoid any caching?

After doing some debugging of an Aura Component on a real iPhone, I went almost crazy because I needed to kill/restart the Salesforce mobile app at minimum 2 times and sometimes even more often to ...
Uwe Heim's user avatar
  • 28.4k
3 votes
2 answers
896 views

How to Run and Debug Salesforce Mobile App on the desktop? (reloaded 3rd time and many years later...)

I was struggling with mobile development from day one of Lightning Experience and the Saleforce Mobile app. Always I felt a huge pain and gave up mobile development and put my focus on desktop, ...
Uwe Heim's user avatar
  • 28.4k
0 votes
0 answers
115 views

Unable to login with iOS app that incorporates MobileSDK

I have a question about the Mobile SDK for iOS. We are implementing IP restriction settings in a sandbox environment, I have set up IP restrictions in the sandbox environment so that test devices can ...
sirotaka's user avatar
0 votes
1 answer
112 views

SFMCURLTypeAction constant in sfmc_handleURL

I am implementing the sfmc_handleURL function (doc reference), and I found there are 3 possible constants for the type argument: SFMCURLTypeCloudPage SFMCURLTypeOpenDirect SFMCURLTypeAction What ...
Matt's user avatar
  • 43
0 votes
1 answer
94 views

Missing file from sfmc-sdk-ios - Hardcoded path to all-product-headers.yaml

When trying to debug our application via LLDB, when I try and print out a variable using po object, it reports an error saying that it can't find all-product-headers.yaml. Here's the specific error: ...
Chris B's user avatar
0 votes
0 answers
48 views

How to modify and run SOQL query dynamically in swift/Objective-C SalesforceSDK 10.2.0?

How Update with dynamic value in the Where clause from Swift/Objective-c coding in the below 'usersyncs.json' configuration. ''' { "syncName": "syncDownUser", "syncType": ...
adijazz91's user avatar
  • 101
0 votes
1 answer
606 views

Could not build module 'SFMCSDK' & module 'MarketingCloudSDK'

it's Ian, an iOS dev. My client wants to migrate the push notifications campaigns management of their iOS and Android apps to Salesforce. I'm facing compile issues after adding the marketing libraries ...
Ian Magarzo's user avatar
0 votes
1 answer
215 views

How to access IOS cache in Mobile publisher app?

I've created several different pages in a lightning Aura-type community. I want to implement the "Back" button functionality. Whenever a user navigates to a different page they should be ...
Krishnan Mishra's user avatar
1 vote
1 answer
224 views

Marketing Cloud SDK crash 8.0.8 and then On upgrade to 8.0.11 - Please add correct version of MarketingCloudSDK.bundle, Added version: 8.0.8/8.0.11

We have been using 8.0.8 build and it was working fine till yesterday but all of the sudden, our Nightly builds releasing to TestFlight start crashing. So we have tried to update our SDK to 8.0.11 ...
Ankit Thakur's user avatar
1 vote
1 answer
466 views

Marketing Cloud SDK crash 8.0.11 Crash with error: Please add correct version of MarketingCloudSDK.bundle

I was previously using Marketing Cloud sdk 8.0.9 with MarketingCloud.bundle 8.0.8 which worked fine but my testflight build started crashing with error: Please add correct version of MarketingCloudSDK....
Rohan Mehta's user avatar
0 votes
1 answer
197 views

(iOS) Issue concerning system token using Cordova plugin

I am developing a mobile application using Ionic and I've tried to include the MC-Cordova plugin (https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin). The point is that I have everything ...
Alberto Gómez's user avatar
0 votes
1 answer
455 views

User is getting auto logged into an app on iOS even after logout

We have a custom application build on SF mobile SDK. We have a connected app on the CRM side where we use REST APIs for the communication with the mobile application. We noticed a peculiar issue on ...
VarshaVRK's user avatar
1 vote
1 answer
260 views

iOS MarketingCloudSDK 8.0.9 crash

We currently use MarketingCloudSDK 8.0.6 and SFMCSDK 1.0.4 in our production app with no issue. One of our marketing folks received the email about a bug fix in 8.0.9 that fixes a bug that affects &...
Joey's user avatar
  • 37
1 vote
1 answer
336 views

Badge count is not increment/decrement in iOS App

We are migrating from Urban Airship to Salesforce MobilePush. I am using react-native-marketingcloudsdk, when I am sending push notification, the AppIcon Badge counts are not getting increment, also ...
rkaartikeyan's user avatar
1 vote
1 answer
142 views

Crash on App start iOS version 8.0.8

We updated SDK version to 8.0.8 for using InApp messaging by method "trackEvent". Testing didn't catch crashes on app start. But we have a lot of it on production after release. We don't ...
Roman's user avatar
  • 21
0 votes
0 answers
454 views

Visualforce Page not loading on iPad

I'm trying to load a visualforce page on an iPad, but when I click on the button the page is blank and nothing is showing. The VF page is loading fine when I'm using SF on a computer. I tried to turn ...
Raphael's user avatar
  • 11
1 vote
1 answer
354 views

sfmc_handleURL is not working for iOS with react-native-marketingcloudsdk

When I click notification which having OpenDirect URL, it's not triggering sfmc_handleURL method in AppDelegate.m. Kindly find out below code for the implementation. AppDelegate.h #import <React/...
rkaartikeyan's user avatar
-2 votes
1 answer
39 views

The "InboxMessages Methods" documentation is down

The "InboxMessages Methods" documentation. is down, is there any other place that has official documentation? https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/inbox/inbox....
Ronald Silva's user avatar
0 votes
1 answer
104 views

CoreData: -[NSManagedObjectContext setParentContext:] + 340

I'm having a crash for a few months that's affecting alot our user base. We are using MarketingCloudSDK with Cocoapods configuration: - MarketingCloud-SFMCSdk (1.0.6) - MarketingCloudSDK (8.0.8): ...
Giovanni's user avatar
4 votes
1 answer
639 views

SFMCSDK Mobile push SDK iOS crashes with the exception: com.salesforce.security.keychainException

We are seeing a crash on Crashlytics after upgrading marketing cloud SDK to 8.0.8 and SFMCSDK version 1.0.0 in the live version of app. Many users are affected. com.salesforce.security....
Rohan Mehta's user avatar
1 vote
1 answer
644 views

Crashing +entityForName: nil is not a legal NSManagedObjectContext parameter searching for entity name 'SFMCEndpointConfigurationEntity'

After Migrating the current mobile push SDK (iOS ) to the latest version, App started crashing on the launch with fatal exception NSInvalidArgumentException +entityForName: nil is not a legal ...
Ajay Singh Mehra's user avatar
0 votes
1 answer
194 views

SFMCSDK breaking Xcode previews in Xcode 14

We are using the marketing cloud SDK (through SPM) configured as mentioned in https://salesforce-marketingcloud.github.io/MarketingCloudSDK-iOS/get-started/get-started-migration.html When using Xcode ...
fespinozacast's user avatar
1 vote
2 answers
289 views

Crashing after migrating to 8.0.0 with uncaught exception 'NSInternalInconsistencyException'

After Migrating the current mobile push SDK (iOS ) to the latest version, App started crashing on the launch with uncaught exception Terminating app due to uncaught exception '...
Ajay Singh Mehra's user avatar
2 votes
1 answer
627 views

On IOS when the app is closed, when clicking on a received notification it won't go through the sfmc_handle method and it always open the app instead

We tried to implement the sfmc_notification system in our flutter app, we setup sfmc and set URLHandlingDelegate, we are receiving the notifications which contains a url to open (deep linking), but ...
Ashkan Oliaie's user avatar
1 vote
0 answers
321 views

SFMCSDK setPushEnabled is ignored

I'm trying to implement app settings for the SFMCSDK. I'm interested in softly disabling push notifications. I'm trying to call SFMCSdk.mp.setPushEnabled(false) and receive SFMCSdk.mp.pushEnabled() == ...
Yanny's user avatar
  • 111
1 vote
1 answer
185 views

ContactKey does not appear in Contact Builder -> All Contacts -> Mobile Push - React Native (IOS)

I followed all the steps in the react-native-marketingcloudsdk documentation, including activating the push, but the set contactKey does not appear in the Contact Builder. SDK log is returning, push ...
Ronald Silva's user avatar
0 votes
0 answers
554 views

Marketing Cloud not registering all the devices for push notifications [iOS]

We have a problem with the push notifications on iOS devices. Firstly, we developed a new mobile app with the problem that it did not send the System Token, so users entered in MobilePush without ...
Xaloc87's user avatar
0 votes
0 answers
221 views

Please Help - Salesforce crashing on iOS 15

Recently we started to seeing many crash logs in our iOS app and the crash-free rate significantly dropped. If someone has similar problem or able to help will be greatly appreciated. I will attach ...
Philip Konyarov's user avatar
0 votes
1 answer
207 views

Will Salesforce release an ios16 beta compatible update?

Salesforce currently does not support ios16. Will it be updated soon to be compatible or not until the fall when it’s officially released?
Francine's user avatar
3 votes
1 answer
1k views

Cannot handle OpenDirect push notification when iOS app is not launched

Thank you for creating versatile push notification solution and recent update of SDK v8 was much Swifty API😄 I have a problem handling OpenDirect push notifications when the app is not launched. I ...
Yoshihisa Masaki's user avatar
3 votes
1 answer
683 views

Mobile App crashes for iOS 16

Salesforce mobile app fails to launch after installing iOS 16 on the iPhone 12 and above.
E Murillo's user avatar
2 votes
0 answers
188 views

IOS Crashing with MarketingCloudSDK 8.0.6 and SFMCSDK1.0.4

I'm working with the latest version of marketingcloudsdk 8.0.6. I followed the documentation correctly, after some issues the push notification is arriving on the devices. There is sometimes a crash ...
Mario Chiodi's user avatar
0 votes
1 answer
546 views

Disable push notification when user logged out when using MC SDK 8.x

I found the answer for 7.x versions of sdk how to disable push notifications. Its a simple call sfmc_setPushEnabled(Bool). But I have migrated to 8.x spms, i couldnt find a equivalent to ...
Niranjan's user avatar
3 votes
1 answer
1k views

Unable to login due to missing access token parameter for Identity Service - iOS

We have a growing number of users that are getting the following error on iOS after logging in to the connected app: "Server Error Can't connect to the server: The following required parameters ...
Rozgonyi's user avatar
  • 617
0 votes
1 answer
307 views

React Native SDK IOS - Error

I need help installing the SDK in the IOS application. An error is appearing in the process of performing the "Build" We follow this documentation: https://github.com/salesforce-...
Alexy Divino's user avatar
1 vote
0 answers
185 views

iOS In-App Messaging integration Issue

We are implementing in-app messaging and we are facing into a very weird behaviour: We developed and tested the arrive of the In-app on a phone (iPhone12 mini OS 15.2.1 used for the developing phase) ...
Lorenzo Barranco's user avatar
1 vote
1 answer
153 views

Why swizzle viewDidAppear?

From the recent release notes: Bug Fixes and Performance Improvements — This release includes fix for 1) Swizzling ViewDidAppear 2) Keychain crash in iOS 15.* 3) Add namespacing to Encryption files ...
Joey's user avatar
  • 37
3 votes
1 answer
344 views

Mobile App Event Tracking not Triggering Journey [iOS SDK]

There is a similar question about this but it does not have helpful answer to solve my problem. So I registered an event and set that event in the journey builder to send push notification once i have ...
Mart Ryan Civil's user avatar
0 votes
1 answer
363 views

App Crashes when calling SFMCSdk.mp.setNotificationUserInfo(info) with an _od field in the info

When handling a deeplink when the app is closed, we are having to temporarily store the userInfo from didReceiveRemoteNotification and wait until the SDK is fully initialized before calling ...
Chad's user avatar
  • 1

1
2 3 4 5 6