Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
jward8 opened this issue Aug 27, 2024 · 6 comments

Comments

@jward8
Copy link

jward8 commented Aug 27, 2024

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

  • I agree to follow this project's Code of Conduct
@obyadur-rahman-tsc
Copy link

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

@stefandbd
Copy link

Same issue here on Xcode Version 15.4 (15F31d)

@josancamon19
Copy link

Same issue here Version 15.3 (15E204a)

@emawby
Copy link
Contributor

emawby commented Sep 5, 2024

@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.

@jward8
Copy link
Author

jward8 commented Sep 5, 2024

@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

@emawby
Copy link
Contributor

emawby commented Sep 5, 2024

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants