Search code examples
iosswiftsalesforcecocoapodssalesforce-ios-sdk

Header files are not found after updating an existing application with the salesforce-ios-sdk


I've followed the steps described by salesforce and installed the iOS-mobile-sdk via cocoa pods to an existing iOS Swift project. Unfortunately the header files are not found.

Is a reference to a path missing?

Thanks for your help.

enter image description here


Solution

  • I was able to solve this issue:

    The current SalesForceMobileSDK does not support Frameworks. Don't uncomment

    # use_frameworks!
    

    in the podfile:

    # Uncomment this line to define a global platform for your project
    # platform :ios, '8.0'
    # Uncomment this line if you're using Swift
    # use_frameworks!
    
    target 'ApproverApp' do
    pod 'SalesforceMobileSDK-iOS'
    end