osx - OS X app testing for sandbox violations -


I have tried to convert an OSX app into a sandboxed app. App support 10.5 forward and manual memory management. After converting, I have tested it in Xcode 4.3.

The console no longer shows any violation. Is it a conclusion that there is no sandbox infringement in the app, or is there another way to detect sandbox violation before submitting the app in the Mac App Store? Besides, is it OK to leave manual storage management, or should ARC be enabled?

Thank you.

To check that the app is in the binary sandbox:

  Codesign -dvvv --entitlements: - Executable_path   

:

  1. Open the console application (available in Applications / Utilities /) and make sure that All messages are selected in the sidebar.

  2. In the filter area of ​​the console window, enter sandboxed to display only app sandbox violation.

  3. Sandboxed is the name of the Sandbox daemon that reports on a sandbox infringement related message, as it appears in the console, looks like the following Is:

    sandboxed console log

    You can also use the Xcode Organizer's verification wizard without having to submit the app to the Mac App Store at the app store verification check. It can check some sandboxes.

    Products & gt; Collections & gt; Organizer & gt; "Valid ..."

    Also, is it OK to leave manual storage management, or should ARC be enabled?

    Yes, it is OK to issue a new app using "Manual Retain-Release" (MRR) instead of Auto Reference Calculation (ARC).

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -