I’m using the app wrapper for the first time. I have an app that got rejected, the only thing that does the app is play videos and also has some link to outside websites.
Here are the options that I use in the app wrapper:
http://cl.ly/image/1r0o2R0T3B1G
Here is the reject from Apple:
2.31
This app uses one or more entitlements which do not have matching functionality within the app. Apps should have only the minimum set of entitlements necessary for the app to function properly. Please remove all entitlements that are not needed by your app and submit an updated binary for review, including the following:
‘com.apple.security.assets.movies.read-only’
‘com.apple.security.assets.music.read-only’
See App Sandboxing for links to essential video and documentation to learn how to sandbox your application.
Commonly added entitlements that many apps don’t need include:
“com.apple.security.network.server”
Apps that initiate outgoing connections (for example, to download new content from your server) only need to include “com.apple.security.network.client”. The server entitlement is only necessary for apps that listen for and respond to incoming network connections (such as web or FTP servers).
“com.apple.security.device.usb”
Apps that interact with non-standard USB devices, including HID accessories such as joysticks, may need to include this entitlement. It is not necessary for accessing keyboards, mice, trackpads, printers or external drives such as thumb drives.
Should you need code-level assistance implementing sandboxing, contact Apple Developer Technical Support.
thanks a lot !
did you look in the info.plist you submitted?
Or ask Sam if that’s a bug in App Wrapper?
[quote=171495:@Christian Schmitz]did you look in the info.plist you submitted?
Or ask Sam if that’s a bug in App Wrapper?[/quote]
I think he claimed access to the video and pictures folder that is not necessary. But since he posts only a part of his settings, it is only a guess.
Hello Michel,
Check out my setting here on the link below:
http://cl.ly/image/1r0o2R0T3B1G
Serge
[quote=171549:@serge ramelli]Hello Michel,
Check out my setting here on the link below:
http://cl.ly/image/1r0o2R0T3B1G
[/quote]
I had looked at that before. It should certainly not trigger problems with entitlements. The only explanation I can think of is that you modified the info.plist file to include entitlements that are no used.
https://developer.apple.com/library/ios/documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/EnablingAppSandbox.html#//apple_ref/doc/uid/TP40011195-CH4-SW1
I’m sorry but I have no idea how to change the info.plist and the entire reason why I use the app wrapper is to not have to worry about this kind of details.
If you look in the app wrapper options I only selected 2 things. 1. Sand box this app and 2. I put movies on read only.
The only thing that my app does is read movies.
I though that the info/plist was being handled by the app wrapper. I’m a totally newbie, could give me more data or tell me what I did wrong in app wrapper ?
thanks,
It could be a misunderstanding from the reviewer too.
Is your app reading whats in the ~/Movies folder by itself without the user selecting it in an Open dialog?
[quote=171639:@serge ramelli]I’m sorry but I have no idea how to change the info.plist and the entire reason why I use the app wrapper is to not have to worry about this kind of details.
If you look in the app wrapper options I only selected 2 things. 1. Sand box this app and 2. I put movies on read only.
The only thing that my app does is read movies.
I though that the info/plist was being handled by the app wrapper. I’m a totally newbie, could give me more data or tell me what I did wrong in app wrapper ?
thanks,[/quote]
The first of the entitlements mentioned by Apple
'com.apple.security.assets.movies.read-only'
'com.apple.security.assets.music.read-only'
is set when you click Movies read only. Apparently, you do not use direct access to that folder, so the best you can do is uncheck that and try to see if your app still works. It should then go through fine.