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

Failed to verify bitcode in PolarBleSdk.framework/PolarBleSdk #27

Closed
Roberdan opened this issue Jun 30, 2019 · 5 comments
Closed

Failed to verify bitcode in PolarBleSdk.framework/PolarBleSdk #27

Roberdan opened this issue Jun 30, 2019 · 5 comments

Comments

@Roberdan
Copy link

hi there, I'm getting this message: "Failed to verify bitcode in PolarBleSdk.framework/PolarBleSdk" and haven't found details on how to handle it, do you have any? thanks,RD

@erkki-silvola
Copy link

Can you give more detail what where you doing when you got that message?

@Roberdan
Copy link
Author

Roberdan commented Jul 1, 2019

at the end I found the solution removing the i386 with lipo. The problem is that when you submit to apple store it's rejected as the polar code can't be signed. Removing i386 with lipo works but it's quite annoying to do, could you try to solve at the core? thx

@erkki-silvola
Copy link

This is difficult one to solve in the framework, maybe guidance for this is sufficient.

@Roberdan
Copy link
Author

Roberdan commented Jul 3, 2019

basically you have to go inside the single framework folder and then run:
lipo -info PolarBleSdk (repeat this for each framework from polar)

it will show:" Architectures in the fat file: PolarBleSdk are: i386 x86_64 armv7 arm64"

then u go for:
lipo -remove i386 PolarBleSdk -o PolarBleSdk
lipo -remove x86_64 PolarBleSdk -o PolarBleSdk

do the same for RxAtomic.framework and RxSwift.framework

@erkki-silvola
Copy link

Yes, what I did mean is that I don't want to distribute two separate frameworks one for development and one for the app store distribution. I could add a script and documentation how to add it to application project.

@Roberdan Roberdan closed this as completed May 9, 2020
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

2 participants