question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Modify info.plist App helper

See original GitHub issue

I keep running into the error when submitting to the app store and can’t get by it. The error is:

ERROR ITMS-90296: "App sandbox not enabled. The following executables must include the "com.apple.security.app-sandbox" entitlement with a Boolean value of true in the entitlements property list: [( "com.site.app.pkg/Payload/App.app/Contents/Frameworks/App Helper EH.app/Contents/MacOS/QuizzUmmah Helper EH", "com.site.app.pkg/Payload/App.app/Contents/Frameworks/App Helper NP.app/Contents/MacOS/App Helper NP", "com.site.app.pkg/Payload/App.app/Contents/Frameworks/App Helper.app/Contents/MacOS/App Helper", "com.site.app.pkg/Payload/App.app/Contents/MacOS/App" )] Refer to App Sandbox page at https://developer.apple.com/devcenter/mac/app-sandbox/ for more information on sandboxing your app."

So I am trying to add the value: com.apple.security.app-sandbox=true to the app helper info.plist, but I keep running into I am not allowed to modify, because im not original owner.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Jun 13, 2018

@AhadCove, by this

When you’re building the app refer to the entitlements with the flag

you mean referring the entitlements here? codesign -s "$APP_KEY" -f --entitlements "$CHILD_PLIST" "$FRAMEWORKS_PATH/Electron Framework.framework/Versions/A/Electron Framework"

cos i tried this codesign -s "$APP_KEY" -f --entitlements "$PARENT_PLIST" --entitlements-inherit "$CHILD_PLIST" "$FRAMEWORKS_PATH/Electron Framework.framework/Versions/A/Electron Framework"

and still ran into that error.

if possible, could you please guide me like where exactly i should refer the entitlements with a example?

0reactions
AndyNormorecommented, May 18, 2019

image

GOT IT – The signing is kind of specific I guess, and this PATICULAR file wasn’t being signed. So I added a line to make sure this one specifically was being signed and BAM, worked and uploaded ❤️

Read more comments on GitHub >

github_iconTop Results From Across the Web

how do I edit plist file using the xcode? - Apple Developer
First, open your app's Info.plist in Xcode. Check for a row called "Required Background Modes", or "UIBackgroundModes". If this already exists, skip to...
Read more >
How to modify info.plist? - Stack Overflow
If you want to modify the Xcode Info.plist do it the GUI in the Info tab of the target. After adding a custom...
Read more >
[Edit Plist File Plugin] General Plugin Usage Question
From what I've read it suggests to disable ATS in the Info.plist file like so: <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key>
Read more >
How to open, edit, and save a Info.plist file on Windows!
It can be used for changing the display name on the ios app, and also can enable you to download two of the...
Read more >
How do I edit an Info.plist file? - Ask Different
You need read/write permissions to the containing folder as well as the plist itself for Xcode to modify the file in place.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found