These are chat archives for WhisperSystems/Signal-iOS

10th
Nov 2015
Martin Sander
@marvinthepa
Nov 10 2015 09:34
@akatasonov I have the exact problem that you had ("ProtocolBuffers.h" file not found), but I do not understand exactly how you solved it (what is the "pods workspace"? How do I "compile and link everything"?). Y
Could you give me a few hints?
Andrew Katasonov
@akatasonov
Nov 10 2015 19:54
@marvinthepa
  1. Check out and follow instructions in BUILDING.md in the repo
  2. Open the workspace project file, not the Signal.xcodeproj file. The latter doesn't have all settings with regards to 3rd party libraries (pods)
  3. Replace "ProtocolBuffers.h" with "ProtocolBuffers/ProtocolBuffers.h""
  4. There will be a similar problem with openssl include (don't recall the name). Append "openssl/" i.e. "openssl/hmac.h"
Martin Sander
@marvinthepa
Nov 10 2015 19:55
I tried that, it did not work
:-(
I found the compile flags and realized that they were referring to Signal-iOS/Pods/Headers/Public/ProtocolBuffers/ProtocolBuffers.h, while I only have Signal-iOS/Pods/Headers/Public/ProtocolBuffers/ProtocolBuffers/ProtocolBuffers.h, i.e. one extra dir named ProtocolBuffers
copying all the header files to Signal-iOS/Pods/Headers/Public/ProtocolBuffers/ProtocolBuffers.h works around this issue..
Andrew Katasonov
@akatasonov
Nov 10 2015 19:57
@marvinthepa See my notes where I mention exactly this problem
Martin Sander
@marvinthepa
Nov 10 2015 19:58
Ah, "Actually I had to correct include path to make it compile" - I did not interpret that correctly
where can I correct the include path?
Sorry for my stupid questions
Martin Sander
@marvinthepa
Nov 10 2015 20:44
Thanks @akatasonov . Now I have the (other) same problem as you had - the app just hangs when verifying the code sent by SMS