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.

NineveGL and iCloud backup
Vote this thread:


@Momeks

Posts: 71

NGLSpecialist

Wed, Nov 13 2013


Hi , I recently submitted my app but apple rejected due to :

2.23: Apps must follow the iOS Data Storage Guidelines or they will be rejected
We still found that your app does not follow the iOS Data Storage Guidelines, which is required per the App Store Review Guidelines.

In particular, we still found that after viewing several planets' information and pictures, your app stored non user-generated content in iCloud backup directories. To check how much data your app is storing:

- Install and launch your app
- Go to Settings > iCloud > Storage & Backup > Manage Storage
- If necessary, tap "Show all apps"
- Check your app's storage

The iOS Data Storage Guidelines indicate that only content that the user creates using your app, e.g., documents, new files, edits, etc., should be backed up by iCloud.

Temporary files used by your app should only be stored in the /tmp directory; please remember to delete the files stored in this location when the user exits the app.

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 asked them which files iCloud backups , and they answer me :
Thank you for your reply. After launching the app and viewing several planets, including the images of each one, we found the app stored data in iCloud backup directories.


I think their meaning is images from textures ! So my question is does NineveGL have any problem with iCloud backup process ? this issue drives me crazy ! I don't know how to solve it .
0% like this - 0/0

@dineybomfim

Posts: 571

NGLAdmin

Thu, Nov 14 2013


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

@Momeks

Posts: 71

NGLSpecialist

Thu, Nov 28 2013


Add this following code to solve this issue :



- (BOOL)addSkipBackupAttributeToItemAtURL:(NSURL *)URL
{
assert([[NSFileManager defaultManager] fileExistsAtPath: [URL path]]);

NSError *error = nil;
BOOL success = [URL setResourceValue: [NSNumber numberWithBool: YES]
forKey: NSURLIsExcludedFromBackupKey error: &error];

if(!success){
NSLog(@"Error excluding %@ from backup %@", [URL lastPathComponent], error);
}

return success;

}

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{

//skip fucking icloud
NSString *docsDir;
NSArray *dirPaths;
NSURL * finalURL;
dirPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
docsDir = [dirPaths objectAtIndex:0];
finalURL = [NSURL fileURLWithPath:docsDir];
[self addSkipBackupAttributeToItemAtURL:finalURL];
}
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.