Breaking News
Home / iOS / iOS Isuses / Failed to deploy app to Device on iPhone – Security Error

Failed to deploy app to Device on iPhone – Security Error

Issue

The app works in simulator however when you deploy on the iPhone it fails saying:

Error launching remote program : Security Error

Solution

Make sure the entitlements are correct.

In the file Entitlements.plist set the following:
get-task-allow = TRUE

Build and deploy the app.

[pb_builder]

Check Also

local variable ‘build_data’ referenced before assignment : TestFlight Error : Failed to upload build.

Scenario Trying to upload build to TestFlight fails in the end. Error local variable ‘build_data’ …

Advertisment ad adsense adlogger