Running Sensitive Code in a Separate Process for iOS XCFramework

Hello everyone,

We have an iOS XCFramework that we distribute to our clients, and we're exploring ways to enhance its security. Specifically, we’d like to isolate the most sensitive code by running it in a separate process, making it harder to tamper with.

During our research, we considered using XPC for iOS but found its functionality to be quite limited. We also explored App Extensions, but unfortunately, they cannot be integrated into an XCFramework.

This leads us to the question:

Is it possible to spawn a new process to run in parallel with the main one in iOS? If so, could you provide guidance or suggest alternative approaches to achieve this within the constraints of iOS development? Thank you in advance for your insights and advice!

Best regards, Stoyan

Answered by DTS Engineer in 816247022
Is it possible to spawn a new process to run in parallel with the main one in iOS?

No.

There’s really not much more to say here. You’ve found some things that can help in very specific cases, but your request doesn’t fit any of those specific cases.

All I can really suggest is that you file an enhancement request describing the facilities you’d like to see added to the system. And if you do, please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Is it possible to spawn a new process to run in parallel with the main one in iOS?

No.

There’s really not much more to say here. You’ve found some things that can help in very specific cases, but your request doesn’t fit any of those specific cases.

All I can really suggest is that you file an enhancement request describing the facilities you’d like to see added to the system. And if you do, please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Running Sensitive Code in a Separate Process for iOS XCFramework
 
 
Q