Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

xcode

iphone

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.

like image 895
Martin Cowie Avatar asked Aug 25 '10 09:08

Martin Cowie


People also ask

What is internal API error?

The client application gets an HTTP status code of 500 with the message Internal Server Error as a response for API calls. The HTTP status code 500 is a generic error response. It means that the server encountered an unexpected condition that prevented it from fulfilling the request.

What is Iphone API?

An API, or application programming interface, is used to pass data back and forth between software apps in a formalized way. Many services offer public APIs that allow anyone to send and receive content from the service.


2 Answers

I had the same issue. My case was an iPhone that was used for the first time on the laptop. I fixed it by opening the project in XCode with the iPhone plugged in. Xcode will then say "Processing symbol files". When finished, deploying on iPhone worked from within the QT Creator.

like image 106
gleerman Avatar answered Oct 02 '22 11:10

gleerman


my problem was using a distribution profile, forgot to change back to a developer profile and that was what caused the internal api error. hope it helps someone

like image 29
henghonglee Avatar answered Oct 02 '22 11:10

henghonglee