Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xcodebuild on OpenTelemetryProtocolExporterHTTP fails #603

Open
palmer-sn opened this issue Sep 16, 2024 · 3 comments
Open

xcodebuild on OpenTelemetryProtocolExporterHTTP fails #603

palmer-sn opened this issue Sep 16, 2024 · 3 comments

Comments

@palmer-sn
Copy link

This line:
xcodebuild -scheme OpenTelemetryProtocolExporterHTTP -sdk iphoneos -configuration Release BUILD_LIBRARY_FOR_DISTRIBUTION=YES ARCHS=arm64 BUILD_DIR=./Build -destination "generic/platform=iOS"

fails.

Looks to be a problem with SwiftProtobuf...

@LucasCarvalho00
Copy link

I have the same error.

When trying to export the project, it says that the minimum iOS version need to be 17.2 for SwiftProtobuf.

Can anyone help us with how to fix it or force it to stay with the minimum iOS version the same of the project?

@bryce-b
Copy link
Member

bryce-b commented Sep 24, 2024

The issue seems to only occur when specifying BUILD_DIR. Perhaps there is another build config that needs to be specified?

@atreat
Copy link
Contributor

atreat commented Oct 3, 2024

Would also try -derivedDataPath ./Build instead of BUILD_DIR. This seems like xcodebuild is getting confused

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants