My application has been rejected because the application did not function when reviewed by the iPhone App Review Team. The application is supposed to load words into a table view, but did not do so during the review. However, the application functions perfectly on my iPhone. Can you please give me any suggestions as to why an application would work perfectly on one iPhone but not on the iPhone used in the review process?
Here are the technical details:
- The project was compiled on a MacBook Pro running Mac OS X 10.6.2 (10C540)
- Xcode version 3.2.1 64-bit Xcode IDE: 1613.0 Xcode Core: 1614.0 ToolSupport: 1591.0
- Base SDK version 3.1.3
- Optimization Level: Fastest, Smallest [-Os]
- My iPhone is a 3GS with 3.1.3 OS
I suspect that the method -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath is not being called. This method is in the delegate defined as @interface WordTableViewController : GenericTableViewController where the class GenericTableViewController is defined as @interface GenericTableViewController : UITableViewController .
I suspect the above to be the case because at one point in my development, debugging the release version on the iPhone revealed that -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath was not being called, though it was being called when debugging the debug version on the same iPhone. I resolved that issue after days of investigation. I resolved it by simply changing the optimization level in the release configuration and then changing it back to its original value. This was very strange to me.
For the most recent app submission in question, I recreated the distribution configuration by duplicating the functioning release configuration. I then created an ad-hoc configuration by duplicating that distribution configuration. Now, the application functions perfectly on my iPhone for the release, debug and ad-hoc distribution. It does not function at Apple, however.
Your comments will be VERY highly appreciated!