-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Xcode in macox 10.15 beta library code signature problem #15645
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
Comments
I still waiting for your help, and really get confused on code signature >V< |
Probably no support for that yet (we don't have these configurations).
It is better to ask there about MacOSX signing issues. Or check Apple forums about 10.15 beta signatures. |
@CaffeCat I met same problem, and solved it using |
@LeeGwangYong Thanks a lot! I will try after work. |
@LeeGwangYong You are exactly right!!! It is useful to use your recommended command to code sign every error dylib file! |
@LeeGwangYong hi bro i also have same problem but codesign -f -s "Mac Developer: YOURDEVELOPEREMAIL" /usr/local/opt//lib/.dylib is not working it is saying Mac developer not found can you please help me |
I have the same problem, I can compile opencv 4 project but when it comes to execute it throws those errors. Mac Developer: MYDEVELOPEREMAIL: no identity found |
@pedrofrodenas yeah exactly I don't know what to do. have you solved that error? |
not yet. I don't know what to do |
@pedrofrodenas okay bro thanks 😊 let me know if u solved it thanks |
yet it works, thanks 👍👍 |
I have this problem too, but I don't have a developer account
|
Thanks - same problem with custom frameworks after I upgraded to Catalina. "Disable Library Validation" fixed the problem. xCode Version 11.2.1 (11B500) |
codesign -f -s "Mac Developer: YOURDEVELOPEREMAIL" /usr/local/opt//lib/.dylib when running above, if it would be error, replace "YOURDEVELOPEREMAIL" by "YOUR TEAM NAME". |
Thanks. This helped me. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Thank you! |
I have the same problem on Xcode 11.4.1. ran the command "codesign -f -s "Mac Developer:" getting no identity error. I don't see the option of Disable Library validation on Xcode 11.4.1 |
This comment has been minimized.
This comment has been minimized.
Please use command |
If you are developing or compiling the binaries yourself, you can generate a self-signed certificate by accessing Keychain Access > Certificate Assistant > Create Certificate -> Certificate Type: Code Signing. You can then sign your binary with:
However, I don't think that these will work unless you have an Apple Developer account. |
This is the first time to use opencv at Mac OS. I used homebrew to install opencv in my Macbook, and all path search definitely correct in Xcode. I created a hello world in commandline tool project using C++ language not OBJC language. I could compile my opencv hello world, but it was broken in runtime, with showing the following logs:
=== logs ====
dyld: Library not loaded: /usr/local/opt/opencv/lib/libopencv_flann.4.1.dylib
Referenced from: /Users/weibinwu/Library/Developer/Xcode/DerivedData/OpenCV-frdcgrfkxsvbyahjaonnyllerinn/Build/Products/Debug/OpenCV
Reason: no suitable image found. Did find:
/usr/local/opt/opencv/lib/libopencv_flann.4.1.dylib: code signature in (/usr/local/opt/opencv/lib/libopencv_flann.4.1.dylib) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
/usr/local/lib/libopencv_flann.4.1.dylib: code signature in (/usr/local/lib/libopencv_flann.4.1.dylib) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
/usr/local/Cellar/opencv/4.1.1_2/lib/libopencv_flann.4.1.1.dylib: code signature in (/usr/local/Cellar/opencv/4.1.1_2/lib/libopencv_flann.4.1.1.dylib) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
== logs ===
please could somebody help me out of this problem?
The text was updated successfully, but these errors were encountered: