Object repository and Library actives can does not work simultaneously in the newes studio version

See:

Object Repository Library can’t have both Descriptors and UI Activities simultaneously? (Bug or Feature?) - Help / Studio - UiPath Community Forum

Please give it a try using 23.4.1 version. There is no limitation like you described. Please share a screenshot of the project you try to create or the error encountered.