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

**URL:** https://talk.remobjects.com/t/xcode-15-3-xcode-15-2-target-version-set-to-12-skd-version-17-2-or-17-4-cant-upload-to-appstore/29747
**Category:** Fire
**Created:** [May 8, 2024, 12:42pm UTC](https://talk.remobjects.com/t/xcode-15-3-xcode-15-2-target-version-set-to-12-skd-version-17-2-or-17-4-cant-upload-to-appstore/29747 "2024-05-08T12:42:01Z")
**Posts on this page:** 7
**Page:** 2

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [May 9, 2024, 12:39pm UTC](https://talk.remobjects.com/t/xcode-15-3-xcode-15-2-target-version-set-to-12-skd-version-17-2-or-17-4-cant-upload-to-appstore/29747/21 "2024-05-09T12:39:59Z")

</div>

> [@Mateusz\_Galazka](#):
>
> Marc, haven’t you forgotten about me and the new Fire version for me for retesting ?😁😃

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

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

---

<div class="post-metadata">

### Author: ![Mateusz\_Galazka](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/65b543/32.png) [@Mateusz\_Galazka](https://talk.remobjects.com/u/Mateusz_Galazka)
#### Post date: [May 9, 2024, 12:58pm UTC](https://talk.remobjects.com/t/xcode-15-3-xcode-15-2-target-version-set-to-12-skd-version-17-2-or-17-4-cant-upload-to-appstore/29747/22 "2024-05-09T12:58:38Z")

</div>

Thank you 🙂 i will retest it and give you feedback information

---

<div class="post-metadata">

### Author: ![Mateusz\_Galazka](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/65b543/32.png) [@Mateusz\_Galazka](https://talk.remobjects.com/u/Mateusz_Galazka)
#### Post date: [May 9, 2024, 1:54pm UTC](https://talk.remobjects.com/t/xcode-15-3-xcode-15-2-target-version-set-to-12-skd-version-17-2-or-17-4-cant-upload-to-appstore/29747/23 "2024-05-09T13:54:41Z")

</div>

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](https://talk.remobjects.com/uploads/short-url/unLxKqhHqUkUV17wRrNSlV9eJAd.txt) (184.8 KB)

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

Mateusz

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [May 9, 2024, 2:41pm UTC](https://talk.remobjects.com/t/xcode-15-3-xcode-15-2-target-version-set-to-12-skd-version-17-2-or-17-4-cant-upload-to-appstore/29747/24 "2024-05-09T14:41:44Z")

</div>

> [@Mateusz\_Galazka](#):
>
> but if i set it to 14 i compiled and uploaded with success 🙂

Excellent.

> [@Mateusz\_Galazka](#):
>
> You can find this line in log … but if i set it to 14 i compiled and uploaded with success 🙂  
> What does it mean ?  
> Did you build libelements for newer version than I want to set ?

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

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

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [May 9, 2024, 2:51pm UTC](https://talk.remobjects.com/t/xcode-15-3-xcode-15-2-target-version-set-to-12-skd-version-17-2-or-17-4-cant-upload-to-appstore/29747/25 "2024-05-09T14:51:12Z")

</div>

Logged as [bugs://E26949](https://www.remobjects.com/portal/bugs/?id=E26949).

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [May 9, 2024, 6:43pm UTC](https://talk.remobjects.com/t/xcode-15-3-xcode-15-2-target-version-set-to-12-skd-version-17-2-or-17-4-cant-upload-to-appstore/29747/26 "2024-05-09T18:43:19Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [May 9, 2024, 6:49pm UTC](https://talk.remobjects.com/t/xcode-15-3-xcode-15-2-target-version-set-to-12-skd-version-17-2-or-17-4-cant-upload-to-appstore/29747/27 "2024-05-09T18:49:37Z")

</div>

[bugs://E26949](https://www.remobjects.com/portal/bugs/?id=E26949) was closed as fixed.

[Previous page](https://talk.remobjects.com/t/xcode-15-3-xcode-15-2-target-version-set-to-12-skd-version-17-2-or-17-4-cant-upload-to-appstore/29747.md?page=1)
