{"action":"opened","issue":{"url":"https://api.github.com/repos/vector-im/riot-ios/issues/2083","repository_url":"https://api.github.com/repos/vector-im/riot-ios","labels_url":"https://api.github.com/repos/vector-im/riot-ios/issues/2083/labels{/name}","comments_url":"https://api.github.com/repos/vector-im/riot-ios/issues/2083/comments","events_url":"https://api.github.com/repos/vector-im/riot-ios/issues/2083/events","html_url":"https://github.com/vector-im/riot-ios/issues/2083","id":371813674,"node_id":"MDU6SXNzdWUzNzE4MTM2NzQ=","number":2083,"title":"Pod installation issue in cmark","user":{"login":"JohnSmithde","id":43436190,"node_id":"MDQ6VXNlcjQzNDM2MTkw","avatar_url":"https://avatars2.githubusercontent.com/u/43436190?v=4","gravatar_id":"","url":"https://api.github.com/users/JohnSmithde","html_url":"https://github.com/JohnSmithde","followers_url":"https://api.github.com/users/JohnSmithde/followers","following_url":"https://api.github.com/users/JohnSmithde/following{/other_user}","gists_url":"https://api.github.com/users/JohnSmithde/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnSmithde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnSmithde/subscriptions","organizations_url":"https://api.github.com/users/JohnSmithde/orgs","repos_url":"https://api.github.com/users/JohnSmithde/repos","events_url":"https://api.github.com/users/JohnSmithde/events{/privacy}","received_events_url":"https://api.github.com/users/JohnSmithde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-19T05:38:17Z","updated_at":"2018-10-19T05:38:17Z","closed_at":null,"author_association":"NONE","body":"I installed the cmake using the below command\r\n`brew install -g cmake `\r\n\r\n```\r\nUpdating Homebrew...\r\n==> Auto-updated Homebrew!\r\nUpdated 1 tap (homebrew/core).\r\nNo changes to formulae.\r\n\r\n==> Downloading https://homebrew.bintray.com/bottles/cmake-3.12.3.high_sierra.bo\r\nAlready downloaded: /Users/mac1/Library/Caches/Homebrew/downloads/250b690a92fb82c1da2f32083282e0c4bf7cc5fe69679d5df1499d4dc644476d--cmake-3.12.3.high_sierra.bottle.tar.gz\r\n==> Pouring cmake-3.12.3.high_sierra.bottle.tar.gz\r\n==> Caveats\r\nEmacs Lisp files have been installed to:\r\n  /usr/local/share/emacs/site-lisp/cmake\r\n==> Summary\r\n🍺  /usr/local/Cellar/cmake/3.12.3: 2,417 files, 33.3MB\r\n```\r\nIt installed successfully but if I give pod install its showing me an error\r\n\r\n```\r\nAnalyzing dependencies\r\nDownloading dependencies\r\nInstalling AFNetworking (3.2.1)\r\nInstalling DTCoreText (1.6.21)\r\nInstalling DTFoundation (1.7.13)\r\nInstalling GBDeviceInfo (5.4.0)\r\nInstalling GZIP (1.2.2)\r\nInstalling GoogleAnalytics (3.17.0)\r\nInstalling HPGrowingTextView (1.1)\r\nInstalling MatrixKit (0.8.3)\r\nInstalling MatrixSDK (0.11.3)\r\nInstalling OLMKit (2.3.0)\r\nInstalling Realm (3.7.6)\r\nInstalling WebRTC (63.11.20455)\r\nInstalling cmark (0.24.1)\r\n[!] /bin/bash -c \r\nset -e\r\necho `pwd`\r\nsed -i '' 's/include <\\(cmark.*\\)>/include \"\\1\"/' src/cmark.h\r\nmkdir -p build; cd build && cmake -G Xcode ..\r\n\r\n/Users/mac1/Library/Caches/CocoaPods/Pods/Release/cmark/0.24.1-ec027\r\n-- The C compiler identification is AppleClang 10.0.0.10001145\r\n-- The CXX compiler identification is AppleClang 10.0.0.10001145\r\n-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang\r\n-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -- broken\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/Users/mac1/Library/Caches/CocoaPods/Pods/Release/cmark/0.24.1-ec027/build/CMakeFiles/CMakeOutput.log\".\r\nSee also \"/Users/mac1/Library/Caches/CocoaPods/Pods/Release/cmark/0.24.1-ec027/build/CMakeFiles/CMakeError.log\".\r\nCMake Error at /usr/local/Cellar/cmake/3.12.3/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (message):\r\n  The C compiler\r\n\r\n    \"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang\"\r\n\r\n  is not able to compile a simple test program.\r\n\r\n  It fails with the following output:\r\n\r\n    Change Dir: /Users/mac1/Library/Caches/CocoaPods/Pods/Release/cmark/0.24.1-ec027/build/CMakeFiles/CMakeTmp\r\n    \r\n    Run Build Command:\"/usr/bin/xcodebuild\" \"-project\" \"CMAKE_TRY_COMPILE.xcodeproj\" \"build\" \"-target\" \"cmTC_0c5c2\" \"-configuration\" \"Debug\"\r\n    2018-10-17 16:09:43.066 xcodebuild[22075:548111] [MT] PluginLoading: Required plug-in compatibility UUID 8B9F56A7-4D8B-41AA-A65D-D4906CDF1539 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/ClangFormat.xcplugin' not present in DVTPlugInCompatibilityUUIDs\r\n    Build settings from command line:\r\n        TOOLCHAINS = com.apple.dt.toolchain.XcodeDefault\r\n    \r\n    2018-10-17 16:09:44.498 xcodebuild[22075:548193]  DTDeviceKit: deviceType from e8c3d7ea8e6dddb6703f918e871eea481e436c21 was NULL\r\n    Prepare build\r\n    note: Using legacy build system\r\n    \r\n    === BUILD TARGET cmTC_0c5c2 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug ===\r\n    \r\n    Check dependencies\r\n    target specifies product type 'com.apple.product-type.tool', but there's no such product type for the 'iphoneos' platform\r\n    \r\n    ** BUILD FAILED **\r\n    \r\n    \r\n    The following build commands failed:\r\n    \tCheck dependencies\r\n    (1 failure)\r\n    \r\n\r\n  \r\n\r\n  CMake will not be able to correctly generate this project.\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:1 (project)\r\n```\r\n\r\n_Originally posted by @JohnSmithde in https://github.com/vector-im/riot-ios/issues/1559#issuecomment-430579859_"}}
{"actor":{"display_login":"JohnSmithde"}}