살군의 보조기억 장치

Another memory device…

AdHoc 배포 삽질중…

leave a comment »

배포판을 생성해 볼려고 오만가지 일을 다 하고 난 다음에 archive 에서 share…를 하니 이런 이상한 결과가 나왔다. 다양한 해결책이 있는데… 아마 내게 맞는 해결책은 이것인듯 하다. 나도 타임머신에서 복구한 시스템이기 때문이다.

error message

error message

그래서… 찾아본 결과… 요 답이 맞는거 같다.

After much frustration, I filed a developer support request with Apple. The technician I spoke with was able to save my archive as an .ipa on her computer — the exact same archive that I was not able to save on mine, which pointed to a possible bug in my system (and from the sounds of it, many other people’s).

She recommended that I uninstall and reinstall XCode and the developer tools, and that worked!

Here were her uninstall instructions:

  • Make sure that your machine is running the latest Mac OS X (10.6.7) and iTunes.
  • Run the following command in the Terminal application to uninstall your SKD: sudo <Xcode>/Library/uninstall-devtools --mode=all (where <Xcode> is the path to the directory that contains your SDK.)
  • Drag your <Xcode> to the trash and restart your machine
  • Re-download and install Xcode (4.0.2) from the iOS Dev Center. Make sure that the System Tools, UNIX Development, Essentials packages in the Custom Install pane are selected before installing it.
-------------replies------------------------------

I got this error too after restoring my system from a time machine backup. This answer led me in the right direction. Thanks – Mike Akers May 26 at 5:58

I got this error too. I hadn’t selected to install the UNIX development tools when installing XCode4. I reinstalled XCode4 (without uninstalling), this time with all options selected, and it fixed the problem. Thanks! – William Denniss Jun 13 at 10:24

This also happens if you install pre-release versions of XCode in a different directory, and then subsequently remove them (because you now realize you should not have put it on a production machine 🙂 ) A reinstall (or, strangely, in my case… 2) takes care of the problem. – mmc Jun 28 at 17:07

 
---------------------------------- 8/9/2011 update -------------------------------------------------
역시나... xcode를 재설치 했더니 저장이 잘 된다. 이제 배포해서 테스트 해봐야 되는데... 어디서 배포하지? ㅋㅋ

retrieved from: http://stackoverflow.com/questions/5838409/xcode-4-archive-ipa-error-the-operation-couldnt-be-completed-no-such-file-or

Advertisements

Written by gomiski

2011/08/06 at 1:31 am

Posted in iOS, Lecture

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: