Maximum limit on dependencies and linked binary for an app

Do we have a maximum limit on the dependencies (which includes Frameworks, Resource bundles, extension targets, etc) and the linked binaries that we add for an app target? Also, I am interested to know if there is any limit on number of static and dynamic framework that can be added/linked to a target. Attaching a sample screenshot to make it more clear

Answered by DTS Engineer in 704568022

There are no hard limits to these but if you go too far you will run into problems. For example, every framework that you add to your app has a runtime cost on app launch. If you add too many frameworks, app launch will start to be sluggish. If you add a ridiculous number of frameworks, app launch could be so slow that you end up triggering the watchdog on an older, slower devices.

What sort of numbers are you looking at here? IMO values in the 10s are fine, values in the 100s are questionable but may work, values in the 1000s are so far off-piste that you will almost certainly fall into a crevasse.

Share and Enjoy

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

Accepted Answer

There are no hard limits to these but if you go too far you will run into problems. For example, every framework that you add to your app has a runtime cost on app launch. If you add too many frameworks, app launch will start to be sluggish. If you add a ridiculous number of frameworks, app launch could be so slow that you end up triggering the watchdog on an older, slower devices.

What sort of numbers are you looking at here? IMO values in the 10s are fine, values in the 100s are questionable but may work, values in the 1000s are so far off-piste that you will almost certainly fall into a crevasse.

Share and Enjoy

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

@eskimo Thanks. I was looking at ~100 but i wanted to know if there is any limit or impact with linking too many frameworks.

Maximum limit on dependencies and linked binary for an app
 
 
Q