ChatSecure / ChatSecure-iOS

ChatSecure is a free and open source encrypted chat client for iOS that supports OTR and OMEMO encryption over XMPP.
https://chatsecure.org
Other
3.13k stars 1.02k forks source link

Xcode 12 OTRKit build failure #1216

Open brunoabi opened 4 years ago

brunoabi commented 4 years ago

Hi,

I was recently trying to build Chat Secure but had the following error after upgrading to Xcode 12. Error occurred when building dependency OTRKit

error: unable to find any architecture information in the binary at '/Users/admin/dev/ChatSecure-iOS/Submodules/OTRKit/scripts/built/archives/iOS-Simulator.xcarchive/Products/Library/Frameworks/OTRKit.framework/OTRKit': Unknown header: 0xb17c0de

Could you help?

Thanks

adiracu commented 3 years ago

did you ever find a solution for this?

adiracu commented 3 years ago

After further digging, looks like "b17c0de" stands for "bitcode" in hex.

It wants to signify that the built library (OTRKit - or one of its containing object files) does not contain bitcode, because it's missing that "b17c0de" magic number in its header.

jack4oahin commented 3 years ago

I have the same problem. Help!

surabhi20 commented 3 years ago

Experiencing the same issue on Xcode 12 running on Apple Silicon. Did you find any solution to this?

ArunaYarra commented 2 years ago

Did you find any solution to this?

hkbullar commented 2 years ago

Any solution yet?