ios-universal-framework

Xcode Creating Universal Frameworks as Dependents of a Universal Framework

你。 提交于 2019-11-27 08:39:17
问题 Currently, when I distribute my Universal Framework I have to distribute the Universal Frameworks mine includes in the Build Phases - Link Binary With Libraries. I want to bundle everything up into one tidy Universal Framework, so my users will be able to easily link to my Universal Framework and not need to bother with the others. I am trying to "embed" two other Universal Frameworks into my Universal Framework. I'm following this tutorial here: Developing the Framework as a Dependent

Get version number of iOS Universal Framework in client

只谈情不闲聊 提交于 2019-11-27 02:44:10
问题 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 something like: NSString *name = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleDisplayName"]; NSString *build = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"]; NSString *version = [[[NSBundle mainBundle]

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

元气小坏坏 提交于 2019-11-26 13:58:46
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 ( developer.apple.com ) We have to make fat library to run project on devices and simulators. i.e. support both 32 and 64 bit in Frameworks. But I didn't find any manuals, how to export universal fat Framework for future integration with other projects (and share this library with someone). Here is my steps to reproduce: Set ONLY_ACTIVE_ARCH=NO in the Build

Xcode 6 iOS Creating a Cocoa Touch Framework - Architectures issues

被刻印的时光 ゝ 提交于 2019-11-26 08:57:50
问题 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 have no issue when i build the framework. But when I\'m trying to use it inside an iOS app I get some architectures issues. ld: warning: ignoring file /Library/Frameworks/MyFramework.framework/MyFramework, file was built for x86_64 which is not the