# iOS 7 Beta Build

**URL:** <https://forums.solar2d.com/t/ios-7-beta-build/315788>\
**Category:** iOS\
**Created:** [July 15, 2013, 2:06am UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788 "2013-07-15T02:06:03Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 22, 2013, 11:12pm UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/41 "2013-09-22T23:12:29Z")

</div>

Can you post some code?&nbsp; or better yet, put together a small sample that demonstrates the problem and file a bug report.&nbsp; Have you tried it with the native.newTextField sample app?

---

<div class="post-metadata">

**Author:** ![dev45](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/d/4af34b/32.png) [@dev45](https://forums.solar2d.com/u/dev45)\
**Post date:** [September 23, 2013, 3:19am UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/42 "2013-09-23T03:19:50Z")

</div>

> [@rob](#):
>
> Can you post some code?&nbsp; or better yet, put together a small sample that demonstrates the problem and file a bug report.&nbsp; Have you tried it with the native.newTextField sample app?

I filed a bug report.&nbsp; I just use the sample app you referenced and when I added code to print the value of the text field.&nbsp;&nbsp; When I run it on a device and view the device console, I can see that it is 1 step behind.&nbsp;&nbsp;

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 23, 2013, 11:21pm UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/43 "2013-09-23T23:21:10Z")

</div>

I built the sample in “SampleCode/Interface” called “NativeKeyboard” with build 1210, iOS 6.1 target, using XCode 5 GM installing to my iPhone 5 running iOS 7 GM and it works as expected.&nbsp; I also installed one of my apps that uses keyboard input and it’s also working fine.

Hopefully engineering can find this bug for you.

---

<div class="post-metadata">

**Author:** ![Tom](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@Tom](https://forums.solar2d.com/u/Tom)\
**Post date:** [September 23, 2013, 11:52pm UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/44 "2013-09-23T23:52:31Z")

</div>

The iO7 native.textField editing issue has been fixed and available in Daily Build 1209.

---

<div class="post-metadata">

**Author:** ![dev45](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/d/4af34b/32.png) [@dev45](https://forums.solar2d.com/u/dev45)\
**Post date:** [September 25, 2013, 12:07am UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/45 "2013-09-25T00:07:08Z")

</div>

> [@Tom](#):
>
> The iO7 native.textField editing issue has been fixed and available in Daily Build 1209.

I am still having problems with the latest build.&nbsp; Here is sample code you can use.&nbsp; Please verify that this works for you.&nbsp;&nbsp;&nbsp; This does not work for me on iPhone 5 with iOS 7.&nbsp;&nbsp; For me, when I run this code on a device, the text on screen is always one character behind the text shown in the input box.&nbsp;&nbsp;&nbsp; I have a label which is showing the contents of the text field and you should see on simulator that the label matches the text field, but on an iOS7 device, the label does not match the text field.

```
local defaultField, defaultLabel local function fieldHandler( textField ) return function( event ) if ( "began" == event.phase ) then -- This is the "keyboard has appeared" event -- In some cases you may want to adjust the interface when the keyboard appears. elseif ( "ended" == event.phase ) then -- This event is called when the user stops editing a field: for example, when they touch a different field elseif ( "editing" == event.phase ) then defaultLabel.text = textField().text elseif ( "submitted" == event.phase ) then -- This event occurs when the user presses the "return" key (if available) on the onscreen keyboard print( textField().text ) -- Hide keyboard native.setKeyboardFocus( nil ) end end end defaultField = native.newTextField( 10, 30, 180, 40 ) defaultField.font = native.newFont( native.systemFontBold, 15 ) defaultField:addEventListener( "userInput", fieldHandler( function() return defaultField end ) ) ------------------------------------------- -- \*\*\* Add field labels \*\*\* ------------------------------------------- defaultLabel = display.newText( "Copy of text in text field", 50, 105, native.systemFont, 18 ) defaultLabel:setTextColor( 170, 170, 255, 255 )

```

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 25, 2013, 12:49am UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/46 "2013-09-25T00:49:07Z")

</div>

textField().text has the right information in it when it’s submitted.&nbsp; But I can see where this is an annoyance in particular for people who don’t use the native textfield on screen but are writing to their own display.newText().

Please file a bug report on it with this code.&nbsp; You might want to include a use case as to why you can’t just grab the value in the submitted phase.

Rob

---

<div class="post-metadata">

**Author:** ![jonjonsson](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/j/ce73a5/32.png) [@jonjonsson](https://forums.solar2d.com/u/jonjonsson)\
**Post date:** [September 25, 2013, 1:22am UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/47 "2013-09-25T01:22:17Z")

</div>

I reported this 16th august, case 25641.

1. local function textListener( event )
2. &nbsp; &nbsp;&nbsp;
3. &nbsp; &nbsp; if event.phase == “editing” then
4. &nbsp; &nbsp; &nbsp; &nbsp; print("event.newCharacters ", event.newCharacters, “event.text”, event.text)
5. &nbsp; &nbsp; end
6. &nbsp; &nbsp;&nbsp;
7. end
8. &nbsp;
9. local defaultField = native.newTextField( 10, 30, 180, 30 )
10. defaultField:addEventListener( “userInput”, textListener )
11. &nbsp;
12. – Output Simulator + Android + iOS 6 when typing in ‘abc’
13. – event.newCharacters &nbsp;&nbsp;&nbsp;&nbsp;a&nbsp;&nbsp;&nbsp;&nbsp;event.text&nbsp;&nbsp;&nbsp;&nbsp;a
14. – event.newCharacters &nbsp;&nbsp;&nbsp;&nbsp;b&nbsp;&nbsp;&nbsp;&nbsp;event.text&nbsp;&nbsp;&nbsp;&nbsp;ab
15. – event.newCharacters &nbsp;&nbsp;&nbsp;&nbsp;c&nbsp;&nbsp;&nbsp;&nbsp;event.text&nbsp;&nbsp;&nbsp;&nbsp;abc
16. &nbsp;
17. – Output iOS 7 Beta 3-5&nbsp;when typing in ‘abc’
18. – event.newCharacters &nbsp;&nbsp;&nbsp;&nbsp;a&nbsp;&nbsp;&nbsp;&nbsp;event.text
19. – event.newCharacters &nbsp;&nbsp;&nbsp;&nbsp;b&nbsp;&nbsp;&nbsp;&nbsp;event.text&nbsp;&nbsp;&nbsp;&nbsp;a
20. – event.newCharacters &nbsp;&nbsp;&nbsp;&nbsp;c&nbsp;&nbsp;&nbsp;&nbsp;event.text&nbsp;&nbsp;&nbsp;&nbsp;ab

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 25, 2013, 1:28am UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/48 "2013-09-25T01:28:47Z")

</div>

I’m working with engineering on it.

Rob

---

<div class="post-metadata">

**Author:** ![alexandrefalmeida](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/a/8edcca/32.png) [@alexandrefalmeida](https://forums.solar2d.com/u/alexandrefalmeida)\
**Post date:** [September 7, 2013, 7:43pm UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/49 "2013-09-07T19:43:16Z")

</div>

I’m using Corona SDK&nbsp;Version 2013.1202 (2013.8.28), and trying to build my project using the iOS SDK 7.0 (Beta) option in “Build for iOS”. I’m getting this message back:

A device build error occurred on the server.&nbsp;

BuildID: 522b7fcf8f01e&nbsp;

Error: Template not found.

Build Number: 2013.1202

Platform: iphone-sim

Platform Version: 7.0

Template Type: basic

I have the XCode Version 5.0 (5A11386k)&nbsp;- the last one on Apple Developer site till now. (iOS 7 beta 6).

Do you know what it means?

Thanks.

---

<div class="post-metadata">

**Author:** ![jmarchalonis](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/j/958977/32.png) [@jmarchalonis](https://forums.solar2d.com/u/jmarchalonis)\
**Post date:** [September 7, 2013, 7:46pm UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/50 "2013-09-07T19:46:57Z")

</div>

@ alexandrefalmeida idk what that specific error means, but when i try to build using an iOS 7 beta, it shoots back you can’t build against a beta. Once the gm is released I will build against it, but for now, its iOS 6.1.&nbsp;

Edit: I was talking specifically about a distr. build… developer build, not an issue.&nbsp;

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 7, 2013, 7:50pm UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/51 "2013-09-07T19:50:31Z")

</div>

Do you have XCode 5 Developer Preview 6 installed?

Have you changed your path to use that version instead of Xcode 4?

You can execute: xcode-select --print-path

from the command line and find out if you’re pointing to the right Xcode.&nbsp; Then assuming your XCode DP6 is in Applications you can do:

sudo xcode-select -switch /Applications/Xcode5-DP6.app/Contents/Developer

---

<div class="post-metadata">

**Author:** ![alexandrefalmeida](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/a/8edcca/32.png) [@alexandrefalmeida](https://forums.solar2d.com/u/alexandrefalmeida)\
**Post date:** [September 7, 2013, 8:03pm UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/52 "2013-09-07T20:03:01Z")

</div>

I’ve just checked it.&nbsp;

sudo xcode-select --print-path

/Applications/XCode5-DP6.app/Contents/Developer

Same error. When I try the 6.1 option, it works fine.

Thanks.

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 7, 2013, 8:07pm UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/53 "2013-09-07T20:07:34Z")

</div>

Are you building a development or AdHoc profile for testing on the device or are you building for Distribution to iTunes Connect?

You cannot submit to iTunes Connect using the Beta SDK and Xcode 5 probably won’t let you submit either.

---

<div class="post-metadata">

**Author:** ![jmarchalonis](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/j/958977/32.png) [@jmarchalonis](https://forums.solar2d.com/u/jmarchalonis)\
**Post date:** [September 7, 2013, 8:10pm UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/54 "2013-09-07T20:10:20Z")

</div>

> [@rob](#):
>
> Are you building a development or AdHoc profile for testing on the device or are you building for Distribution to iTunes Connect?
> 
> You cannot submit to iTunes Connect using the Beta SDK and Xcode 5 probably won’t let you submit either.

Exactly what I was trying to word but couldn’t find the words above. Well said as usually Rob!&nbsp;

---

<div class="post-metadata">

**Author:** ![alexandrefalmeida](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/a/8edcca/32.png) [@alexandrefalmeida](https://forums.solar2d.com/u/alexandrefalmeida)\
**Post date:** [September 7, 2013, 8:12pm UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/55 "2013-09-07T20:12:01Z")

</div>

I’m using my iPhone Developer iOS Team Provisioning Profile.

Checked it again.

---

<div class="post-metadata">

**Author:** ![alexandrefalmeida](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/a/8edcca/32.png) [@alexandrefalmeida](https://forums.solar2d.com/u/alexandrefalmeida)\
**Post date:** [September 7, 2013, 8:27pm UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/56 "2013-09-07T20:27:15Z")

</div>

I googled this error and found nothing.

It says it’s a server error, template not found. Can you give me any other clue?

Even when I try to build it to Xcode Simulator, the error is the same:

A device build error occurred on the server.&nbsp;

&nbsp;

BuildID: 522b8be99cc2d&nbsp;

Error: Template not found.

&nbsp;

Build Number: 2013.1202

Platform: iphone-sim

Platform Version: 7.0

Template Type: basic

&nbsp;

Thanks.

---

<div class="post-metadata">

**Author:** ![jmarchalonis](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/j/958977/32.png) [@jmarchalonis](https://forums.solar2d.com/u/jmarchalonis)\
**Post date:** [September 7, 2013, 9:42pm UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/57 "2013-09-07T21:42:26Z")

</div>

Alex, try rolling back to build&nbsp;2013.1192 and see if you get the same issue?&nbsp;

---

<div class="post-metadata">

**Author:** ![alexandrefalmeida](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/a/8edcca/32.png) [@alexandrefalmeida](https://forums.solar2d.com/u/alexandrefalmeida)\
**Post date:** [September 7, 2013, 10:13pm UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/58 "2013-09-07T22:13:11Z")

</div>

jmarchalonis, you’ve got it.

It worked with version 1192.

Thanks, I hope Corona Team will fix it soon.

Best regards.

---

<div class="post-metadata">

**Author:** ![jmarchalonis](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/j/958977/32.png) [@jmarchalonis](https://forums.solar2d.com/u/jmarchalonis)\
**Post date:** [September 8, 2013, 5:50am UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/59 "2013-09-08T05:50:23Z")

</div>

Glad that worked for you alex…&nbsp;

---

<div class="post-metadata">

**Author:** ![ec2](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/e/e47774/32.png) [@ec2](https://forums.solar2d.com/u/ec2)\
**Post date:** [September 8, 2013, 11:22pm UTC](https://forums.solar2d.com/t/ios-7-beta-build/315788/60 "2013-09-08T23:22:56Z")

</div>

alexandrefalmeida, I had the same “template not found” issue a couple of days ago. &nbsp;As I had been messing about trying to switch between different versions of Xcode, and couldn’t find any mention of it on the forums,&nbsp;I thought that I had messed up something on the machine so I spent several hours restoring the machine to a previous state, and reinstalling software.

Anyhow, 1202 doesn’t work when building to ios7 beta. &nbsp;1198 works fine.

[Previous page](https://forums.solar2d.com/t/ios-7-beta-build/315788.md?page=2)

[Next page](https://forums.solar2d.com/t/ios-7-beta-build/315788.md?page=4)
