Using Cocoa NSSavePanel in Sandbox causes Assertion failure

前端 未结 1 1645
臣服心动
臣服心动 2021-02-07 01:39

I\'m trying to use the NSSavePanel and added this line to my code.

let test = NSSavePanel()

Everytime this code is called the this error appe

相关标签:
1条回答
  • 2021-02-07 02:31

    Your File Access permissions for the User Selected File type are probably still set to the default Read Only value

    1. Navigate to the 'Capabilities' tab for your target

    1. Set the User Selected File permission to Read/Write

    1. Run your app (the bridge absent error should be gone)
    0 讨论(0)
提交回复
热议问题