facebook / facebook/infer

XCODEBUILD: error: unknown target triple 'unknown-apple-ios15.0.0', please use -triple or -arch

未关闭
#1,336 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
OCaml
星标
15.7k
派生
2.1k
平均合并
19 小时 36 分钟
30 天内合并 PR
13

描述

I'm running into xcodebuild errors when it is invoked via `infer run` - the raw xcodebuild with same arguments work for the project. It throws a clang error when trying to build it.

Please include the following information:
- [ ] The version of infer from `infer --version`.
Infer version v1.0.0
Copyright 2009 - present Facebook. All Rights Reserved.

- [ ] Your operating system and version, for example "Debian 9", "MacOS High Sierra", whether you are using Docker, etc.
macOS Catalina 10.15.7

- [ ] Which command you ran, for example `infer -- make`.
`infer run -- xcodebuild -workspace MyUniverse.xcworkspace -scheme Default -configuration Debug -destination "platform=iOS,name=iPhone11"

Running the `xcodebuild` command with those arguments directly works fine and builds the project, but calling it via `infer run` is failing. It looks like the `arch` argument is not being passed while invoking clang or something similar.

- [ ] The full output in a paste, for instance a [gist](https://gist.github.com/AshKash/e18884e14372228caebfc602c9b15940).

- [ ] If possible, a minimal example to reproduce your problem (for instance, some code where
infer reports incorrectly, together with the way you run infer to reproduce the incorrect
report).

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。