Xcode 15.3 , Xcode 15.2 target version set to 12 , SKD version 17.2 or 17.4 can't upload to AppStore

I havent forgotten, but I;m in a different time zone than you :wink:

RemObjects Elements - Mac and Linux Zip Distro - 12.0.0.2924.zip is up now.

1 Like

Thank you :slight_smile: i will retest it and give you feedback information

1 Like

Hello
One error is if target is set to 12 (if i set to 14 is ok)

E: ld: warning: object file (/Users/mateusz/temp/Remy/References/Toffee/iOS Simulator/libElements.a[arm64]126) was built for newer ā€˜iOS-simulator’ version (14.0) than being linked (12.0)

Full log here :
log1.txt (184.8 KB)

You can find this line in log … but if i set it to 14 i compiled and uploaded with success :slight_smile:
What does it mean ?
Did you build libelements for newer version than I want to set ?

Mateusz

Excellent.

Yes, it looks like libElements is built with a deployment target of iOS 14. I don’t know off-hand if that is necessary, or if we can reduce it to 12 or below. I’ll have a check.

Note that this is only a warning telling you that libElements might use APIs not available below iOS 14, it doesn’t mean libElements does that (or that you’d hit them rom your app, even if it did). Id say just ignore it and see if your app tuns fine. If you can can do full coverage of all code and have no crashes for missing types or members, all should be good.

Update: Oddly. libElements/iOS has its deployment target set to 9.0.

Checking both a local built result and the libElements installed with tool I get

  cmd LC_VERSION_MIN_IPHONEOS
  cmdsize 16
  version 9.0

which looks good.

Update 2: even more weird, the iOS version has 9.0 as deployment target, but it seems the iOS Simulator one does have 14.0. very strange. I need to investigate more how this can even happen. But suffice to say you should be good to ignore this warning (and it’ll only happen for the Simulator build, anyways).

1 Like

Logged as bugs://E26949.

Ah yes!

It seems that the iOS (and tvOS/watchOS) Simulator on Apple Silicon only supports version 14 and later of iOS/tvOS (and I guess watchOS 7). That’s why LLVM forces the minos version fr Arm binaries to 14, no matter what you set.

Workaround for now: set DeploymentTarget-Simulator to 14.0 manually (by editing the project file). in vNext, I’ll fix this to automatically increase the Deployment Target to 14, when building for arm64.

1 Like

bugs://E26949 was closed as fixed.