Xcrun PackageApplication, failed unable to copy application

前端 未结 2 1420
花落未央
花落未央 2021-01-02 04:03

I\'ve created a simple application in Xcode. Setted up a provisioning for Debug and Release configuration. I\'m performing in terminal:

xcodebuild -target si         


        
相关标签:
2条回答
  • 2021-01-02 04:20

    I got this error because of a trailing '/' on the app path:

    This fails:

    xcrun -sdk iphoneos PackageApplication -v foobar.app/
    

    This works:

    xcrun -sdk iphoneos PackageApplication -v foobar.app
    
    0 讨论(0)
  • 2021-01-02 04:32

    Just out of curiosity, have you checked to make sure that you have proper permissions and that the source and destination directories exist? It looks like the copy command is failing. My guess is from a problem with the temp dir.

    0 讨论(0)
提交回复
热议问题