ios-frameworks

Creating a universal framework using Xcode 8?

牧云@^-^@ 提交于 2019-12-18 12:34:14
问题 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

Error ITMS-90206 Invalid bundle contains disallowed file 'Frameworks'

牧云@^-^@ 提交于 2019-12-18 11:56:21
问题 I have a problem uploading my application into the Store via Xcode, this one in particular. I saw a lot of post about this error, but all are talking about Extension App , that I do not use. I'm using a Custom framework and Cocoapods . You can see here my tree : XXX is my project app name SharedXXX is my custom framework Pods is the project created by cocoa pods Here is my cocoa podFile : use_frameworks! link_with 'XXX', 'SharedXXX' source 'https://github.com/CocoaPods/Specs.git' platform

XCode6: Receiving error “Include of non-modular header inside framework module”

*爱你&永不变心* 提交于 2019-12-18 07:43:09
问题 I have an iOS app that consists of an app, a bunch of my custom frameworks, and a bunch of third party framweorks: App MyFramework1 MyFramework2 AFNetworking.framework Mantle.framework .. I get the error "Include of non-modular header inside framework module" with the following structure: App/AppDelegate.m #import <MyFramework2/MyFramework2.h> MyFramework2/MyFramework2.h #import "MyClass.h" MyClass.h #import <Mantle/Mantle.h> <-- Error happens here MyFramework2 builds by itself . Trying to

importing swift framework into a objective-c project

Deadly 提交于 2019-12-17 18:26:39
问题 I am importing swift framework into objective-c project like this: @import MyFramework; The problem is that only some of the classes are recognized by the class i am importing the framework. The class which is recognized: public class RecognizedClass:UIViewController, WKNavigationDelegate, WKScriptMessageHandle { ... } The class which is not: public class VeediUtils { ... } They are both public so why the first is recognized in the workspace and the other not? Also i see in the header file

Adding quartzcore to Xcode 4 for iOS

霸气de小男生 提交于 2019-12-17 12:40:31
问题 I have troubles installing quartzcore on Xcode 4 regarding an iOS application. I just can't find the answer: how to do it? Because when I try to add Quartzcore to the targets of the project, it seems I can only add a Mac OS X framework. All you can do about an iOS framework is creating one. 回答1: In Xcode 4, in the left sidebar, select the project file at the top: 1) Make sure your target is selected in the main view, and you should see 5 tabs at the top, 2) Click the "Build Phases" tab, 3)

Implement PushKit and test in development behavior

孤人 提交于 2019-12-17 05:45:09
问题 i'd like to implement PushKit service within my app ( Voip app ), but i have following doubt: I see that i can generate only production voip certificate , it works if i try to test voip push notification service on develop device ? This is my implementation test: With this 3 line of code i can get push token on didUpdatePushCredentials callback that i use to save into my server. PKPushRegistry *pushRegistry = [[PKPushRegistry alloc] initWithQueue:dispatch_get_main_queue()]; pushRegistry

Creating iOS/OSX Frameworks: is it necessary to codesign them before distributing to other developers?

强颜欢笑 提交于 2019-12-17 05:18:10
问题 I am learning how to create iOS and OSX frameworks. Let's take iOS for example, the following steps work for me so far: xcodebuild framework using -sdk iphonesimulator and Build action xcodebuild framework using -sdk iphoneos and Build action Use lipo tool to create universal binary so that lipo -info produces expected: Architectures in the fat file: Foo.framework/Foo are: i386 x86_64 armv7 arm64 The questions are: I read that my framework can be re-signed by developer who is using it: "Code

Creating iOS/OSX Frameworks: is it necessary to codesign them before distributing to other developers?

烂漫一生 提交于 2019-12-17 05:18:08
问题 I am learning how to create iOS and OSX frameworks. Let's take iOS for example, the following steps work for me so far: xcodebuild framework using -sdk iphonesimulator and Build action xcodebuild framework using -sdk iphoneos and Build action Use lipo tool to create universal binary so that lipo -info produces expected: Architectures in the fat file: Foo.framework/Foo are: i386 x86_64 armv7 arm64 The questions are: I read that my framework can be re-signed by developer who is using it: "Code

Using 3rd party framework (Alamofire) in my sub-project (CocoaTouch framework)

半城伤御伤魂 提交于 2019-12-14 02:26:38
问题 I am using XCode 8 + Swift 3. I created a fresh iOS project named " MyApp ". Then, I create a Cocoa touch framework project, named "MySubProject". (The idea is to have MyApp project accessing MySubProject code.) I added MySubProject into MyApp project, linked the MySubProject framework. In XCode project navigator it looks like this: MyApp > MySubProject.xcodeproj Everything works fine. Code in MyApp can access code in MySubProject . Now, I need to add Alamofire into MySubProject . I followed

iOS Dependency manager in Cocoa Touch Framework

久未见 提交于 2019-12-13 10:50:39
问题 I have been researching a while and with no success on how I can build a cocoa touch framework, add dependency manger for 3rd party libraries and finally add the framework in an app project. First, I would like to say that the framework I am planning to work with will be developed and tested while I write the app, it will be a git submodule of the main git project and. Ideally, The structure of my the whole project looks like that Finder: Project Is that a good way to work? Secondly, the main