Cocoa error 260

后端 未结 6 1644
借酒劲吻你
借酒劲吻你 2021-02-05 03:20

I keep getting this error. I\'m uploading via ftp to a server. It works fine and uploads completely while running in the simulator, but when I provision it on my iPhone, it says

6条回答
  •  甜味超标
    2021-02-05 03:28

    In my case my 260 error was due to a folder in the path Being camelCase.

    In the simulator it worked fine under OSX. However on an iOS Device the case became very important.

    I.E. I was referencing a folder called ``@"/Data/somethings/"``` On disk this was /data/somethings/

    You have to maintain a consistency of uppercase / lowercase for iOS. So I had to make sure it was always referred to as /data/somethings/

提交回复
热议问题