Erel,
I installed APP LOADER 3.0 and upload the binary.
Now my APP is rejected. I received two emails. THe first one, only a warning (
Invalid Bundle Structure)
The second one, is the rejection:
We have discovered one or more issues with your recent delivery for "
llavemovil.com". To process your delivery, the following issues must be corrected:
Invalid Segment Alignment - The app binary at '/Payload/LlaveMovil.app/main.o' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version.
Missing load commands - The executable at '/Payload/LlaveMovil.app/main.o' does not have the necessary load commands. Try rebuilding the app with the latest Xcode version. If you are using third party development tools, contact the provider.
Once these issues have been corrected, you can then redeliver the corrected binary.
I cannot seem to find where to correct this issues, as they are generated when xCode is compiled in your side. I know that is been rejected, as in iTunes Connect is does no even lists as "Processing".
My main.h file in the Files/Special folder is:
#import <UIKit/UIKit.h>
#import "iCore.h"
@interface B4IMyDelegate : B4IAppDelegate
@end
@implementation B4IMyDelegate {
void (^complete)(UIBackgroundFetchResult);
}
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler {
NSLog(@"didReceiveRemoteNotification fetchCompletionHandler");
self->complete = completionHandler;
[super application:application didReceiveRemoteNotification:userInfo];
}
- (void)complete:(int)result {
self->complete((UIBackgroundFetchResult) result);
}
@end
int main(int argc, char * argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([B4IMyDelegate class]));
}
}