Ghellee

Cocoapods Error2

Jun 2nd, 2022
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.43 KB | None | 0 0
  1. INFO: this project relies on CocoaPods to install extra packages.
  2. The CocoaPods command about to be sent is "pod install"
  3. [A]ccept or [C]hange? Default is to [A]ccept if no answer in 5 seconds.
  4.  
  5. Delegating "pod install" job to CocoaPods daemon...
  6. Daemon started.
  7. Preparing staging directory...
  8. Sending command: "pod install"
  9. ========================== CocoaPods output BEGIN ===========================
  10. Analyzing dependencies
  11. Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`
  12. Downloading dependencies
  13. Installing BoringSSL-GRPC (0.0.24)
  14. [!] /usr/local/bin/bash -c
  15. set -e
  16. set -e
  17. # Add a module map and an umbrella header
  18. mkdir -p src/include/openssl
  19. cat > src/include/openssl/umbrella.h <<EOF
  20. #include "ssl.h"
  21. #include "crypto.h"
  22. #include "aes.h"
  23. /* The following macros are defined by base.h. The latter is the first file included by the
  24. other headers. */
  25. #if defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64)
  26. # include "arm_arch.h"
  27. #endif
  28. #include "asn1.h"
  29. #include "asn1_mac.h"
  30. #include "asn1t.h"
  31. #include "blowfish.h"
  32. #include "cast.h"
  33. #include "chacha.h"
  34. #include "cmac.h"
  35. #include "conf.h"
  36. #include "cpu.h"
  37. #include "curve25519.h"
  38. #include "des.h"
  39. #include "dtls1.h"
  40. #include "hkdf.h"
  41. #include "md4.h"
  42. #include "md5.h"
  43. #include "obj_mac.h"
  44. #include "objects.h"
  45. #include "opensslv.h"
  46. #include "ossl_typ.h"
  47. #include "pkcs12.h"
  48. #include "pkcs7.h"
  49. #include "pkcs8.h"
  50. #include "poly1305.h"
  51. #include "rand.h"
  52. #include "rc4.h"
  53. #include "ripemd.h"
  54. #include "safestack.h"
  55. #include "srtp.h"
  56. #include "x509.h"
  57. #include "x509v3.h"
  58. EOF
  59. cat > src/include/openssl/BoringSSL.modulemap <<EOF
  60. framework module openssl {
  61. umbrella header "umbrella.h"
  62. textual header "arm_arch.h"
  63. export *
  64. module * { export * }
  65. }
  66. EOF
  67.  
  68. # To avoid symbol conflict with OpenSSL, gRPC needs to rename all the BoringSSL symbols with a
  69. # prefix. This is done with BoringSSL's BORINGSSL_PREFIX mechanism
  70. # (https://github.com/google/boringssl/blob/75148d7abf12bdd1797fec3c5da9a21963703516/BUILDING.md#building-with-prefixed-symbols).
  71. # The required prefix header file boringssl_prefix_symbols.h is not part of BoringSSL repo at
  72. # this moment. It has to be generated by BoringSSL's users and be injected to BoringSSL build.
  73. # gRPC generates this file in script /tools/distrib/upgrade_boringssl_objc.sh. This script
  74. # outputs a gzip+base64 encoded version of boringssl_prefix_symbols.h because of Cocoapods'
  75. # limit on the 'prepare_command' field length. The encoded header is generated from
  76. # /src/boringssl/boringssl_prefix_symbols.h. Here we decode the content and inject the header to
  77. # the correct location in BoringSSL.
  78. case "$(uname)" in
  79. Darwin) opts="" ;;
  80. *) opts="--ignore-garbage" ;;
  81. esac
  82. base64 --decode $opts <<EOF | gunzip > src/include/openssl/boringssl_prefix_symbols.h
  83. H4sICAAAAAAC/2JvcmluZ3NzbF9wcmVmaXhfc3ltYm9scy5oAKydXXPbuJZo3+dXuO683Kk6NRM7nW73
  84. fVNsJdG0Y/tIck9nXliURNk8oUiFoOy4f/0FQErEx94g94arTs10LK21KQDEF0Hgv/7r7DErszptss3Z
  85. .................
  86. 3hhloRYyHxdbnNq07JHWKcccXiT9Mr3TySYGghShOLyf4wvsGKSx2MIdiy3aHZTU6zwUywmyXfss+95e
  87. apOSUtMCbaf4nu8pKvV9x9CMf+p1/L5roDy96QnDMp0vZ59mV5Pl9P7uZnY1m9JO0sD4cATCHQnSYTvh
  88. aR2CG/6vkyvyNgEWBLhICWxCgIvyYw3GMZH2aOkJ=========================== CocoaPods output END ============================
  89. NOTICE: this command returned a non-success exit status (1).
  90. Press any key to continue . . .
Add Comment
Please, Sign In to add comment