D DevT macrumors newbie Original poster Aug 23, 2019 10 2 Tuesday at 10:12 PM #1 Hi, In my xcode objc project passed absolute path+name of a binary file from my application to static library. My Library gave error opening file. Last edited: Wednesday at 11:13 PM
Hi, In my xcode objc project passed absolute path+name of a binary file from my application to static library. My Library gave error opening file.
G Greybeard2017 macrumors regular Dec 7, 2020 107 127 Wednesday at 4:49 AM #2 Where does SanDisk come into this?
casperes1996 macrumors 604 Jan 26, 2014 7,677 5,864 Horsens, Denmark Wednesday at 8:11 AM #3 Most likely app sandboxing. Unless your app has the full disk access permission you can only open files that have been selected by the user in a file manager dialog where you get the path back in a completion handler. Reactions: Slartibart
Most likely app sandboxing. Unless your app has the full disk access permission you can only open files that have been selected by the user in a file manager dialog where you get the path back in a completion handler.
casperes1996 macrumors 604 Jan 26, 2014 7,677 5,864 Horsens, Denmark Wednesday at 8:13 AM #4 if you just want to include the file in your app, put it in the bundle and load it with the bundle api. That’s also fine Reactions: DevT and Slartibart
if you just want to include the file in your app, put it in the bundle and load it with the bundle api. That’s also fine
D DevT macrumors newbie Original poster Aug 23, 2019 10 2 Wednesday at 11:11 PM #5 casperes1996 said: if you just want to include the file in your app, put it in the bundle and load it with the bundle api. That’s also fine Click to expand... thank you this was it. Reactions: casperes1996
casperes1996 said: if you just want to include the file in your app, put it in the bundle and load it with the bundle api. That’s also fine Click to expand... thank you this was it.