Reputation: 11
I'm trying to resign ios app using my own certificate and after resign it it produce a file "embedded.mobileprovision". is there a way to delete this file or hide it?
I need the app to work after resigning it and hide/delete the "embedded.mobileprovision" file.
Upvotes: 1
Views: 1821
Reputation: 23880
You cannot delete that file for two reasons:
installd
and not mobile
, which you're running as.In order to "hide" it, the most reasonable approach would be to take a look at what syscalls the app uses to look for that file, and then inject a custom dylib to hook those syscall invocations and patch the returned data.
Upvotes: 0