Skip to content

Inconsistent ios/osx min version #659

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

Open
ekharkunov opened this issue Feb 18, 2025 · 2 comments
Open

Inconsistent ios/osx min version #659

ekharkunov opened this issue Feb 18, 2025 · 2 comments
Assignees
Labels
ios Issue relates to building for iOS osx Issue relates to building for osx
Milestone

Comments

@ekharkunov
Copy link
Contributor

When using Podfile with statement like

platform :ios, '13.0'

min ios/osx version used only in compiler command for pods. The rest of source code is compiled with predefined min os version (11 for ios).

@ekharkunov ekharkunov added ios Issue relates to building for iOS osx Issue relates to building for osx labels Feb 18, 2025
@ekharkunov ekharkunov added this to the Next release milestone Feb 18, 2025
@ekharkunov ekharkunov self-assigned this Feb 18, 2025
@JCash
Copy link
Contributor

JCash commented Feb 18, 2025

While it's confusing, I'm not sure how it can be solved?
On CI we're building the engine libraries with 11.0, and then package that defoldsdk.zip. We do not wish to provide multiple versions of the same defoldsdk.zip ?

@ekharkunov
Copy link
Contributor Author

While it's confusing, I'm not sure how it can be solved? On CI we're building the engine libraries with 11.0, and then package that defoldsdk.zip. We do not wish to provide multiple versions of the same defoldsdk.zip ?

Here I mean source code of extensions, not engine. Engine libraries are used as-is.
If extension has Podfile with minimal version == 13 and some other Objective-C/C++ code clang compiler will be invoked with different options for different source files. For Cocoapods sources it will be -miphoneos-version-min=13.0; for the rest of sources - -miphoneos-version-min=11.0. From my point of view all sources should be compiled with the same min version. All precompiled libraries will be used as-is.

@ekharkunov ekharkunov modified the milestones: 2.8.7, Next release Feb 21, 2025
@ekharkunov ekharkunov modified the milestones: 2.8.10, Next release Apr 13, 2025
@ekharkunov ekharkunov modified the milestones: 2.8.12, Next release May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ios Issue relates to building for iOS osx Issue relates to building for osx
Projects
None yet
Development

No branches or pull requests

2 participants