Trying to Build for IOS app get Error "Please reinstall the iOS SDK"

Sorry for the delay in getting back to you.

I was in fact able to get everything working on 4E109 (and 10.7.3) by doing a hard reset on everything - reinstalling Xcode from scratch and reissuing all the certificates just in case. I think I may have been on a beta release of 4.3 before (but then, it was working with that before as well).

Under 4.4 (4F90) I do still get that error (the same one I was getting on Lion previously - “There is no codesign_wrapper executable”). The associated log in Terminal is as follows, and occurs at the very end of the build process:

*** Warning: Defaulting to the standard codesign tool
logout

The Xcode-select path is recognized and all that. At any rate, it’s no problem with 4.3 under Lion so it’s not an imminent issue by any means, just letting you know what I found.

Thanks very much for your time. [import]uid: 87138 topic_id: 20374 reply_id: 90652[/import]

The next daily build has a couple more fixes to try to deal with the issue you described. I don’t know if it will do anything since your problem went away, but maybe it will help with 4.4? Please try the next daily build to at least make sure it doesn’t make anything worse.

If your 4.4 problem persists, I might ask you to file a bug with Apple. (I’ll supply a little more info if it comes to that.)
[import]uid: 7563 topic_id: 20374 reply_id: 90682[/import]

Sure thing, I’ll definitely try out the new build, and let you guys know if I can get it working under 4.4 as well. [import]uid: 87138 topic_id: 20374 reply_id: 90687[/import]

Hi, I’m trying to build for iOS devices using the latest free version (CoronaSDK-2011.704) and XCode 4.3 and I get errors like those described in this thread. I was wondering when you estimate that the free fix will be available…? Thanks!

(edit: I tried downloading Xcode 4.2.1 from https://developer.apple.com/downloads/index.action# but I couldn’t uninstall 4.3 by dragging it to the trash but it seemed to install 4.2.1 at first but then it didn’t - it still had 4.3. It now just says I’m missing “pbxcp”) [import]uid: 129136 topic_id: 20374 reply_id: 91234[/import]

@lwenke

It could be that your Xcode path is still trying to look for Xcode 4.3 after you trashed it and installed 4.2.

Issue the following command in Terminal:

xcode-select -print-path  

If it says something like “/Applications/Xcode.app/Contents/Developer”, then it’s still looking for 4.3 and you need to point it to 4.2.

Issue the following command in Terminal:

sudo xcode-select -switch /Developer  

That should point your installation to Xcode 4.2

PS.
I think that a new Corona SDK release will be published within the next couple of weeks.
[import]uid: 70847 topic_id: 20374 reply_id: 91246[/import]

swipeware:
Thanks 4.2.1 is installed properly now and I’m getting closer to being able to test it on my devices… [import]uid: 129136 topic_id: 20374 reply_id: 91386[/import]

Can’t build for iOS, I get this error:
The iOS SDK located at /Applications/Xcode.app/Contents/Developer is missing the following component(s):
pbxcp
Please (re)install the the iOS SDK.
I use Mac OS X 10.7.3, Corona Version 2011.704 (2011.12.8), Xcode, Version 4.3.1 (4E1019). [import]uid: 24111 topic_id: 20374 reply_id: 92211[/import]

@oskwish

I think you’re going to have to wait for the next stable build of Corona to be able to use Xcode 4.3 properly.
[import]uid: 70847 topic_id: 20374 reply_id: 92218[/import]

Just wanted to add that I upgraded to Lion, updated iTunes, updated xcode, used the above path switch instructions, trashed the old xcode, and installed the latest CoronaSDK.

Created a new build and used organizer to push it over without a single issue. Great job staff!! [import]uid: 21331 topic_id: 20374 reply_id: 92319[/import]

Thanks for reporting your results.
[import]uid: 7563 topic_id: 20374 reply_id: 92333[/import]

As I said before I had:
Mac OS X 10.7.3, Corona Version 2011.704 (2011.12.8), Xcode Version 4.3.1 (4E1019). And it didn’t work.

Now I deleted Xcode and downloaded Xcode 4.2.1 for Lion from here: https://developer.apple.com/downloads/index.action

And it works great, even on iOS devices running 5.1 :wink:

-Oskar [import]uid: 24111 topic_id: 20374 reply_id: 92430[/import]

As we’ve said, we plan on back porting the fixes to 704, but that has not happened yet. We want enough feedback on the current daily builds and Xcode 4.3 to know if this problem is fixed.
[import]uid: 7563 topic_id: 20374 reply_id: 92432[/import]

Here is the location of the files said to be missing after I upgraded to Lion and xcode 4.3 :frowning:
[bash]
new-host:~ roomba$ locate pbxcp
/Applications/Xcode.app/Contents/OtherFrameworks/DevToolsCore.framework/Versions/A/Resources/pbxcp
new-host:~ roomba$ locate copypng
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng
new-host:~ roomba$ locate codesign_allocate
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man/man1/codesign_allocate.1
/Applications/Xcode.app/Contents/Developer/usr/bin/codesign_allocate
/Applications/Xcode.app/Contents/Developer/usr/share/man/man1/codesign_allocate.1
/usr/bin/codesign_allocate
/usr/share/man/man1/codesign_allocate.1
[/bash] [import]uid: 133678 topic_id: 20374 reply_id: 92661[/import]

After following this thread, I decided to retry installing Xcode 4.3 and see if I could get it working.
I uninstalled 4.2.1 using the uninstall-devtools script.
I installed a fresh copy of Xcode 4.3.1 and rebooted just to make sure.
I adjusted the xcode-select path to /Applications/Xcode.app/Contents/Developer (check it with xcode-select -print-path).
Then I tried both the 704 build and the 762 daily. The simulator seems to work fine, but I cannot build any thing. This is the terminal output:



Copyright © 2009-2012 A n s c a , I n c .
Version: 2.0.0
Build: 2012.762
The file sandbox for this project is located at the following folder:
(/Users/marco/Library/Application Support/Corona Simulator/Code-6A028B74A181D755B62BAA9681544DC1)
2012-03-12 10:06:48.790 Corona Simulator[404:2403] xcode-select is using Xcode version: Xcode 4.3.1
Build version 4E1019
xcode-select is using Xcode version: Xcode 4.3.1
Build version 4E1019
Using Custom Build Id 0.9
ERROR: An error occurred during build. The server returned the following message:
[Error: (iOS) builds were not available. Version(1354924800)]

As it seems that you need Xcode 4.3 to sandbox anything to iOS5.1 (4.2.1 doesn’t accept 5.1 devices, or so it seems to me), it would be nice to avoid a double install of Xcode (had that before I retried the 4.3 clean install).

Any ideas where this error comes from and how to fix it?

I’m running a MacBook with 10.7.3. The Xcode 4.2.1 builds work fine.

Thanks all.

Marco
[import]uid: 123200 topic_id: 20374 reply_id: 92720[/import]

dutchottie:
“Using Custom Build Id 0.9”

That looks really wrong. You probably are overriding the custom build id in your build.settings. Don’t do that.

[import]uid: 7563 topic_id: 20374 reply_id: 92775[/import]

Hey ewing,

Okay, thanks! That worked.
Strange that 1) it is possible to set a custom version in the build.settings file and 2) that it did work with Xcode 4.2.1 and Corona and now seems broken.

Anyway, you solved my problems.
Thanks again.

Marco
[import]uid: 123200 topic_id: 20374 reply_id: 92791[/import]

So, is it best to wait for the next stable build before getting Xcode 4.3.1?

If so, any idea when that will be? [import]uid: 94653 topic_id: 20374 reply_id: 92832[/import]

Reporting successful upgrade to XCODE Version 4.3.1 (4E1019)

In fact it was perfectly smooth…here’s what I did just today

My stuff:
Lion 10.7.3
Corona SDK (760)
XCODE 4.2.1

I had 4.2.1 version of XCODE, wen through the upgrade process via the Link provided within XCODE when you are hooked up to a device that has upgraded to iOS 5.1, basically it shoves you through your developer login site. The download and install is quite clunky, no activity, no dialogue box, nothing. Just trust that when you click the little install button in the appstore it changes from “Install” to “Downloading” and then finally it will say “Installing”, at that poitn you will start to get some prompts.

After the lengthy download, I had to select “Install XCODE” from my applications folder. Be sure your current XCODE is not running and is undocked.

I was also prompted to have the old 4.2.1 removed for me so I accepted. There were two things to be removed so I said OK to both.

Minutes later I was able to deploy a previously built Corona SDK package to my 5.1 iPOD touch as well as re-build that same package using Corona SDK (760) and deploy that as well with no issues.

I also deleted a couple of my apps and downloaded them from the app store with no issue.

Let me know if you need any other details, but it worked terrific for me!

Thanks for everyone working to make this process easier for all of us!

–Croisened

[import]uid: 48203 topic_id: 20374 reply_id: 92860[/import]

What exactly do you mean with “the upgrade process via the Link provided within XCODE when you are hooked up to a device that has upgraded to iOS 5.1, basically it shoves you through your developer login site.” Can you give me a link to where you downloaded it?
Thanks,
Oskar [import]uid: 24111 topic_id: 20374 reply_id: 92862[/import]

If you have a device that is on 5.1, but still running XCODE 4.2.1 and connect your device, when you open Organizer and click on the device over in the left margin it will say something to the effect that the device should be rolled back to a previous version or to upgrade your SDK click “here”

That put me into the developer portal on apple web site, I had to log in and then ultimately it sent me to the app store for the upgrade.

It was just a bunch of steps to get to the app store I presume.
Hope that helps some

–Croisened [import]uid: 48203 topic_id: 20374 reply_id: 92869[/import]