Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [ios]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Occasions when `runUntilDate` is invoked after `configure` in Salesforce SDK for iOS Objective-C?

In iOS Objective-C, when using the Salesforce SDK, there are cases where the runUntilDate function is called after the configure function. Can someone explain in what scenarios this occurs? I am using ...
0 votes
1 answer
26 views

Where is the updated documentation for SPM integration>?

In release notes for version 8.1.0 I see this statement: MarketingCloudSDK Integration via SPM – Integration via Swift Package Manager (SPM) now automatically includes SFMCSDK, simplifying ...
9 votes
2 answers
6k views

Click and Touch events on <a> tags in Lightning

In Lightning, we should always be using e.force:navigateToSObject or e.force:navigateToURL instead of links like <a href="whatever>. So, I made a custom Link component to avoid having to have ...
1 vote
0 answers
28 views

Server Error Can't connect to the server: Unexpected HTTP response code from the identity service: 404. only on iOS

I would like to share an issue regarding the login process using the Salesforce SDK on iOS (latest version of the operating system). Currently, without using a VPN, I am unable to proceed with the app ...
1 vote
3 answers
176 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-...
0 votes
1 answer
1k views

OpenDirect sfmc_setNotificationRequest called before the SDK is ready. Deferring until isReady == true

We inherited 'MarketingCloudSDKURLHandlingDelegate' for the class that runs MobilePush for Marketing Cloud and overrode the methods. We wanted the following method to be called as handler when we ...
3 votes
0 answers
84 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 ...
0 votes
1 answer
102 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-...
0 votes
1 answer
82 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 ...
0 votes
1 answer
1k views

How to enforce session timeout in Native-iOS App

I am using SF Mobile SDK version 5.2. I am only using the sdk for authentication and authorization of SF users of our organization. Once a user is authenticated from the salesforce, he can use the app....
0 votes
0 answers
53 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 ...
0 votes
0 answers
39 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 ...
0 votes
0 answers
56 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 ...
0 votes
0 answers
183 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: ....
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 ...
0 votes
1 answer
79 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 '...
0 votes
1 answer
407 views

MarketingCloudSDK - MobilePush SDK for iOS v8.x - crash

After I managed to fix the original crash “Cannot create an NSPersistentStoreCoordinator with a nil model” and now I get the following: *** Terminating app due to uncaught exception '...
0 votes
1 answer
185 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 ...
2 votes
0 answers
134 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 ...
3 votes
2 answers
975 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, ...
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: ...
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": ...
0 votes
1 answer
494 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 ...
0 votes
1 answer
204 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 ...
0 votes
1 answer
619 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 ...
1 vote
2 answers
1k views

Marketing Cloud Push SDK iOS URL Handling

I'm currently implementing the Marketing Cloud SDK for Push Notification on iOS and I've run into a problem. I've implemented the URL Handling for OpenDirect as per the example provided in ...
0 votes
1 answer
115 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 ...
1 vote
1 answer
744 views

Marketing Cloud Push SDK iOS Keychain crash

We are trying to implement Mobile SDK on iOS and Android. We haven't encountered any issues on Android, but on iOS the app keeps crashing. We have a Dev App and we deploy our builds using TestFlight (...
0 votes
1 answer
235 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 ...
1 vote
1 answer
2k views

iOS Push Notification - sfmc_handle() not called when app was closed

If the app is already open or in the background, and a push notification is sent to the device then sfmc_handle(_ url: URL, type: String) is fired properly. Everything works as expected as the link ...
1 vote
1 answer
145 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 ...
1 vote
1 answer
473 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....
1 vote
1 answer
227 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 ...
1 vote
1 answer
270 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 &...
1 vote
1 answer
347 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 ...
0 votes
0 answers
474 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 ...
1 vote
1 answer
361 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/...
1 vote
1 answer
188 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 ...
4 votes
1 answer
644 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....
3 votes
1 answer
348 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 ...
-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....
0 votes
1 answer
106 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): ...
1 vote
1 answer
666 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 ...
0 votes
1 answer
199 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 ...
1 vote
2 answers
292 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 '...
1 vote
1 answer
211 views

Automate bundle copying/linking of MarketingCloudSDK.bundle in SPM

While upgrading from MarketingCloudSDK 7.x to 8.x, I noticed these instructions: Manually pull in the Resources/MarketingCloudSDK.bundle from the sources folder in the Mobile Push SPM and link it ...
2 votes
1 answer
649 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 ...
1 vote
0 answers
344 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() == ...
0 votes
1 answer
310 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-...
0 votes
0 answers
569 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 ...

1
2 3 4 5 6