Please add iphone support for com.apple.product-type.framework.static

Originator:kstenerud
Number:rdar://9403816 Date Originated:08-May-2011 10:07 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 4
Classification:Enhancement Reproducible:Not Applicable
 
Summary:

Xcode does not support static frameworks out of the box, even though it's an incredibly useful feature.

I've created a universal framework template for iOS here: https://github.com/kstenerud/iOS-Universal-Framework

It works fine, but it requires modification to Xcode's files, which leaves it a fragile solution.

I can understand that adding full-fledged universal framework support to Xcode is a bit of work, but if you could simply add com.apple.product-type.framework.static into the iPhone and Simulator specifications, which, since they are not directly exposed to the end user, will not cause confusion, the templates on github would work great as a stopgap measure.

I'm including the patch file that I apply to the specifications directories currently. They do not allow for dynamic frameworks, but I can submit a version that does if needed.

Comments

This makes sense.

Not sure why this was removed in XCode 4, but we need the ability to develop Framework projects for iOS. kstenerud's suggestion and solution posted to GitHub works very well, but it would make the most sense if this ability was put back into XCode.

Agree

This is needed in our company as well. Very useful feature missing from xcode.

By rudnik.lior at Sept. 21, 2011, 8:40 a.m. (reply...)

+1

We use this in our company as well and it'd be great to see this feature make its way back into XCode.

By santinelli at Oct. 25, 2011, 2:44 p.m. (reply...)

+1

Much Desired Feature

It would be very helpful it this could be built into the default Xcode. We will be working around it for the time being.

By steven.hepting at Feb. 13, 2012, 9:54 p.m. (reply...)

Agree!

I don't know why Apple is removing some capabilities like this. It's making things harder for developers. They should go the opposite direction. Very useful feature missing from Xcode.

By dsanchezcisneros at March 8, 2012, 9:33 p.m. (reply...)

++

This would be tremendously useful for me as well!

By Ryan.C.Payne at March 27, 2012, 2:51 p.m. (reply...)

This needs to be included in Xcode

This would be so useful for not just my company, but many others as well.

Thanks to kstenerud for the great the job he did.

Most definitely Agree...

This is definitely the best way to re-distribute lib*.a based frameworks; while at the same time not necessarily "building for a device". We definitely want this feature back.

Thanks kstenuerud.

Regards, Vishy

+1

We need this back in Xcode please Thanks kstenuerud for sharing .

Damien

+1

We need this back too.

By mattmcmurry at May 18, 2012, 1:32 p.m. (reply...)

+1

Yes please!

+1

Yes! Do need that, too.

Xcode Needs This Feature

Adding this feature can only lead to a larger and more vibrant developer ecosystem for iOS. Not only do developers need this, but Apple does too!

This should be stock Xcode functionality

Frameworks are a basic part of developing for OSX. Since OSX is required (or is said to be by Apple) to develop for IOS, the ability to create them should also be stock functionality for IOS. While Karl's github project worked magnificently, it's a shame that I had to go searching the web to find a 3rd party solution to something which should be provided by default. Lacking this functionality only serves to hinder developers.

By landshark666 at Sept. 2, 2012, 7:01 p.m. (reply...)

Duped as 12767013

By heath.borders at Nov. 28, 2012, 3:18 p.m. (reply...)

+1

This would be incredibly useful. Please add.

+1

Very important feature and a time saver!

+1

I would very much appreciate that functionality!!!

+1

Yes please! Will make building my open source Framework much easier.

+1

please!

submitted duplicate: 18689550

+1

Very much desired.

By ivan.galic at Nov. 28, 2013, 4:12 a.m. (reply...)

+1

for me too

By andrea.maschio at Sept. 30, 2013, 1:41 p.m. (reply...)

bump... this would be super nice

By nbvikingsidiot001 at May 22, 2014, 1:07 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!