Login Action Required

The NinevehGL Forum uses a new concept of "socialized forum" or as we like to say "Tweet Forum".


Here is the deal:
  1. No new registration is required. Just sign in with your Twitter account and authorize the NinevehGL Forum.
  2. Once you’re in, you'll be able to "Follow a Thread", that means every time that thread receive a new post or update you'll receive a mention on your twitter.
  3. Besides, you can enable "Auto Share", then every new post and/or thread you make will be tweeted on your timeline. (By default, auto-share is enabled only for your threads)

Forum Rules:

1. We understand human comunication can become "hot" sometimes. So some insults and bad words ARE allowed. Just don't push too much being an asshole all the time.

2. SPAMMERS are not allowed. There are penalties for this kind of user and they can be banned forever.

3. You can report other users, if you judge necessary. An user reported many times by many people can also be banned forever. However you can also receive penalties for report deliberately for no apparent reason.

If there is a similar thread title, make sure the other one doesn't already have the answer you're looking for.

This forum uses the BBCode (Bulletin Board Code), here are some instructions:

Bold: [b]text[/b]
Italic: [i]text[/i]
Underline: [u]text[/u]

Code: [code]text[/code]
Quote:
[quote=@username]text[/quote]
[quote]text[/quote]

List:
[ul] [*]item [/ul]
[ol] [*]item [/ol]

URL:
[url]http://url.com[/url]
[url=http://url.com]text[/url]

Image:
[img]http://imageurl.com[/img]

Embed (videos, code, 3D):
[embed]http://url.com[/embed]

Welcome to the NinevehGL's world!
NinevehGL is a 3D engine forged with pure Obj-C.
Welcome to the
Forum!
Hello, Guest.

Your current vote:

You can change your vote many times. But it's still one single vote.

App rejected by Apple
Vote this thread:


@ashskr1984

Posts: 7

NGLNewbie

Mon, Feb 18 2013


Hello There,

I have uploaded the app on itune and Apple has rejected the app.
As per apple
"Data that can be recreated but must persist for proper functioning of your app - or because customers expect it to be available for offline use - should be marked with the "do not back up" attribute. For NSURL objects, add the NSURLIsExcludedFromBackupKey attribute to prevent the corresponding file from being backed up. For CFURLRef objects, use the corresponding kCFURLIsExcludedFromBackupKey attribute."

I am using "kNGLMeshKeyNormalize" setting and my objects are heavy so it is created a dictionary NinevehGL in my resources...

How can i mark this folder as Do Not Backup.
0% like this - 0/0

@DrAma78

Posts: 5

NGLNewbie

Fri, Feb 22 2013


In response to: @ashskr1984

Hello I do not think that i t has something to deal with NinevehGL, Apple rejects app with this reason, when they save a lot of data in the application's document directory, because they really could slow down backups on icloud. As far as I know the engine doesn't save data in local directories.
You have different options, if these data are temporally or they can be restored lazily (maybe downloading again from the internet) you can store them in the cache directory. Pay attention that they will be claimed when your app need disk space. The other way is to flag a dir in documents to skip the backup process https://developer.apple.com/library/ios/#qa/qa1719/_index.html .
The resource group in xcode project will be a part of the app bundle and it will be readonly, these resources will not make apple reject your app unless you stay under 4GB (32bit physical address limit). Hope this helps.

100% like this - 1/1

@badweasel

Posts: 3

NGLNewbie

Mon, Mar 11 2013


In response to: @ashskr1984

Did you solve this problem yet? You need to be storing all files in the correct place inside your sandbox or apple is going to keep rejecting your app. Really what you need to do is check the version of OS and store it properly for that version. Apple changed things between 5.0, 5.0.1, and 5.1 forward. And in some versions of the os the phone will just delete files if they're in caches and it needs space. So you have to write a handler to do this properly.

What apple does not want is for you to create a ton of files that will be uploaded to iCloud. So you have to set the do not backup flag on the folder.

I created a class to handle this for me. Mine is very misnamed "BWFileManager" but this method from it will give you an idea what it does and what you need to do. Mine also handles the migration of the data in the highly unlikely event that they upgrade the os from one run to the next. Basically the only problem is 5.0.1 and NOT ONE of my users is on this.


-(void) determineOS
{
if (iOSFileSystem==BWFileSystemUndetermined) {
// determine what OS.. set iOSFileSystem as either pre 5.0, 5.0.0. 5.0.1, or post 5.1 and up
NSString *sysVers = [[UIDevice currentDevice] systemVersion];

if ([sysVers compare:@"5.0" options:NSNumericSearch] == NSOrderedAscending) {
NSLog(@"iOS is 4.x or before - store in library/caches/");
iOSFileSystem = BWFileSystem4x;
}
else if ([sysVers compare:@"5.0" options:NSNumericSearch] == NSOrderedSame) {
NSLog(@"iOS is 5.0 exactly - you're screwed - but store in library/caches/");
iOSFileSystem = BWFileSystem50;
}
else if ([sysVers compare:@"5.0.1" options:NSNumericSearch] == NSOrderedSame) {
NSLog(@"iOS is 5.0.1 or higher.. store in documents/");
iOSFileSystem = BWFileSystem501;
}
else {
NSLog(@"iOS is 5.1 or higher.. store in documents/");
iOSFileSystem = BWFileSystem51up;
}
}
}


you also have to do something like:

if (iOSFileSystem==BWFileSystem501) {
BOOL success = [self addSkipBackupAttributeToItemAtURL501:pathURL];
if (success)
{
NSLog(@"os 5.0.1 - sucessfully set do not backup attribute for %@", pathURL);
status = status | BWFolderSetupStatusSetAttributeSucceeded;
}
else
{
NSLog(@"Could not set do not backup for %@", pathURL);
status = status | BWFolderSetupStatusSetAttributeFailed;
}
}
else if (iOSFileSystem==BWFileSystem51up) {
BOOL success = [self addSkipBackupAttributeToItemAtURL51:pathURL];
if (success)
{
NSLog(@"os 5.1 - sucessfully set do not backup attribute for %@", pathURL);
status = status | BWFolderSetupStatusSetAttributeSucceeded;
}
else {
status = status | BWFolderSetupStatusSetAttributeFailed;
}
}

0% like this - 0/0

@Momeks

Posts: 71

NGLSpecialist

Wed, Nov 13 2013


In response to: @ashskr1984

Hi , did you solve the problem ? My application got reject by Apple with same issue
0% like this - 0/0

@dineybomfim

Posts: 571

NGLAdmin

Thu, Nov 14 2013


In response to: @ashskr1984

In response to: @Momeks

Hello buddy,

Nice to know you're about to publish one more app.
About your question, not at all:
NinevehGL does not use any kind of iCloud backup nor use the iCloud backup folders. Everything follows the Apple Guide Lines and rules about saving and using the local folders, actually NinevehGL has its own custom folder inside Library.

Probably your app is saving something else in iCloud. Make sure you're not using iCloud backup or if your app will use it, please be sure to follow all the Apple guide lines.

BTW, by their answer, your app is downloading some content and saving it, NinevehGL does not handle with connections at all.

Hope to hear good news from you soon.
0% like this - 0/0
Technology

NinevehGL is a 3D engine built right on top of OpenGL ES and it uses all the programmable pipeline power, making it easy for you to create great application with shaders.

Share on


Follow NinevehGL
Fastest way to contact us:

Copyright © 2011 db-in. All rights reserved.