Questions tagged [ios-universal-framework]

Questions related to the creating Universal (FAT) Frameworks on the Xcode with using the Shell Script. For the platforms such as iOS, iPadOS, macOS, watchOS or the tvOS.

Questions related to the creating Universal (FAT) Frameworks on the Xcode with using the Shell Script. For the platforms such as iOS, iPadOS, macOS, watchOS or the tvOS.

32 questions
108
votes
6 answers

How to export "fat" Cocoa Touch Framework (for Simulator and Device)?

With Xcode 6 we get ability to create own Dynamic Cocoa Frameworks. Because of: Simulator still use 32-bit library beginning June 1, 2015 app updates submitted to the App Store must include 64-bit support and be built with the iOS 8 SDK…
skywinder
  • 21,291
  • 15
  • 93
  • 123
50
votes
11 answers

Xcode 6 iOS Creating a Cocoa Touch Framework - Architectures issues

I'm trying to make a dynamic framework for an iOS app. Thanks to the new version of Xcode (6) we can select a Cocoa Touch Framework when we create a new project and there is no more need to add an aggregate target, run script and so to make one. I…
24
votes
4 answers

Get version number of iOS Universal Framework in client

This is likely not limited to iOS Universal Frameworks but all xxx.framework files. However I can't seem to find documentation on how to get the current version and build of a framework within the client application. Within an app you'd use…
Ryan Poolos
  • 18,421
  • 4
  • 65
  • 98
8
votes
1 answer

Creating a Universal Objective-C framework, LIPO can't map input file

Been researching this for the past day without success, hopefully someone can provide a few pointers on this. I have inherited an old objC static library project which I'm trying to convert to a dynamic, universal framework. Created a new target for…
David Homes
  • 2,725
  • 8
  • 33
  • 53
5
votes
2 answers

How to create universal framework in xcode6

I know how to create a framework in Xcode 5. But in Xcode 6 how to combine both a simulator framework & a device framework? When I try to combine I get a code signing error. When I use lipo to combine both framework, I also get an error. Error:…
Rajesh Loganathan
  • 11,129
  • 4
  • 78
  • 90
4
votes
3 answers

Run script for universal framework on Xcode 10

I Xcode 9.x, I was using the below script which worked fine : ###################### #…
Nitish
  • 13,845
  • 28
  • 135
  • 263
3
votes
1 answer

Swift universal framework depending on pod

I'm developing a small Swift framework that depends on Alamofire. I'm using it as an embedded framework of an app belonging to the same workspace and it works perfectly. The problem arises when I want to build an universal framework with an…
emenegro
  • 6,901
  • 10
  • 45
  • 68
3
votes
2 answers

confused about different procedures for creating a fat static library in Xcode 6

I'm a little confused about information I am finding about how to create a universal framework using the latest Xcode 6 and iOS 8 environment. For instance, this answer includes the following: If you need to create universal static library that…
Patricia
  • 5,019
  • 14
  • 72
  • 152
3
votes
3 answers

iOS Universal Framework not build i386?

I'm using the fantastic iOS Universal Framework script to build my own framework and its worked great for some time. I'm not sure exactly when, but it seems to have stopped building i386 along the way. Apps consuming the framework produced no longer…
Ryan Poolos
  • 18,421
  • 4
  • 65
  • 98
2
votes
1 answer

How to create FAT / Universal framework with XCode 13?

We were using a script to create a FAT framework before where we followed the below steps. create a framework for iOS devices create a framework for simulator devices merge the above two frameworks & it will be your FAT / Universal framework. The…
iDev
  • 531
  • 1
  • 5
  • 15
2
votes
1 answer

Do we need to create iOS Universal Frameworks for CocoaPods and Carthage?

Is my understanding correct, that we need to manually create Universal Frameworks/Libraries only if we distribute our libs by providing binaries (let's say directly download .framework)? So if we distribute using CocoaPods or Carthage, these tools…
pvllnspk
  • 5,667
  • 12
  • 59
  • 97
2
votes
2 answers

iOS universal framework compiler version changes after pod install

I'm facing an issue with the universal framework in iOS (closed source). When creating the universal framework it shows * Generated by Apple Swift version 5.1.2 (swiftlang-1100.0.278 clang-1100.0.33.9) * and it works fine if add the framework to…
Albi
  • 1,705
  • 1
  • 17
  • 28
2
votes
1 answer

Swift Universal framework issue on Xcode 10.2

I have a swift framework and I use on objective c project. I create a fat framework with script. It works till Xcode 10.2. I try to create fat framework on Xcode 10.2. It compiled successful but when I added on my objective-c project it not working…
2
votes
0 answers

Universal(Fat) framework with CocoaPods

CocoaPod will help to create frameworks, if we adopt "use_frameworks!" in the Podfile. These frameworks are located in ${BUILD_STYLE}-${PLATFORM_NAME} So I have 4 instances of the same…
Alex Cheng
  • 829
  • 8
  • 20
2
votes
0 answers

Xcode 6, iOS 8, Cocoa Touch Framework Bi directional frameworks / cyclic dependency error

My first time to post in here. Can't find any answer anywhere on my question. Please anyone: I used earlier the iOS-Universal-Framework / fake framework to build two big frameworks, that depends of each other. So f.x. just to clarify: Framework 1 …
1
2 3