D DevT macrumors newbie Original poster Aug 23, 2019 13 2 Sep 2, 2025 #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: Sep 3, 2025
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 Sep 3, 2025 #2 Where does SanDisk come into this?
casperes1996 macrumors 604 Jan 26, 2014 7,681 5,866 Horsens, Denmark Sep 3, 2025 #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,681 5,866 Horsens, Denmark Sep 3, 2025 #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 13 2 Sep 3, 2025 #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.