We have a custom IOS app we built using the salesforceMobileSDK with no issues. We just added ServiceKnowledge and ServiceCore frameworks via COCOA Pods. The app launches and runs fine directly onto device from Xcode, however when we deploy the app (.ipa) to publishing service we get an error "Failed to verify code signature of .../Frameworks/ServiceKnowledge.framework". We followed this for preparing your App for submission: https://developer.salesforce.com/docs/atlas.en-us.service_sdk_ios.meta/service_sdk_ios/prepare_for_appstore.htm?search_text=prepare-framework

How do I fix this code signature issue?

Using Xcode 10.2.1, Target IOS 11, Salesforce Mobile SDK v7.0 (installed via CocoaPods), Salesforce Service SDK v220.1.0 (installed via CocoaPods)

Podfile includes this: pod 'SalesforceSDKCore',’7.0’ pod 'SalesforceSDKCommon','7.0' pod 'ServiceSDK/Knowledge','=220.1.0'

Update: It looks like when in Xcode when archiving/Validating the App to AppStoreConnect, a file gets created in "...Pods/ServiceSDK/Frameworks/ServiceCore.framework" folder named "prepare-framework--". It seems like if I delete this generated file, and do the App validation again, it passes the Publishing Validation... Anyone have any ideas how to fix this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.