OneSignal-iOS-SDK icon indicating copy to clipboard operation
OneSignal-iOS-SDK copied to clipboard

[question]: ...xcframework is not signed with the expected identity and may have been compromised

Open jward8 opened this issue 1 year ago • 6 comments

How can we help?

I'm currently trying to resolve some build issues with our iOS app and when adding the following image into the frameworks and libraries of our OneSignalNotificationSerivceExtension, I've been getting the following errors:

“OneSignalExtension.xcframework” is not signed with the expected identity and may have been compromised. “OneSignalCore.xcframework” is not signed with the expected identity and may have been compromised. “OneSignalOutcomes.xcframework” is not signed with the expected identity and may have been compromised.

When looking and inspecting each framework in XCode I see that each framework is missing a signature and is unsigned. image

Is there a way that I can resolve this? I haven't been able to find any documentation on how to fix this so far.

Any help would be appreciated!

EDIT: XCode Version is 15.4 (15F31d)

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

jward8 avatar Aug 27 '24 15:08 jward8

Having the same issue here in Xcode Version 15.4 (15F31d)

obyadur-rahman-tsc avatar Aug 27 '24 22:08 obyadur-rahman-tsc

Same issue here on Xcode Version 15.4 (15F31d)

stefandbd avatar Aug 28 '24 07:08 stefandbd

Same issue here Version 15.3 (15E204a)

josancamon19 avatar Aug 29 '24 07:08 josancamon19

@jward8 Thank you for reaching out are you getting this issue on the latest SDK version? Does downgrading to an older version fix the issue? The team can potentially attach new binaries that are properly signed to the affected release versions.

emawby avatar Sep 05 '24 17:09 emawby

@emawby I was on 3.12.3. I ended up updating to the most recent version of OneSignal (5.1.3). It resolved the issue, however now I get a different issue related one of the frameworks. I added in the OneSignal.xcframework and now I get this error: error: There is no XCFramework found at '/Users/distiller/project/Pods/OneSignal/iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework'. (in target 'OneSignalNotificationServiceExtension' from project

jward8 avatar Sep 05 '24 21:09 jward8

@jward8 Good to hear that upgrading resolved it. It seems like the new issue is related to your NotificationServiceExtension and you are using cocoapods. If you have previously had it working then you could trying clearing derived data and your cocoapods cache then reinstalling pods. If it has never worked then if you could share your Podfile and target settings that would be helpful!

emawby avatar Sep 05 '24 22:09 emawby