iOS Question upload app to Apple Store

electro179

Active Member
Licensed User
Longtime User
Hi

I use the Itunes Connect Uploader and I have an error


Who can explain me ?

thank you

Package Summary:

1 package(s) were not uploaded because they had problems:
/var/folders/35/nx43fs8567l9z_wvvpc35snh0000gn/T/1B25DDBC-76F8-4479-967D-554454C56EAB/1069320433.itmsp - Error Messages:
ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'RDM Report.app/main.o' is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure."
2015-12-21 05:56:59.759 altool[71468:2467622] *** Error: Errors uploading 'RDM Report.ipa': (
"Error Domain=ITunesTransporterErrorDomain Code=-18000 \"ERROR ITMS-90171: \"Invalid Bundle Structure - The binary file 'RDM Report.app/main.o' is not permitted. Your app can\U2019t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure.\"\" UserInfo={NSLocalizedRecoverySuggestion=ERROR ITMS-90171: \"Invalid Bundle Structure - The binary file 'RDM Report.app/main.o' is not permitted. Your app can\U2019t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure.\", NSLocalizedDescription=ERROR ITMS-90171: \"Invalid Bundle Structure - The binary file 'RDM Report.app/main.o' is not permitted. Your app can\U2019t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure.\", NSLocalizedFailureReason=ERROR ITMS-90171: \"Invalid Bundle Structure - The binary file 'RDM Report.app/main.o' is not permitted. Your app can\U2019t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure.\"}"
)
 

electro179

Active Member
Licensed User
Longtime User
at the beginning yes but after I remove all

With "Upload App to Itunes Connect" It doesn't need Apple ?, It's correct
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

electro179

Active Member
Licensed User
Longtime User
I have that :

Can I delete the line directly ?

import <UIKit/UIKit.h>

#import "iCore.h"

@interface B4IMyDelegate : B4IAppDelegate

@end

@implementation B4IMyDelegate {
void (^completeFetch)(UIBackgroundFetchResult);
}

-(void)application:(UIApplication *)application performFetchWithCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler
{
NSLog(@"performFetchWithCompletionHandler");
self->completeFetch = completionHandler;
B4I* bi = [self valueForKey:mad:"bi"];
[bi raiseUIEvent:nil event:mad:"application_fetchdownload" params:nil];
}

- (void)completeFetch:(int)result {
self->completeFetch((UIBackgroundFetchResult) result);
}
@end


int main(int argc, char * argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([B4IMyDelegate class]));
}

}
 
Upvote 0

electro179

Active Member
Licensed User
Longtime User
I delete and i keep


B4X:
import <UIKit/UIKit.h>

#import "iCore.h"

@interface B4IMyDelegate : B4IAppDelegate

@end


int main(int argc, char * argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([B4IMyDelegate class]));
}

}

After compilation , everything is back
 
Upvote 0

dZouL IT

Member
Licensed User
Longtime User
Hi,

Trying to understand how to resolve this issue, but I'm quite lost with electro179 solution. Anyone can help.

I'm using fetch download and the main.m file is in Files\Special directory ... do I need to delete the main.m file before compile? What happened to the fetch download functionality?

TQ
 
Upvote 0
Top