BlinkID / blinkid-cordova

ID scanning for cross-platform apps built with Cordova and Phonegap.
48 stars 34 forks source link

Code signing "MicroBlink.framework" failed. on xcode Version 10.0 #81

Closed shernir closed 6 years ago

shernir commented 6 years ago

I am getting Code signing "MicroBlink.framework" failed when i am trying to archive the project as Ad Hoc build on xcode 10, but it is working fine in old xcode versions and on device, even i tried the demo application on the documentation and i am getting the same error, and the below what i got from the build log

Failed to verify bitcode in MicroBlink.framework/MicroBlink: error: Cannot extract bundle from /var/folders/jz/xmt34n614j36c71fthc0mrgw0000gp/T/IDEDistributionOptionThinning.bqx/Payload/E-Activation.app/Frameworks/MicroBlink.framework/MicroBlink (i386)

culoi commented 6 years ago

Hi @shernir ,

Could you please let us know if you have Code Sign On Copy in your Build Phases/Embed Frameworks checked. Like in the screenshot below: Image

Regards

shernir commented 6 years ago

Hi Thank you for your prompt reply please find the below

screen shot 2018-09-19 at 11 58 04 am
jcular commented 6 years ago

Hi @shernir,

we are unable to reproduce this issue, could it be possible for you to send us a minimal project that reproduces this issue?

Kind regards, Jure

jcular commented 6 years ago

Hi @shernir, I think we found the issue, in build settings try disabling the bitcode, set Enable Bitcode setting to No Kind regards, Jure

shernir commented 6 years ago

Dear @jcular

i disabled it already but nothing changed please note i am facing this issue when i try to archive Ad Hoc build with xcode 10, please find the requested project thank you

https://drive.google.com/file/d/1DTRa_PdKAvXduOpLnOzyjb1el513Qb9j/view?usp=sharing

jcular commented 6 years ago

Hi @shernir,

I'll try to check out your project as soon as I can, but could you try to follow the instructions here to add that script in your build phases and then trying to archive it?

Kind regards, Jure

jcular commented 6 years ago

Hi @shernir,

I tried your project and I tried to archive it for Ad Hoc, I get a different error but adding the run script fixed the issue. Let us know if that worked for you.

Kind regards, Jure

shernir commented 6 years ago

Yes i added it and the application archived successfully but when i try to upload it i got this error Invalid .ipa file: missing embedded mobileprovision

screen shot 2018-09-19 at 1 25 54 pm
jcular commented 6 years ago

Hi @shernir,

I don't think this is related to us, unzip your ipa file, open the payload and inside it you'll find a file named as your app, right click it and show package contents, inside check if embedded.mobileprovision is inside, if it's not something probably went wrong with xcode. Check your profiles and certificates in preferences inside xcode.

Kind regards, Jure

shernir commented 6 years ago

Hi @jcular Yes you are right it was profiles issue so the run script solved the issue thank you very much for you support

Regards,

ManigandanRaamanathan commented 5 years ago

@shernir how do you run the code?