facebook / facebook/infer

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

Đang mở
#1,336 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
question
Ngôn ngữ chính
OCaml
Star
15.7k
Fork
2.1k
Merge trung bình
19 giờ 36 phút
Pull request đã merge (30 ngày)
13

Mô tả

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).

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.