Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

xcode - "There was an internal API error." while running an app on any iPhone/iPod-touch device

I am in the process of submitting an iPhone app to the App Store. While making the final touches to the app I was in the process of compiling and running the app on my iPhone when I got this message:

There was an internal API error.

The console had this to say:

25/08/2010 10:10:54 Xcode[3556] Failed willExecute: Error Domain=com.apple.platform.iphoneos Code=0 UserInfo=0x2011adec0 "There was an internal API error." -- {
    NSLocalizedDescription = "There was an internal API error.";
    NSLocalizedFailureReason = "";
    NSLocalizedRecoverySuggestion = "";
}

The problem is specific to this project, others projects don't suffer the same problem. The same problem exhibits when moved to another machine, or another mobile device is swapped in.

I should be most grateful for any hints or ideas on the subject.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I had the same problem on Xcode 4.5 beta 4 when I've tried to run an app which was already installed on my iOS device. You could try to remove your app from device and make sure you are using Developer profile for signing.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...