# Error publishing in ios

**URL:** https://community.thunkable.com/t/error-publishing-in-ios/42645
**Category:** Questions about Thunkable X
**Created:** [August 22, 2018, 3:23pm UTC](https://community.thunkable.com/t/error-publishing-in-ios/42645 "2018-08-22T15:23:31Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![jmasque](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@jmasque](https://community.thunkable.com/u/jmasque)
#### Post date: [August 22, 2018, 3:23pm UTC](https://community.thunkable.com/t/error-publishing-in-ios/42645/1 "2018-08-22T15:23:31Z")

</div>

I’m trying to publish in IOS. But I get the following error:  
“Something went wrong when we tried to publish your app.  
Here are the details:  
there is a problem building the app - step 3 (TTL exceeded)”.  
What means TTL?. Where is the error?.

---

<div class="post-metadata">

### Author: ![wei](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wei/32/26160_2.png) [@wei](https://community.thunkable.com/u/wei)
#### Post date: [August 23, 2018, 5:56pm UTC](https://community.thunkable.com/t/error-publishing-in-ios/42645/2 "2018-08-23T17:56:58Z")

</div>

Do you have Apple 2FA turn on?

> [@IMPORTANT: Two-Factor Authentication & Publishing to iOS App Store on Thunkable Cross Platform ✕](http://community.thunkable.com/t/important-two-factor-authentication-publishing-to-ios-app-store-on-thunkable-cross-platform/42504):
>
> Background To publish your app to the App Store on Thunkable Cross Platform ✕, we currently require users to turn off two-factor authentication. [Apple recently made a change](https://support.apple.com/en-ie/HT204915) requiring new users and those that have upgraded to the latest iOS or MacOS to turn on two-factor authentication. If you have two-factor authentication turned on, you will currently\* not be able to publish to the iOS App Store. Recommendation (1) If you have not turned on two-factor authentication and would like to pub…

---

<div class="post-metadata">

### Author: ![User81](https://avatars.discourse-cdn.com/v4/letter/u/ba9def/32.png) [@User81](https://community.thunkable.com/u/User81)
#### Post date: [August 23, 2018, 8:17pm UTC](https://community.thunkable.com/t/error-publishing-in-ios/42645/3 "2018-08-23T20:17:03Z")

</div>

> [@wei](#):
>
> Do you have Apple 2FA turn on?

Same problem here. I never received a mail from apple about two-factor authentication.

And I do not understand why this is a question. Does that mean, the error “TTL exceeded” might mean, I have the 2FA turned on, but can mean other things, too ?!?!

---

<div class="post-metadata">

### Author: ![wei](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wei/32/26160_2.png) [@wei](https://community.thunkable.com/u/wei)
#### Post date: [August 23, 2018, 9:13pm UTC](https://community.thunkable.com/t/error-publishing-in-ios/42645/4 "2018-08-23T21:13:35Z")

</div>

When you sign in to [https://appleid.apple.com](https://appleid.apple.com), does it ask you to 2-step authentication code?

Thanks,  
Wei

---

<div class="post-metadata">

### Author: ![User81](https://avatars.discourse-cdn.com/v4/letter/u/ba9def/32.png) [@User81](https://community.thunkable.com/u/User81)
#### Post date: [August 23, 2018, 9:23pm UTC](https://community.thunkable.com/t/error-publishing-in-ios/42645/5 "2018-08-23T21:23:45Z")

</div>

when I sign in there, I type in my password and after that I am asked two security questions

after logging in i see the following under the security tab:

TWO-STEP VERIFICATION  
Add an extra layer of security to your account.  
Get Started…

EDIT: I did not exactly knew, what 2FA was, but now I have read some stuff about it and no, I never had to type in a number, when I log in on a new device 🤨

---

<div class="post-metadata">

### Author: ![wei](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wei/32/26160_2.png) [@wei](https://community.thunkable.com/u/wei)
#### Post date: [August 23, 2018, 9:40pm UTC](https://community.thunkable.com/t/error-publishing-in-ios/42645/6 "2018-08-23T21:40:00Z")

</div>

Can you start a new build or publish?

---

<div class="post-metadata">

### Author: ![User81](https://avatars.discourse-cdn.com/v4/letter/u/ba9def/32.png) [@User81](https://community.thunkable.com/u/User81)
#### Post date: [August 23, 2018, 9:41pm UTC](https://community.thunkable.com/t/error-publishing-in-ios/42645/7 "2018-08-23T21:41:59Z")

</div>

I just did so, 5 minutes ago.

beaver should be doing his job 🙂

---

<div class="post-metadata">

### Author: ![wei](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wei/32/26160_2.png) [@wei](https://community.thunkable.com/u/wei)
#### Post date: [August 23, 2018, 10:14pm UTC](https://community.thunkable.com/t/error-publishing-in-ios/42645/8 "2018-08-23T22:14:37Z")

</div>

I saw it is built successfully internally. Can you confirm?

---

<div class="post-metadata">

### Author: ![User81](https://avatars.discourse-cdn.com/v4/letter/u/ba9def/32.png) [@User81](https://community.thunkable.com/u/User81)
#### Post date: [August 24, 2018, 1:51am UTC](https://community.thunkable.com/t/error-publishing-in-ios/42645/9 "2018-08-24T01:51:36Z")

</div>

sorry, had to go off for few hours, now its fine 😀

thank you @wei for quick support!!

* * *

And the testflight version is fine 👍 and behaves exactly like the downloaded app version. (a few weeks ago, there was some trouble with scrolling and I had to spend time on the issue with listview height and the add-as-last-in-list block)

* * *

By the way, you might be intetested, that Itunes sent me together with the confirmation, that my app was successfully built:

Dear Developer,

We identified one or more issues with a recent delivery for your app, “G\*\*\*\*\*\*”. Your delivery was successful, but you may wish to correct the following issues in your next delivery:

“Missing Purpose String in Info.plist File. Your app’s code references one or more APIs that access sensitive user data. The app’s Info.plist file should contain a NSLocationAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting spring 2019, all apps submitted to the App Store that access user data will be required to include a purpose string.If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn’t contain the APIs. Learn more ([https://developer.apple.com/documentation/uikit/core\_app/protecting\_the\_user\_s\_privacy](https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy)).”

After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.

Best regards,

The App Store Team

---

<div class="post-metadata">

### Author: ![wei](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wei/32/26160_2.png) [@wei](https://community.thunkable.com/u/wei)
#### Post date: [August 25, 2018, 12:01am UTC](https://community.thunkable.com/t/error-publishing-in-ios/42645/10 "2018-08-25T00:01:19Z")

</div>

@mike

---

<div class="post-metadata">

### Author: ![wei](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wei/32/26160_2.png) [@wei](https://community.thunkable.com/u/wei)
#### Post date: [August 25, 2018, 12:01am UTC](https://community.thunkable.com/t/error-publishing-in-ios/42645/11 "2018-08-25T00:01:33Z")

</div>

@User81 Thanks for letting us know!

---

<div class="post-metadata">

### Author: ![User81](https://avatars.discourse-cdn.com/v4/letter/u/ba9def/32.png) [@User81](https://community.thunkable.com/u/User81)
#### Post date: [August 25, 2018, 6:53am UTC](https://community.thunkable.com/t/error-publishing-in-ios/42645/12 "2018-08-25T06:53:38Z")

</div>

now the fourth version of my iOS app (parallel to an android version) was successfully reviewed and published an is now available on german appstore -\> super happy

🤩

---

<div class="post-metadata">

### Author: ![wei](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wei/32/26160_2.png) [@wei](https://community.thunkable.com/u/wei)
#### Post date: [August 26, 2018, 12:15am UTC](https://community.thunkable.com/t/error-publishing-in-ios/42645/13 "2018-08-26T00:15:11Z")

</div>

SO happy for you too! Can you share app links with us?

Thanks,  
Wei

---

<div class="post-metadata">

### Author: ![User81](https://avatars.discourse-cdn.com/v4/letter/u/ba9def/32.png) [@User81](https://community.thunkable.com/u/User81)
#### Post date: [August 27, 2018, 4:12pm UTC](https://community.thunkable.com/t/error-publishing-in-ios/42645/14 "2018-08-27T16:12:16Z")

</div>

> [@wei](#):
>
> Can you share app links with us?

sure!

thunkable X:

[https://itunes.apple.com/us/app/geheimtipp/id1360849226?l=de&ls=1&mt=8](https://itunes.apple.com/us/app/geheimtipp/id1360849226?l=de&ls=1&mt=8)

thunkable classic:

[https://play.google.com/store/apps/details?id=com.nahundgern.Geheimtipp](https://play.google.com/store/apps/details?id=com.nahundgern.Geheimtipp)

Cheers,  
John

---

<div class="post-metadata">

### Author: ![User81](https://avatars.discourse-cdn.com/v4/letter/u/ba9def/32.png) [@User81](https://community.thunkable.com/u/User81)
#### Post date: [September 21, 2018, 10:52am UTC](https://community.thunkable.com/t/error-publishing-in-ios/42645/15 "2018-09-21T10:52:23Z")

</div>

Hi @mike and @wei ,

this email was sent to me after publishing an thunkable X app to the iOS Appstore and might be interesting for you:

Dear Developer,

We identified one or more issues with a recent delivery for your app, “Geheimtipp”. Your delivery was successful, but you may wish to correct the following issues in your next delivery:

Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature’s entitlements do not include the “aps-environment” entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the “aps-environment” entitlement. Xcode 8 does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor’s Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see [https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple\_ref/doc/uid/TP40008194-CH6-SW1](https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1).

After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.

Best regards,

The App Store Team

---

<div class="post-metadata">

### Author: ![mike](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mike/32/3438_2.png) [@mike](https://community.thunkable.com/u/mike)
#### Post date: [September 21, 2018, 3:14pm UTC](https://community.thunkable.com/t/error-publishing-in-ios/42645/16 "2018-09-21T15:14:47Z")

</div>

Thanks @User81, we’re aware of this and and have some ideas for fixes in the longer term. Please let us know if you start having issues publishing due to it though. Thanks again.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 11:55am UTC](https://community.thunkable.com/t/error-publishing-in-ios/42645/17 "2024-11-08T11:55:26Z")

</div>


