-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
When building for iOS Simulator using config/make, the generated library has platform IOS instead of IOSSIMULATOR.
What I do
- Build libpoco with the following command
./configure \
--config=iPhoneSimulator-clang-libc++ \
--no-tests \
--no-samples \
--minimal \
--static
make --jobs=4 POCO_TARGET_OSARCH=arm64 IPHONE_SDK_VERSION_MIN=13.0- At the end of the build, check the platform by running the command
otool -lv libPocoFoundation.a | grep -A5 LC_BUILD | more
cmd LC_BUILD_VERSION
cmdsize 24
platform IOS
minos 13.0
sdk 16.4
ntools 0What I expect
The generated library should have the platform IOSSIMULATOR.
The issue is that the configuration files for the iPhoneSimulator platform use the wrong parameter: it uses -miphoneos-version-min=$(IPHONE_SDK_VERSION_MIN) while it should be using miphonesimulator-version-min=$(IPHONE_SDK_VERSION_MIN).
I'll submit a patch to fix the issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels