ios-frameworks

Xamarin.iOS Binding Libraries / Native Frameworks

强颜欢笑 提交于 2019-12-01 12:01:04
For some reason i need to use this native framework in my Xamarin.iOS app and the problem comes, that i have no idea how to make bindings properly. So as i understood correctly, this framework also uses another one framework and i'm little bit confused, what exactly i need to do? Questions : Do i need to implement static library(is this possible to do with native frameworks ) as it shows on official documentation of Xamarin ? Can i make bindings for native framework that is using another framework too or i need to implement them separately? Maybe i should re-write all these native frameworks

How can I add NSSpeechSynthesizer Class Reference?

南楼画角 提交于 2019-12-01 11:09:24
How can i add NSSpeechSynthesizer Class Reference. I think it is in /System/Library/Frameworks/AppKit.framework . However there is no such framework name in framework window when I am clicking add existing frame work. Can any one help me to do it. Vladimir AppKit framework is MacOS framework, not iOS, and so NSSpeechSynthesizer class is also available on Mac only. Check this question on SO for the list of some 3rd-party text-to-speach engines available on iPhone VSSpeechSynthesizer is available for the iOS - but it is a private API and as such will likely be rejected from the app store.

Xamarin.iOS Binding Libraries / Native Frameworks

回眸只為那壹抹淺笑 提交于 2019-12-01 10:51:06
问题 For some reason i need to use this native framework in my Xamarin.iOS app and the problem comes, that i have no idea how to make bindings properly. So as i understood correctly, this framework also uses another one framework and i'm little bit confused, what exactly i need to do? Questions : Do i need to implement static library(is this possible to do with native frameworks ) as it shows on official documentation of Xamarin ? Can i make bindings for native framework that is using another

How can I add NSSpeechSynthesizer Class Reference?

心不动则不痛 提交于 2019-12-01 07:44:10
问题 How can i add NSSpeechSynthesizer Class Reference. I think it is in /System/Library/Frameworks/AppKit.framework . However there is no such framework name in framework window when I am clicking add existing frame work. Can any one help me to do it. 回答1: AppKit framework is MacOS framework, not iOS, and so NSSpeechSynthesizer class is also available on Mac only. Check this question on SO for the list of some 3rd-party text-to-speach engines available on iPhone 回答2: VSSpeechSynthesizer is

dyld: Library not loaded different behavior for 6.0 simulator/6.0 device

你说的曾经没有我的故事 提交于 2019-11-30 10:55:43
问题 My app runs fine on the iPhone 6.0 Simulator in Xcode, but when I try to run it on my 6.0 device, I get the following fatal error: dyld: Library not loaded: /System/Library/Frameworks/AdSupport.framework/AdSupport Referenced from: /var/mobile/Applications/26329A7C-04B0-415A-B8EB-3C59CC1EC0B1/hammerhead.app/hammerhead Reason: image not found I am sure that my Phone has version 6.0 and is up to date. My deployment target is set to 6.0 in my project file and in my info.plist file. What should I

Prefix Static Library iOS

倾然丶 夕夏残阳落幕 提交于 2019-11-30 10:41:35
问题 I'm building an iOS static library (as per https://github.com/jverkoey/iOS-Framework). I depend on SBJson and AFNetworking. I would like to include these libraries to avoid version issues and for installation simplicity; to do so, I need to prefix these libraries to avoid naming conflicts. How can I prefix other static libraries in a simple way? Ideally, it would be part of my build process. Less ideally, but acceptable, are tips on how to refactor and rename in a sane manner. 回答1: The only

How to suppress `warning: linking against dylib not safe for use in application extensions`?

雨燕双飞 提交于 2019-11-30 07:50:46
I have a dynamic framework that is shared between an iOS application and an extension. There is some code in that framework that references UIApplication , that is of course, not usable in an extension. Those calls are completely isolated and so I am not worried about them causing problems with my extension. Since there isn't a flag specified in the warning message, perhaps there isn't way to do it, but how do I suppress warning: linking against dylib not safe for use in application extensions when building my project? For your watch/today-widget extension target (so not your app or libray

Creating a universal framework using Xcode 8?

喜欢而已 提交于 2019-11-30 07:34:12
My company's iOS framework is meant to work on a real iOS device. Said framework is currently generated as an additional target within a Xcode project which also generates an application. (This makes it relatively easy to debug the framework.) We recently got requests to also make it work in the simulator, too. I can now make it do so, and the next step is to create a compiled version which works both on a real device and in the simulator. Sadly, I have not been able to locate any material indicating that anyone has done this using Xcode 8. There are materials explaining how do using older

IBDesignable from External Framework?

柔情痞子 提交于 2019-11-30 05:09:01
I'd like to create some custom views that use the @IBDesignable and @IBInspectable tags. I have added these to my Framework and then linked my Framework to my test application. But the Designables never show up in the StoryBoard. How can I use @IBDesignable and @IBInspectable to create custom views from an external framework? Can you use @IBDesignable and @IBInspectable in an application from a non-embedded Framework? Thank you. I have found a way to use designables and inspectables with Cocoa Touch frameworks. The instructions below are for an Objective-C project and Xcode 8 (I didn't test on

How to reference header files in Bridging-Header.h after updating CocoaPods to 0.36.x and above?

旧巷老猫 提交于 2019-11-29 22:49:25
After updating to CocoaPods 0.36.x, I am unable to add imports into my Bridging-Header.h file. I get the "DBSphereView.h file not found". The file is indeed present in: "Pods/DBSphereTagCloud/DBSphereView.h" "Headers/public/DBSphereTagCloud/DBSphereView.h" "Headers/private/DBSphereTagCloud/DBSphereView.h" My bridge file: #ifndef Loan_Bridging_Header_h #define Loan_Bridging_Header_h #import "DBSphereView.h" #endif I am able to use Frameworks. I have a reference to a well known Framework (Alamofire), and it works great! My podfile: source 'https://github.com/CocoaPods/Specs.git' use_frameworks!